Pages: [1]   Go Down
Author Topic: LED Driver  (Read 739 times)
0 Members and 1 Guest are viewing this topic.
Australia
Offline Offline
Full Member
***
Karma: 6
Posts: 161
You dont have to touch powerlines for them to kill you, even looking at them for too long will make them angry.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

Just finishing up a project and I need to make a RGB backlight for a touchscreen. At the moment I have a single BlinkM MinM that is handling the colours fine, What I want to do is remove the LED off the MinM and use the data signals to light about 6 similar LEDs. I understand I will need some driver circuitry, Has anyone got any ideas that are compact in size? I have limited space. All LEDs will display the same color at the same time.
Logged

"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent di

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 436
Posts: 23649
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

According to the BlinkM MinM Schematic, you want pick off the High signals coming from the ATTiny, and then buffer those to drive other sets of RGB LEDs, that I assume you want to have spread out?
Can you get Common Anode LEDs instead? Will make things easier.

You could use something like a ULN2003, ULN2803.
Put out 5V and three lines from the driver chip to pull the individual cathodes low.
I don't think you'd even need to disassemble the source BlinkM, just carefully attach leads to the ATTiny pins going to the ULN2003, and distribute the leads out from there. Put the bank of 18 current limit resistor with the ULN2003, just fan out the +5 & RGB connections to the LEDs.
I'll draw up a quick schematic.


* RGB_LED_driver.jpg (57.98 KB, 960x720 - viewed 23 times.)

* BlinkM_MinM.jpg (34.39 KB, 960x720 - viewed 17 times.)
« Last Edit: February 19, 2011, 10:54:36 am by CrossRoads » Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Australia
Offline Offline
Full Member
***
Karma: 6
Posts: 161
You dont have to touch powerlines for them to kill you, even looking at them for too long will make them angry.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So you are saying that there will be enough current left to drive the IC without removing the first LED? Also, I forgot to check whether the LED's were common anode, http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&itemSeq=96680916&uq=634337435716300644 these were what i am proposing, they are common anode. Will this invert the intensity of the LEDs?
« Last Edit: February 19, 2011, 09:21:20 pm by fliggygeek » Logged

"Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent di

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 436
Posts: 23649
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, the driver chip needs ~ 1mA to turn on the output. AT Tiny45 IO pins are rated for 40mA, if the LEDs used have Vf of 2v then its outputing ~ 30mA now, 31 would be okay. If vf is higher, then it is outputting even less current and provides more margin for your added 1mA.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: