Re: Adding 60 LEDs to digital clock to mimic second hand
- From: Largo <largo@xxxxxxxxxxxxxx>
- Date: Sun, 25 Jun 2006 05:23:23 GMT
On 24 Jun 2006 21:44:32 -0700, "Glenn Gundlach" <stratus46@xxxxxxxxx>
wrote:
Largo wrote:
For digital clock, I have a 3 to 8 decoder driving six common anode,display
7-segment displays via PNP transistors. In a common scenario,
segments are strobed from 8 bits of the microchip pins. I have 220format
Ohm resistors in series with each segment. Clock displays time
in "hh:mm:ss" where the minutes increment for each count "00 to 59".position,
I want to add 60 LEDs for mimicing a second hand moving around the
circle of a clock face. LEDs must be off at the 12 O-Clock
then illuminiate one LED, two LED, etc. for each second all aroundthe
face each minute.while
Aside from 60 LEDs, I thought adding or modifying the above circuit
with darlington transistors--it's base driven from the 8 bit port.
Plus connecting individual segments to the darlington collector
figuring which LED's cathode to connect, illuminate and remain litin
sequence for each cycle of the simulated minute.analog
Do I need to reprogram my PIC for this? Or is there some extra
decoder chips or whatnot I could use to create the desired LED
effect?
Largo
I'm not sure what precisely you're attrempting. As I read it, you have
an operating 6 digit clock and you want to add a circle of 60 LEDs for
seconds.
will the seonds 7 segment still be running?Yes.
Do you want 1 LED lit at a time?Yes
In paragraph 2 you say no LEDs for 0 then ..... which
implies to me more than 1 LED lit meaning a sequential illuminating
ring. Is that it?
Yes. I wish create an all-LED digital clock with an analog sweep
seconds display and central 7-segment-digits display. The desired
effect and appearance to a broadcast universal clock like Leitch model
UDC-5212.
Basically you need 60 LED drives decoded from theWhich shift register chip do you suggest?
seconds counter. You suggested 2 4017 Johnson counters but you still
need to gate together the 20 outputs for the 60 LEDs. Pubudu suggested
shift registers which would need a 1 second clock pulse, data input and
reset/clear. With this you could do 1 LED/second or an advancing ring
if you like that better by setting or clearing the data input before
shifting. I vote for the shift registers
Or what about MAX7219? I'll have to reprogram my PIC and use three
spare pins. Or would spare pins from a CPLD do it?
Thank you.
Largo
.
GG
- Follow-Ups:
- References:
- Adding 60 LEDs to digital clock to mimic second hand
- From: Largo
- Re: Adding 60 LEDs to digital clock to mimic second hand
- From: Glenn Gundlach
- Adding 60 LEDs to digital clock to mimic second hand
- Prev by Date: Re: Charge NiMH battery while still in circuit
- Next by Date: Re: 4001 as Schmitt
- Previous by thread: Re: Adding 60 LEDs to digital clock to mimic second hand
- Next by thread: Re: Adding 60 LEDs to digital clock to mimic second hand
- Index(es):
Relevant Pages
|