×

TheRaspberryPiGuy's video: OLD:Raspberry Pi - How to control motors

@OLD:Raspberry Pi - How to control motors...
UPDATE! This video is now old! There is a new improved method of motor control that is not only easier, but more efficient. Watch my new tutorial here: http://youtu.be/JJXzlCK4vnY WARNING! ERROR! There is a slight error in this video! Do not connect any of your Pi's pins to ENA... Simply use a jumper to bridge the two male ENA pins. Watch the video and you'll see the comment which explains this. Here is the correct configuration: http://www.theraspberrypiguy.com/wp-content/uploads/2014/08/rsz_dsc03386.jpg NOTE! I have reuploaded this video for reference's sake as I have had 100s of requests for it to be made public again. I would like to stress that the new method (linked above) is miles better than the one demonstrated in this video! In this tutorial I show you how to control a motor with your Raspberry Pi. By the end of this tutorial you will be able to control the direction of the motor, you will understand the basic principles of how that motor works and you will be able to decipher a simple Python program. Personally I think that controlling motors is one of the coolest things that you can do with the Pi and I truly hope that you enjoy this tutorial! Sorry for the long delay in between videos! Information: Buy a motor similar to my one from here: http://www.ebay.co.uk/itm/Arduino-Smart-Car-Robot-DC-3V-6V-Drive-Gear-Motor-with-tire-/161071687657?pt=UK_BOI_Electrical_Components_Supplies_ET&hash=item25809ee7e9 Buy a battery pack similar to my one from here: http://www.ebay.co.uk/itm/1-2-3-4-6-8-x-AA-AAA-23A-9V-Battery-Holder-Snap-On-Connector-Enclosed-Box-Switch-/180814661762?pt=UK_BOI_Electrical_Components_Supplies_ET&var=&hash=item2a1964c882 Buy an L298N from this link here: http://www.ebay.co.uk/itm/L298N-Dual-H-Bridge-Stepper-Motor-Driver-Controller-Board-Module-Arduino-Ra-Pi-/130968976501?pt=UK_BOI_Industrial_Automation_Control_ET&hash=item1e7e5bfc75 Wires are easily available on eBay as well! Thanks for watching and please subscribe, like and comment! Happy Piing! The Raspberry Pi Guy Y U NO SUBSCRIBE?!

2.9K

239
TheRaspberryPiGuy
Subscribers
65.8K
Total Post
73
Total Views
4.9M
Avg. Views
97.9K
View Profile
This video was published on 2013-09-09 02:36:45 GMT by @TheRaspberryPiGuy on Youtube. TheRaspberryPiGuy has total 65.8K subscribers on Youtube and has a total of 73 video.This video has received 2.9K Likes which are higher than the average likes that TheRaspberryPiGuy gets . @TheRaspberryPiGuy receives an average views of 97.9K per video on Youtube.This video has received 239 comments which are higher than the average comments that TheRaspberryPiGuy gets . Overall the views for this video was lower than the average for the profile.

Other post by @TheRaspberryPiGuy