electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Live streaming at radio.electro-music.com

  host / artist show at your time
<on air> bingsatellites Mostly Ambient
Please visit the chat
 Forum index » DIY Hardware and Software » Circuit Bending
Driving segmented LEDs?
Post new topic   Reply to topic Moderators: dnny, v-un-v
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
alienmeatsack



Joined: Mar 04, 2010
Posts: 137
Location: Oklahoma

PostPosted: Wed Apr 07, 2010 1:59 pm    Post subject: Driving segmented LEDs? Reply with quote  Mark this post and the followings unread

I've recently acquired a few LEDs like these:
Posted Image, might have been reduced in size. Click Image to view fullscreen.

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:

Posted Image, might have been reduced in size. Click Image to view fullscreen.

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
View user's profile Send private message Visit poster's website
jksuperstar



Joined: Aug 20, 2004
Posts: 2462
Location: Denver
Audio files: 1
G2 patch files: 18

PostPosted: Thu Apr 08, 2010 1:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
alienmeatsack



Joined: Mar 04, 2010
Posts: 137
Location: Oklahoma

PostPosted: Thu Apr 08, 2010 2:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Danno Gee Ray



Joined: Sep 25, 2005
Posts: 1332
Location: Telford, PA USA

PostPosted: Thu Apr 08, 2010 3:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here are some things to look at.

http://www.romanblack.com/led_none.htm

http://www.allaboutcircuits.com/vol_6/chpt_7/9.html

http://www.melabs.com/resources/articles/ledart.htm


cd4511b.pdf
 Description:

Download
 Filename:  cd4511b.pdf
 Filesize:  655.72 KB
 Downloaded:  68 Time(s)

Back to top
View user's profile Send private message
Sam_Zen



Joined: Mar 08, 2008
Posts: 251
Location: NL

PostPosted: Thu Apr 08, 2010 8:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
electri-fire



Joined: Jul 26, 2006
Posts: 534
Location: breda nl
Audio files: 4
G2 patch files: 4

PostPosted: Fri Apr 09, 2010 4:45 am    Post subject: Reply with quote  Mark this post and the followings unread

[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
View user's profile Send private message
Sam_Zen



Joined: Mar 08, 2008
Posts: 251
Location: NL

PostPosted: Fri Apr 09, 2010 7:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 19623
Location: The Netherlands, Enschede
Audio files: 116
G2 patch files: 317

PostPosted: Fri Apr 09, 2010 8:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Sam_Zen



Joined: Mar 08, 2008
Posts: 251
Location: NL

PostPosted: Sat Apr 10, 2010 8:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the correction.
_________________
0.618033988
Back to top
View user's profile Send private message Visit poster's website
alienmeatsack



Joined: Mar 04, 2010
Posts: 137
Location: Oklahoma

PostPosted: Sun Apr 11, 2010 8:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Good info everyone. Thanks! I will take notes and all that and see what I can figure out!
_________________
My Circuit Bending Site (Coming Soon)
My Circuit Bending Blog
Back to top
View user's profile Send private message Visit poster's website
electri-fire



Joined: Jul 26, 2006
Posts: 534
Location: breda nl
Audio files: 4
G2 patch files: 4

PostPosted: Fri Jul 02, 2010 9:15 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: dnny, v-un-v
Page 1 of 1 [11 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Circuit Bending
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
mps board

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use