Changes

Jump to: navigation, search

Week 6 Lab

272 bytes added, 15:49, 5 May 2009
no edit summary
# 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.
# Make two simple Active High digital input switches, and hook them up to Pins 1A and 2A. Pressing 1A will spin it one way, pressing 2A will spin it the other way, and both at once will do a "Fast Stop". This is described in the logic table to the rightabove. [[Image:D_in.png]][[Image:D_in.png]]
== Moving a solenoid ==
WHY: With forceful linear motion, you can lock/unlock doors, pull strings, move arms (levers), push keys, punch buttons, tap foreheads. What Would You Do?
 
Use the same high-current load driver circuit (with TIP120) from earlier labs. The diagram below, substituting the Solenoid for the lamp in the diagram below. Also, you will need to hook up external power, +12V instead of +5V to drive the solenoid.
 
[[Image:Lamp_fader.png]]
== Moving a Servo ==

Navigation menu