CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Driving 7 segment LED

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

Driving 7 segment LED
PostPosted: Sun Aug 27, 2006 11:48 pm     Reply with quote

Greetings fellow blood-shot-eyed readers.... Wink

I am making a 7-segment LED display, driving multiple displays. I will be multiplexing them and was wondering if anybody has experimented with the durration of driving each segment before moving on to drive the next segment. I don't want the displays to appear to be flashing so I will ask what frequency, or length of 'ON' time, I should drive each segment.

Thanks,
Ronald
_________________________________________________
At my age... sometimes I stop to think and forget to start again.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Aug 28, 2006 11:27 am     Reply with quote

Search the forum for the keyword: flicker
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Mon Aug 28, 2006 12:22 pm     Reply with quote

I've read in a few different places that the human eye has a LP response out to about 10 Hz. That said, I once hooked up a LED to a signal generator just to see where the flashing seemed to stop for me. The flashing seemed to disappear around 20 Hz. If you shoot for about 25 Hz, you should be okay. 30 Hz is the frame rate for TV, and movies are 24 frames/sec.

At 25 Hz, that's 40 ms between refreshes. The hard part is driving the LEDs hard enough so that they seem bright.
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Mon Aug 28, 2006 12:40 pm     Reply with quote

Hi Ronald,

Regularly the most common LED displays do not specify its Luminous efficiency
(unless you are using a special type of some know brand) so to get the right brightness
without flickering is a matter of error and trial test.
Unfortunately I do not know an easy trick to give you the exact info you are waiting
for, but I can give you some tips to consider:

1) Driving a LED at frequencies below 30 Hz, it will appear to flicker, so this is one
of your low limit.

2) The human eye bright perception is more efective when a LED is driven with a
high current peak at low duty factor than at low current (10 time less)
with a 10X times duty factor.

3) The bad news is that driving a LED with such a high current peak, will get it significantly
more hot, and LEDs have more light output at lower temperatures.

4) The human visual system is non-linear . With the right choice of duty factor,
driving current and pulse rate, perception will correspond more to the peak
brightness than to the average brightness. This is your high limit.

regards,

Humberto
bscogg



Joined: 11 May 2005
Posts: 3
Location: Austin, TX

View user's profile Send private message

PostPosted: Mon Aug 28, 2006 1:19 pm     Reply with quote

I know cost is always a factor, but we just used the MAX6956 chip in a similar application. It drives 28 segments from an I2C bus at 16 different intensity levels for about 2 bucks. I think there is a basic driver in the code section.

Brad
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group