Yes, after I posted that attachment I realized it was wrong. The correct value for the resistors should be between 100 and 330 ohms depending on the brightness that you want. I'm sorry for the confusion.
Robert
Yes, after I posted that attachment I realized it was wrong. The correct value for the resistors should be between 100 and 330 ohms depending on the brightness that you want. I'm sorry for the confusion.
Robert
"No one is completely worthless. They can always serve as a bad example."
Anonymous
I am using this technique with 6K8 resistors on 3.1V/1500mcd LEDs.
Vdd is 5.0V.
I am using one pin to simulate TX and RX transmission with two LEDs inside Hserin and Hserout routines.
The light level is more than good enough for the purpose.
I am %100 satisfied with the result.
__________________________
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
here was the setup:
5Vdc->R1->2.2vF LED->1.9vF LED->R2->GND
R1=R2
first tried 240 ohm, Great brightness for each, pretty bright with no input
next up 1K, simular results just dimmer
last 4.7K, No real output for off, bright enough to see with input, but not really enough for an indicator in this app.
So my opinion is everybody in this thread is correct in some respect.
I feel like the best solution is to use a 3.3V supply. that way there is NO way to light both, and each can be nice and bright. Now, question for the masses: can we use a voltage divider to get this 3.3 from 5? This seems to me to be the least costly answer. Just 2 resistors and off we go. Hang a resistor inline with the signal pin and life is good. My perticular application will have 6 sets of LED's so if 1 from each set were on at once, could be 120mA.droping 1.7 volts, that would be 1.7*.12=.2W. That part doesn't seem too bad. Of course they could be strobed so there would never be more than 1 on at a time, then it would be 1.7*.02=.034W
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
And run the whole thing? Nope.can we use a voltage divider to get this 3.3 from 5?
Using 5 volts with 470 resistors the thing I posted works fine.
Dave
Always wear safety glasses while programming.
Dave thank you! I actually intended to hook it up this way, but somewhere between yesterday and today I got myself turned around. I even drew it up this way in my schmatic. double DOH! So 470 both sides, makes sense to me!
Prolly the only size sips I didn't order.
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
I want to get a better idea of how these LED circuits will work.
So let's take a look at how the DOH! circuit will perform ...
<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="820" HEIGHT="620" ><PARAM NAME="MOVIE" VALUE="http://www.pbpgroup.com\files\2LED\LED-470.swf"><PARAM NAME="PLAY" VALUE="true"><PARAM NAME="LOOP" VALUE="true"><PARAM NAME="QUALITY" VALUE="high"><EMBED SRC="http://www.pbpgroup.com\files\2LED\LED-470.swf" WIDTH="820" HEIGHT="620" PLAY="true" LOOP="true" WMODE="opaque" QUALITY="high" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
It's more significant since you will be using 3 sets of 2-LEDs.
DT
cncmachineguy, The only problem with this circuit arrangement is there will always be current flowing in the circuit even if the LED's are supposedly off...
Dave Purola,
N8NTA
Bookmarks