IR LED driver interface suggestions.

Technical discussions around xCORE processors (e.g. General Purpose (L/G), xCORE-USB, xCORE-Analog, xCORE-XA).
Matt
Active Member
Posts: 50
Joined: Sat Feb 13, 2010 12:04 pm

IR LED driver interface suggestions.

Postby Matt » Mon Mar 29, 2010 6:10 am

Hi Guys,

I would like some suggestions for a led drive ic or circuit. Basically a buffer that is short tolerant and able to drive a led with 25ma current. Preferably not open collector output as I would like the ability to also do simple RS232 from the same port if possible.

Thanks in Advance

Matt
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Postby leon_heller » Mon Mar 29, 2010 1:28 pm

I've used a simple constant current source like the one here:

http://en.wikipedia.org/wiki/Current_source

in the past. I simulated it in SPICE, and it works quite well: changing the load from 1R to 5R changed the current from 0.045429007A to 0.045409291A, which is negligible. It will protect against a short; the current with a 0.001R load is 0.045433927A.

Here is the SPICE circuit:

Image

You will need to design it for 25 mA, of course; I just set the input at 1.0V for the simulation. I'd use a simple voltage divider rather than a zener to set the base voltage, for your application.
User avatar
Berni
Respected Member
Posts: 363
Joined: Thu Dec 10, 2009 10:17 pm

Postby Berni » Mon Mar 29, 2010 2:03 pm

But usually you dont need a constant current source for your LEDs, cause your supply is most likely regulated and you are not driving like 5W power LEDs. So just use 1 resistor and 1 transistor to do it.

And as far as i know a MAX232 takes a open collector signal no problem.
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Postby leon_heller » Mon Mar 29, 2010 2:28 pm

Or, use a 74HC04 as a buffer. You get four of them in the same package.
User avatar
Berni
Respected Member
Posts: 363
Joined: Thu Dec 10, 2009 10:17 pm

Postby Berni » Mon Mar 29, 2010 2:44 pm

True, those are very popular. You can also add a cap to pulse the LED. IR LEDs can take up to 1A peak. Good TV remotes discharge a small cap in to the LED to reach such peaks for very short times. It increases the range drastically.
User avatar
otitov
XCore Addict
Posts: 207
Joined: Thu Dec 10, 2009 11:00 pm
Location: Mexico

Postby otitov » Sat Jun 12, 2010 11:13 pm

take a look at TV-B-Gone at ladyada's site: http://www.ladyada.net/make/tvbgone/design.html

Who is online

Users browsing this forum: No registered users and 2 guests