I need help designing a timing circuit.
The circuit should not use a PIC, and an IC is preferable.
The circuit needs to countdown from 180 minutes to zero.
Intended use:
A start button to begin counting
A red Led lit while counting
At the end of the 180 minutes the red Led should go off, green led on
Hit a reset to turn all leds off
Circuit sits idle until start pressed again.
I also need the "countdown" displayed on 3 seven segment leds.
Any help appreciated!
Thanks,
Justin
Just out of curiosity to see if it could be done with an 8-pin PIC
and what amounts to homebrewed SPI, I excavated a PICkit1 Flash
Starter Kit that's been waiting to be tried for some months now,
put it up under Win98SE, and did a design study, the results of
which are attached.
The design uses a 12F675 as system controller and three octal DFF
chips connected as a shift register to interface to the three LED
displays and two discrete LEDs; I won't have time to debug the
software on the target hardware until at least the weekend, but I
thought you might like to see the initial study to at least get a
feel for the possibilities.
If you would like to play with the code, all you need is that starter
kit, which can be had from either Microchip or Digi-Key for $35 plus
shipping: it has all the hardware and software needed to compile the
code and program it into a 12F675 (supplied) using nothing but a USB
connection to a WinDoze box.
The "study" part of it was as much of the formatting and documentation
of the source code as of the algorithmic and implementation details.
The source code is meant to be completely self-contained and self-
explanatory; I would be most grateful for any opinions as to how well
the document succeeds in attaining this objective.
Finally, continuing with an observation others have made: you can
get a "digital kitchen timer" which does most of what you want for
about $15 off the Web; I imagine that its guts could be used as a
"component" to which your own peripherals could be interfaced,
leaving little more than mechanical design to be done.
COTS, anyone?