sbcshop / MotorShield

Designed to help you get your Raspberry Pi based Robot. This board can control DC motor as well as the stepper motor. You can connect your IR and Ultrasonic sensors to tell your robot about its environment. You can easily make your Line Following, Object following, Wall following, Maze-Solver Robots.
https://shop.sb-components.co.uk/products/motorshield-for-raspberry-pi
53 stars 47 forks source link

Motors 1 and 2 not running #7

Closed AdamSchilperoort closed 6 years ago

AdamSchilperoort commented 6 years ago

I've followed tutorial after tutorial to run a robot using a motor-shield and these dependencies. When I run any of these test files, only Motor 3 and 4 trigger. Any ideas?

ankurSB commented 6 years ago

Have you tried Test_Motor.py ? Or if you have multimeter, measure voltage level at Motor Connector M1 and M2

acondra2 commented 6 years ago

I am having the same issue. My input voltage is 19v, motor 1 port output voltage is 2.25v. It's like it is still trying to draw its power from the pi instead of the attached power supply.

sbcshop commented 6 years ago

Hi acondra,

This might be due to some hardware problem. Or may be Motor Driver IC is not working properly.

ProudRoach commented 5 years ago

My motor1 will run my 6v motor in reverse but not forward. I'm using the test_motor.py Is there a chance that something could be broken so it won't run my motor forward? Is the code not right for using a 12v battery with a 6v motor? I also have something between the shield and my motor that makes it run from 12 to 6V

sbcshop commented 5 years ago

Hi ProudRoach,

Please test your MotorShield GUI with the code. You may follow https://github.com/sbcshop/MotorShield/blob/master/MotorUI.py for the GUI code and https://github.com/sbcshop/MotorShield/blob/master/Motor_Shield_GUI_DOC.docx for the reference documentation.

In case this doesn't resolve your issue, please get in touch at our support: support@sb-components.co.uk