| Author |
Message |
alienmeatsack

Joined: Mar 04, 2010 Posts: 137 Location: Oklahoma
|
Posted: Wed Apr 07, 2010 1:59 pm Post subject:
Driving segmented LEDs? |
 |
|
I've recently acquired a few LEDs like these:
I want to use these on some bends for displaying letters/numbers, statically. Dynamic is a whole other ball of wax and would require a chip to handle it I'm sure.
Each digit is 7 segments, then the 3 dots are their own item. If you aren't familiar with how these work, there are 2 pins that drive each segment. You power the appropriate segments by connecting +/- to the right pins to form letters and numbers. For the unit I have, as an example... you put + to pin 1, - to pin 2, and it lights up the top left segment, etc.
In my case, for example, I'd like to spell out something like APC or whatever. And do so efficiently.
Currently, minus using a display driver IC, the only way I know how is to just wire up the segments as if they were a handful of LEDs in series and power them. They are pretty low power, but still, a standard letter could be up to 7 segments lit, aka 7 LEDs all at once. I was thinking if I did them in series and then added a resistor to keep their power use low, it might work. But I'm concerned it will use more battery than it's worth.
In the example of using the letters APC... I'd need to apply power to 1+2, 1+3, 1+6, 1+7, 1+10 and 1+11... That forms the A like thus:
I've not actually breadboarded up this to check the power usage, yet.
Is there some more efficient method for this? A trick or something one of you knows to do this better? _________________ My Circuit Bending Site (Coming Soon)
My Circuit Bending Blog |
|
|
Back to top
|
|
 |
jksuperstar

Joined: Aug 20, 2004 Posts: 2462 Location: Denver
Audio files: 1
G2 patch files: 18
|
Posted: Thu Apr 08, 2010 1:26 pm Post subject:
|
 |
|
| Aside from cranking up the resistance (thus also dimming the LEDs), the only other thing I know, which some chip solutions provide, is using strobes to pulse each LED. Like PWM synthesis, this activates each LED for only a very short period of time, cyclically. The LED remains lit for more time after the pulse is gone, and your eyes fill in the rest. Thus, you use a very small amount of power, and the pulse width directly effects the brightness of the LED (this works for two reasons: A. the LED is only on, with current flowing, for say 10-25% of the time; and B. The inrush current of an LED is typically less than the current that would have been used the other 75% of the time). |
|
|
Back to top
|
|
 |
alienmeatsack

Joined: Mar 04, 2010 Posts: 137 Location: Oklahoma
|
Posted: Thu Apr 08, 2010 2:09 pm Post subject:
|
 |
|
Interesting on the pulse idea. I'd bet you could get the pulse to just the right frequency so it used the least power and the LEDs still appeared to be lit constantly...
Cool idea... I will have to look at how I can achieve it with the least amount of parts/space used! _________________ My Circuit Bending Site (Coming Soon)
My Circuit Bending Blog |
|
|
Back to top
|
|
 |
Danno Gee Ray
Joined: Sep 25, 2005 Posts: 1332 Location: Telford, PA USA
|
|
|
Back to top
|
|
 |
Sam_Zen

Joined: Mar 08, 2008 Posts: 251 Location: NL
|
Posted: Thu Apr 08, 2010 8:34 pm Post subject:
|
 |
|
| Quote: | | there are 2 pins that drive each segment. |
This is not entirely correct. There's one pin that's a common one for all segments.
Whether it's a common V+ or V- depends on the component type.
A LED can be driven by a wide range of voltage, even AC, as long as a proper resistor is used.
A rough rule : voltage x 100 = resistance. _________________ 0.618033988 |
|
|
Back to top
|
|
 |
electri-fire
Joined: Jul 26, 2006 Posts: 534 Location: breda nl
Audio files: 4
G2 patch files: 4
|
Posted: Fri Apr 09, 2010 4:45 am Post subject:
|
 |
|
[quote="Sam_Zen"] | Quote: | A LED can be driven by a wide range of voltage, even AC, as long as a proper resistor is used.
A rough rule : voltage x 100 = resistance. |
Hey, that's a useful and easy rule of thumb, thanks.
I've been thinking, when puttting LED's in series the current flowing through the first LED is the same that flows through the subsequent LED's. Intuition tells me it shouldn't use more power than a single LED.
Currents through LED's in parallel add up, so this would use more power. |
|
|
Back to top
|
|
 |
Sam_Zen

Joined: Mar 08, 2008 Posts: 251 Location: NL
|
Posted: Fri Apr 09, 2010 7:20 pm Post subject:
|
 |
|
You're right, I suppose. LED's have a voltage drop of 0.7 volt like any diode, so it represents a certain resistance.
So I guess LED's in series take the same power, but each one will be less bright than a single one.
2 LED's in parallel means half the resistance, so will use more power. _________________ 0.618033988 |
|
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 19623 Location: The Netherlands, Enschede
Audio files: 116
G2 patch files: 317
|
Posted: Fri Apr 09, 2010 8:06 pm Post subject:
|
 |
|
Voltage drop over an LED is about 2.2V, depending on color, but for an LED not depending too much on the current flowing through it. Which also means that the resistance of an LED gets lower when more current flows through it.
Power is voltage times current ... double current or voltage and power will double if the other is kept constant.
Re. LEDs in series, total LED power will double when two LEDs are put in series if using the same current as for the single LED, meaning the series resistor has to be lowered, also meaning less power is dissipated in that resistor and also that the power supplied by the supply does not change.
Re. LEDs in parallel ... LED power will double too, if using the same voltage over the LEDs, meaning that the resistor has to be lowered, also meaning less power is dissipated in that resistor and also that the power supplied by the supply does not change. _________________ Jan |
|
|
Back to top
|
|
 |
Sam_Zen

Joined: Mar 08, 2008 Posts: 251 Location: NL
|
Posted: Sat Apr 10, 2010 8:07 pm Post subject:
|
 |
|
Thanks for the correction. _________________ 0.618033988 |
|
|
Back to top
|
|
 |
alienmeatsack

Joined: Mar 04, 2010 Posts: 137 Location: Oklahoma
|
|
|
Back to top
|
|
 |
electri-fire
Joined: Jul 26, 2006 Posts: 534 Location: breda nl
Audio files: 4
G2 patch files: 4
|
Posted: Fri Jul 02, 2010 9:15 am Post subject:
|
 |
|
I realise now, the parallel/serial discussion in this thread is irrelevant, as these LED displays have a common pin (anode or kathode depending on type), so these LEDs are parallel. There's no way to make them serial.
edit: then I read back and see that's more or less what Sam_Zen wrote Fri Apr 09, 2010 3:34 am.
(electri-fire apologises for all the blah he posted, but realises we all go through learning curves) |
|
|
Back to top
|
|
 |
|