5,710
edits
Changes
→Controlling the speed AND direction of a motor
WHY: Because you can control both speed and direction of a motor at once... everything you need for forward/backward motion.
L293 quadruple half H-Bridge:
[[Image:Bidirectional_control]]
http://focus.ti.com/lit/ds/symlink/l293.pdf
Use the processing-controlled Dimmer example (PWM) for speed, press buttons for direction.
[[Image:Arduino_serialtest.png|200px]]
Cautions: powering off of external power supply (12V instead of USB power 5V).
== Moving a solenoid ==