[TriEmbed] Voltage & LEDs

Scott Hall scottghall1 at gmail.com
Thu May 15 17:48:37 CDT 2014


On 05/15/2014 04:57 PM, Grawburg wrote:
> I mentioned Monday that the infrared LED & phototransistor are not powered by the Raspberry Pi but from an external 3.3 VDC supply.  I'm using 220 ohm resistors on the emitter and 10k on the detector. If they were being powered directly from the Pi I'd use 470s on the emitter.
>
> I have two pair now, but could have 4 pair later, I think I will continue to use external power for them. Am I 
> correct in my thinking that under these circumstances 220 ohm resistors are sufficient for the emitters?

Ohm's Law to the rescue....

In general, red, green and yellow LEDs, 2.1 volts, 20mA; blue, white, violet and
"bright" LEDs, 3.2 volts, 25 or 30mA.

So to drive an LED from directly:

    3.3 volts - 2.1 volts = 1.2 volts across the resister.

    1.2 volts / .020 amps = 60 ohms full brightness.  (25 mW)

A 220 ohm resister gives you:

    1.2 volts / 220 ohms = 5.5mA, 7 mW or 25% power, ~= 25% brightness.

A 470 ohm resister from a R-Pi pin of 3.2 volts (drop from output pin) will give
you about 3% power & brightness.

-- 
Scott G. Hall
Raleigh, NC, USA
ScottGHall1 at GMail.Com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20140515/e3480e1b/attachment.htm>


More information about the TriEmbed mailing list