Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

4/6 digit multplexed clock

4/6 digit multplexed clock

2004-06-26 by Sal Brisindi

Hi All,
Did anyone here ever write code for a 4 or 6 multiplexed digit clock
using a AVR? The MM5314 4/6 digit clock ic is getting scarce and
expensive so I would think a AVR based one would be great. I do have
a bunch of AT90S2313's to play with.

Thanks,
Sal Brisindi
http://www.numitron.com

PS: I posted this same message in another group also.

Re: 4/6 digit multplexed clock

2004-06-28 by Stefan Wimmer

--- In AVR-Chat@yahoogroups.com, "Sal Brisindi" <tubeman59@y...> 
wrote:
> Hi All,
> Did anyone here ever write code for a 4 or 6 multiplexed digit clock
> using a AVR? The MM5314 4/6 digit clock ic is getting scarce and
> expensive so I would think a AVR based one would be great. I do have
> a bunch of AT90S2313's to play with.

Hello Sal,

I have some code in AVR-Asm that does the mux for some LED displays. 
It consists mostly of a timer interrupt routine that gets the display 
data from some memory cells ("variables") and puts it to the LEDs and 
of some table lookup routines to translate numbers and sometimes some 
symbols to the codes the ISR needs. I've used it in a number of 
different AVRs.

The method is no secret and I'm sure with some "Googling" you'd find 
several similar examples.

Combine this with some kind of RTC chip (or never switch off the AVR 
and use it for the task) and you have your MMxxxx subsitute...

Send me a PM if you want the code.

Greetings from Berlin, Germany
Stefan Wimmer

Re: [AVR-Chat] 4/6 digit multplexed clock

2004-06-30 by Reza

--- Sal Brisindi <tubeman59@yahoo.com> wrote:
> Hi All,
> Did anyone here ever write code for a 4 or 6
> multiplexed digit clock
> using a AVR? The MM5314 4/6 digit clock ic is
> getting scarce and
> expensive so I would think a AVR based one would be
> great. I do have
> a bunch of AT90S2313's to play with.
> 
> Thanks,
> Sal Brisindi
> http://www.numitron.com
> 
> PS: I posted this same message in another group
> also.
> 
> 
Hi,
I wrote a program long time ago with 8051 which drives
4 series of 4 7-Segments using a shared data bus and a
de-multiplexer to select each digit. but the only
thing which is important is using 12V for driving
digits and using common-anode types. the refresh speed
was about 64Hz and all done in 1ms timer tick service
routine.

but you can use a series of shift-registers and
directly connect them to digits and save pins and time
and ofcourse money.

reza



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.