Yahoo Groups archive

AVR-Chat

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

Message

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

Attachments

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.