PDA

View Full Version : 7 segments clock



the_apprentice
- 26th April 2006, 17:02
Hello everybody,

I need some help, i'm trying to build a 4 digits 7 segments clock using hc595 for my son, i woul like to know if somebody have a code sample for this work.

Thank you

I do have different microchip's.

paul borgmeier
- 27th April 2006, 04:11
Although not in one place, the information you seek is within.

For information on code for a picbasic clock (keeping accurate time), see

http://www.picbasic.co.uk/forum/showthread.php?t=2129

For a discussion on using the hc595 for number display, see

http://www.picbasic.co.uk/forum/showthread.php?threadid=981

If you are open to different display options, you could use a MAX7219 instead of the H595 to drive your display. See for example,

http://www.picbasic.co.uk/forum/showthread.php?t=2244&highlight=7219

You could buy a 4 digit LED display with drivers built in, see

http://www.picbasic.co.uk/forum/showthread.php?t=594

or a 4 Digit LCD display with the drivers built in, see

http://www.picbasic.co.uk/forum/showthread.php?t=1071

Also google search “hc595 clock picbasic” and “hc595 clock basic stamp” for other ideas.

Good Luck,

Paul Borgmeier
Salt Lake City, Utah
USA

mister_e
- 27th April 2006, 04:26
if it's only a simple clock, i don't know why you should need anything else than One pic and few transistor to do a multiplexed display.

something to play around of => http://www.picbasic.co.uk/forum/showthread.php?t=1044&highlight=frequency+counter

charudatt
- 27th April 2006, 07:01
Would there be a RTC in it ?.

I had made something using a RTC.

regards
Charudatt

4Lewis
- 27th April 2006, 16:21
Trying to make a clock that outputs to LEDs, (NOT TO A DISPLAY!) Are their any suggestions to how to start this type of project? Do I need a clock or timer circuit to hook up to my PIC to figure out proper timing. Please help/suggest. All the best. - Lewis

the_apprentice
- 27th April 2006, 18:45
Thank's to all for the answers.

I made a 4 digits display using 7 segmentes C.C., I'm trying to use a rtc, ds1302. In the future I will add a temperature sensor. I'm trying to learn how to write in pbasic, but it takes long time, is a long process. I'm playing with with differents components like 7 Seg, led's, sensors (light, distance, etc), i have also a lot of 5x7 and 8x8 dot matrix led that i would like to drive them.

thanks.