Hey Pingineer, I moved this to a new topic as that one is getting confusing.
Ok, thank you.
Ok, so it sounds like you might have a bum motor chip. It’s unlikely that both motor chips are bad though. Can I ask a few quick questions:
- Can you describe what you’re doing with the “black and white line”? What voltage are you measuring?
I attached a voltmeter instead of the motor to that both lines. Then I started the python example “LEGO-Motor_Test.py” for the motor. I can measure a voltage depending on the motor speed (changed in the python code). Up to 8.6 volt at a speed of 255. The example changes the direction of the motor and by that the voltage is changing from plus to minus and back.
- What happens when you run one of our motor test examples? I assume in python?
See also above. The motor is not working on any port - I changed the code to program each port. I found out that the voltage is breaking down to 0 volt when the motor is attached.
- Just to confirm: your other sensors (like a touch sensor or something) are returning correct values?
Yes. The touch sensors are working fine. As well the encoders of the motors. I can see the value of the encoder variable counting when I turn the motor manually. That ensures me that the BrickPi is working. The other sensors I have to check but I think it will not give additional information on my motor problem.
- It sounds like you’ve run a few example programs and the motors are the only thing giving you trouble?
Right. But only the power output for the motors (see above). I tested that with three different LEGO motors and checked the motors with the mindstorms. The motors are ok but all of them do not work with the BrickPi. I used different power supplies (Battery and stabilized power source).