1 / 17

ECE101 Section 5 “Gadget Lab” Lecture 2: Light and Motion

ECE101 Section 5 “Gadget Lab” Lecture 2: Light and Motion. Dr. Cindy Harnett ECE Dept. Tiny, multicolor surface mount light-emitting diodes (LEDs) at http://www.instructables.com/id/Microdot---wrist-watch-LED-pattern-timepiece/.

kemp
Download Presentation

ECE101 Section 5 “Gadget Lab” Lecture 2: Light and Motion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ECE101 Section 5“Gadget Lab” Lecture 2: Light and Motion Dr. Cindy Harnett ECE Dept.

  2. Tiny, multicolor surface mount light-emitting diodes (LEDs) at http://www.instructables.com/id/Microdot---wrist-watch-LED-pattern-timepiece/ Ordinary LEDs are light-sensitive as well as light-emitting! They can be used as proximity sensors that detect reflected light. http://cs.nyu.edu/~jhan/ledtouch/ledtouch.mpg Multicolor 3-D LEDCube http://www.lomont.org/Projects/LEDCube/LEDCube.php Kits available at http://www.hypnocube.com Light as a circuit output Semiconductor LEDs most common light source Typical: 1.5-3V voltage, 20 mA current. Other options: incandescent lamps, electroluminescent lamps, laser diodes, organic LEDs, vacuum fluorescent displays, backlit LCD panels, cold cathode fluorescent lamps, plasma and more

  3. Light as a circuit output: More examples • TV-B-Gone: invisible infrared LEDs combined with a microcontroller to communicate with most TVs • Persistence-of-Vision devices create a large display from a line of LEDs • Firefly project/ • Electroluminescent Lamp project let you experiment with light http://www.instructables.com/id/Ultra-TV-B-Gone/ http://www.instructables.com/id/SpokePOV%3a-LED-Bike-Wheel-Images/

  4. Motion DC Motors: most common motion source Even tiny “pager motors” require 100 mA. Typically 1-12V. Other options: solenoids, combustion motors, steam engines, “muscle wire,” electroactive polymers, thermal expansion actuators, piezoelectric actuators, capacitively driven micromotors, hydraulic actuators using air or liquid pumps, and more Tiny DC motors vibrate cell-phones and pagers, and focus digital cameras A hard drive motor plus timing circuit drives a “persistence of vision” clock “Stepper” motors offer precise control over rotor angle for robotics and other applications

  5. LED/Motor Safety • LEDs can be “painfully bright.” Laser diodes amplify the light to “blinding” levels. • Don’t stare into ultraviolet LEDs • Use a current-limiting resistor (CLR) with LEDs to avoid smoke. • Motors: watch out for fingers. Usually not a problem w/tiny motors. More of a problem when gears are involved • When motors stall, things can heat up. Remember GES101 wire motors. • When large motor coils turn on suddenly, there can be a voltage spike that can damage circuits. Use a protection diode or “snubber” capacitor to protect the circuit (more later)

  6. LED Polarity and Construction LEDs have a flat side AND a short leg at the cathode (negative terminal) Inside the LED is a tiny semiconductor chip that emits light. You can see two small wires connected to the chip. The domed plastic housing focuses the light into a 20-30 degree cone (typical)

  7. LED Varieties 3mm, 5mm standard sizes Surface Mount sizes Integrated Resistor type Bicolor/Tricolor LEDs Bicolor/Tricolor Flashing, Synchronized LEDs Superbright LEDs 1A, 200 lumens (Luxeon) Vs 20 mA, 0.005 lumens for ordinary LED

  8. LED Current and Intensity depend on voltage Red 5, Ultra Red 4, HE Red 6, Orange 7, Bright Red 3, HE Green 9, Yellow 8, Pure Blue C Note sudden turn on at a particular forward voltage for each type of LED. For most LEDs, brightness is proportional to current, up until some point.

  9. LED Current-Limiting Resistor Calculation Normal LEDs use ~20 mA current (0.02 A) Datasheets give “diode forward voltage” which depends on color. Typically: • IR 1.5 V • red 2.0 • Orange 2.0 • Yellow 2.1 • Green 2.2 • true green 3.3 • blue 3.3 • white 3.3 • UV 3.3 • blue (430 nm) 4.6 • Example: (6V-2.2V)/0.02A = 190 ohms; next “standard”value is 220 • Resistor value = (Vbattery-Vforward)/0.02 A • Good online calculator at http://led.linear1.org/1led.wiz • Or just start w/ large resistor (1K) and reduce value if it’s dim.

  10. Build Green LED Circuit, then add a capacitor 6V 6V Battery Battery 220 ohm 220 ohm 0V 0V 47 uF- 1 F capacitor 220 R + Battery + + - - Cap Green LED - Different capacitors adjust fade-off speed Watch capacitor polarity (Stripe is on - side)

  11. Motors Magnet Energy Density • Strong, compact rare earth magnets have helped miniaturize motors. • NdFeB magnets discovered in 1983. Electric motors haven’t changed much lately. Permanent magnets interact with pulsed electromagnetic coils to turn an axle.

  12. GES101 Motor had one coil http://www.instructables.com/id/Simple-Electric-Motor/

  13. A dissected motor with 3 coils See www.solarbotics.net for schematics Hard to put back together again (sometimes) Magnet wire looks bare but it has a very thin insulation. Housing Brushes Permanent magnets Electromagnets on axle: 3 wire coils, 3 pole pieces and 3 contacts

  14. Driving a Small DC Motor Motor Speed vs Voltage Tested three sample motors which produce a few thousand RPM at 1.5V. They whine loudly at 2V and higher voltages. But, we have a 6V battery. Try a voltage divider to generate 1.5 V to feed to the motor. What’s wrong with this circuit? Speed (RPM) Motor Type 1 Motor Type 2 Motor Type 3 0.2 0.5 0.75 1.0 1.25 1.5 2.0 Voltage 6V R + R - R 1.5V R Motor 0V

  15. Driving a Small DC Motor • What can we do to drive the motor at 1.5V from a 6V battery? The voltage divider didn’t work because the motor’s resistance is too small. It shorts out R2. • Design new voltage divider based on the motor’s resistance…but note that the resistance changes over a cycle. Probably not a good approach. • Use a 1.5 V battery (but often need 6V elsewhere in the circuit) • Use a 1.5 V voltage regulator - a specialized chip that takes 6v and outputs 1.5V -- this could work OK. • Use “pulse width modulation” -Drive the motor with a pulsed 6V signal that averages out to 1.5 V over time. A very common solution. • Use the voltage regulator with a “buffer chip” that does not pull down the output voltage (An op-amp or transistor). Try this.

  16. 6V R Motor Circuit + R NPNTransistor - R c b 1.5V 0.8V e R • Build voltage divider on breadboard • Vout=Vin(R2)/(R1+R2) • 1.5V=6V(0.25) R1 = 3R2 • Connect Vout to a transistor: PN2222. The transistor doesn’t draw much current at the center terminal, but it can control a large current. It puts 1.5-0.7V = 0.8V onto the motor. Motor 0V 4 identical resistors (100-1000 ohms) 6V battery pack Motor Transistor gets warm: could use heatsink or bigger transistor PN2222 NPN Transistor: note orientation of flat side

  17. Teardowns • VCR - Many mechanical parts, a few interesting electromagnetic parts (read/write/erase heads) • Solenoid door lock mechanism • Next time-electric toothbrush, computer parts • Have other teardowns for next time? (no TVs or computer monitors please)

More Related