Changes

Week 6 Lab

33 bytes added, 16:08, 5 May 2009
Controlling the speed AND direction of a motor
You will also need to run +12V, +5V and GND from the arduino to your breadboard. The two grounds (at the top and the bottom row of your breadboard) will still need to be tied together, as usual.
[[Image:12vpower_off_arduino.jpg|300px]] [[Image:12vpower_to_breadboard.jpg|300px]][[Image:Common_ground.jpg|300px]]
# Connect PWM output (pin 9) to Pin 1 on L293. This is the Enable (EN) input. PWM here will turn on/off the motordriver, accomplishing speed control.