Rpi Motor Driver assuming L298 TB6612
Physical Computing with Python Using motors
Motors are great for physical computing: they allow you to turn a wheel forwards and backwards, or make something spin around.
A motor can’t be controlled directly from the Raspberry Pi’s GPIO pins, because it needs a variable supply of 5 volts. This means you need to power it separately. However, motor controller add-on boards can be used to provide this functionality.
In this guide, you’ll be controlling two motors from your Raspberry Pi using Python on the desktop. First, it’s best just to learn how to control the motor. Then, once you have it working, you could easily use your code to drive a Raspberry Pi-powered robot by detaching the monitor, mouse, and keyboard and building a robot around a chassis.
RFID RaspberryPi-B1 v1.3
Categories: DC Motor