galaxyrider
Posts: 33
Joined: Sat Dec 26, 2015 2:36 pm

Electric motor project

Sun Feb 21, 2016 9:00 pm

Hello. I'm new to physical computing and am using this Adeept starter kit. This project is to run a motor. The 4 buttons control the direction and speed of the motor. The LED shows that the motor is on. I can't get the motor to run though. The program is showing that the buttons are working. I know I'm new to circuits etc. but shouldn't there be another live wire here as well as the one to the LED?
Attachments
13_motor.jpg
13_motor.jpg (55.07 KiB) Viewed 1014 times

drgeoff
Posts: 11239
Joined: Wed Jan 25, 2012 6:39 pm

Re: Electric motor project

Sun Feb 21, 2016 10:14 pm

Quis custodiet ipsos custodes?

galaxyrider
Posts: 33
Joined: Sat Dec 26, 2015 2:36 pm

Re: Electric motor project

Mon Feb 22, 2016 6:15 am

Hello. Thanks for that. I've just checked and the lines are uninterrupted on my breadboard.

Forris
Raspberry Pi Certified Educator
Raspberry Pi Certified Educator
Posts: 319
Joined: Fri Jan 06, 2012 7:46 pm

Re: Electric motor project

Mon Feb 22, 2016 6:29 am

Your first hunch was correct.You have no power source connected to the L9110 (and hence to the motor). You've put a connection in to the VCC pins of the IC but not connected it to anything. The Pi alone does not have enough power to drive the motor, and there's a chance you'll trash the GPIO pins in the process. Also, don't forget that you need to connect the GND of the IC, Pi, and power source together.

Good luck.

User avatar
rpdom
Posts: 17721
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Electric motor project

Mon Feb 22, 2016 6:32 am

The motor needs a power source. That should be connected to the left end of the breadboard where the red wire and the curved blue wire go to on the third rows of holes. It'll probably be a battery pack, or some mains power adaptor with the correct volts for the motor.

galaxyrider
Posts: 33
Joined: Sat Dec 26, 2015 2:36 pm

Re: Electric motor project

Mon Feb 22, 2016 8:26 am

Thanks. There is a breadboard power supply board in the kit but no instructions on how to use it. I'll have to email Adeept for them.

Return to “Beginners”