Hello, we have a problem with motors on our BrickPi.
We are working with LEGO - Motor Test.c and we have the next problem:
Shows this text "BrickPiSetup=0"
"BrickPiSetupSensors=-1"
And the motors dont move. We tried to apply more voltage ( 12v max) and it still doesnt work. We followed all the steps to program it and we dont know what can be the fail. We tried on C and Python.
We used the command “i2cdetect -y 1”
We add you this image to see that. This dont recognize the motors.
Ok, sounds like you’re not communicating with the BrickPi at all. The LED’s run on GPIO’s, so they’re not involved in communication between the BrickPi and the RPi.
Let’s try this: if you go into BrickPi.py and remove the first “#” from line 48 “# DEBUG = 1 # Remove to hide errors” to look like "DEBUG = 1 # Remove to hide errors "
First of all thank you for your help. We swapped our BrickPi for other BrickPi and this works. We compared these Brickpi, and we saw a extra capacitor in the last BrickPi (the BrickPi that doesnt work). Have we to power supply in other mode? Or we have to use the same steps?
Ok, I noted a few things in the pictures and from what you said. The “Left” BrickPi is a BrickPi Basic Power, and the “right” BrickPi is a BrickPi Advanced power.
So none of the BrickPi Basic Powers work, is that correct?
First, you’re using 9V batteries. Do you have a 9V DC source in your lab? Or do you have a 6XAA battery pack you could try?
If you have to use the 9V battery, can you measure the voltage? Is it above 7V?
Sorry, my english is really bad. The BrickPi advanced power (the one who have extra components) is the one doesnt work. Other three BrickPi we have work excellent at the moment.
Yes, we have a 9V DC source in our lab, and we tried with it too. We read here we can put it on 12V max, and we tried a bit more than 9V (~10-11V).
We tried all options and still doesnt work. Include source 9V. We think is a communicate problem, because the other 3 BrickPi( without the advanced power) works really well.
We did the “DEBUG=1” test, and this is the result:
Running Forward
BrickPiRx Error: -2
BrickPiRx Error: -2
BrickPiRx Error: -2
Retry Failed
BrickPiRx Error: -2
BrickPiRx Error: -2
BrickPiRx Error: -2
…