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!
All of the code and information is in this forum post here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=55288
Thanks for watching and please subscribe, like and comment!
Happy Piing!
The Raspberry Pi Guy
Y U NO SUBSCRIBE?!
Duration : 0:18:13
Leave a Reply
You must be logged in to post a comment.