Jon Williams Assist regarding past post
bobsmith
Posts: 36
Probably not -- what you may want to do is some sort of buffer/driver like the ULN2003/ULN2803.· The attached schematic shows one line connection.· The 330 resistor is based on putting about 20 mA through the LEDs.· At 1.5 volts each, there is 6 volts across the resistor.· 6 / 0.020 = 300, 330 is the closest "standard" value; this results in 18 mA through the LEDs.· The resistor should be 1/4 watt (0.018 x 6 = 0.108 x 2 = 0.216, hence 1/4 w).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
<!-- Edit -->
Post Edited (Jon Williams) : 1/3/2005 5:37:01 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
<!-- Edit -->
Post Edited (Jon Williams) : 1/3/2005 5:37:01 AM GMT
Comments
http://www.parallax.com/detail.asp?product_id=500-00005
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
You might consider a read through "What's A Microcontroller?"·· It's a great way to get started and will help you with the whole hook-up thing (in general).· Once you have that sorted, it's a matter of determining what you want the lights to do when on.· Here's just one example (I've supplied BS2 code but this could easily work in a BS1 as well).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA