![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
now i know this query must have been posted a million times not only in this forum, but in all the other forums that have anything to do with electronics. here goes: HOW TO BUILD A DAMN DIGITAL CLOCk?!! why not be the first in history of the internet to answer it? yep! i have serched all the possible sites, no simple answer anywhere. this is my last hope. ok guys, pls answer. i am not an electronics student, but an IT student. So I hope you understand my problem. i know how to build a clock using a 555 timer with a counter. but it aint accurate enough, or so it seems. i don't need any fancy mechanism to set the time, alarm etc etc..., just a simple clock that runs on DC power. i repeat, 'DC'. it may start from 00:00 no problem. preferably a microcontroller without using a crystal ocsillator. or just tell me how to get a pulse for half a sec, so that it can be fed to a counter and 7 segment display and stuff. and don't forget to explain how it works, only the clock generator part, i'll manage the remaining counter and 7 seg display part. pls excuse me for a long post, but pls try to answer. | |
| |
| | #2 |
|
If you use a micro-controller, then that's all you need - no counters or anything else. If you check the MicroChip website there are old application notes for just such devices. It's really a VERY common simple project for a micro-controller. | |
| |
| | #3 |
|
hi, I just Googled for: LED digital clock circuits how many would you like. ![]() http://ourworld.compuserve.com/homep...den/dclock.htm http://www.hobbyprojects.com/C/Clock_Circuits.html
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 4th August 2008 at 01:21 PM. | |
| |
| | #4 | |
| Quote:
Mike | ||
| |
| | #5 |
|
If you're interested, I hope to post a single chip Charlieplexed Clock based on the experiment below in the Projects sub-forum this weekend. The first installment is just the Clock portion of the experiment below and the source is written using the free/lite version of BoostC. Features include; <> run and set modes (a display 'group' flashes at 2 Hz in set mode) <> switch debouce (press and release states) <> switch press beep feedback Subsequent installments will include the Calendar, Alarm, and (appliance) Timer functions using the same base hardware (PIC, six digit display, four switches, etc.) as I finish moving the code over from assembly language to C. Please note that the drawing is misleading in that the displays are wired in a Charlieplexed matrix even though the drawing suggests they're wired as a standard multiplexed matrix. I'm working on a new drawing. Regards, Mike Last edited by Mike, K8LH; 6th August 2008 at 12:55 PM. | |
| |
| | #6 | |
| Quote:
http://ghmicro.com/index.php/pic/25-...ockthermometer http://ghmicro.com/index.php/pic/15-...-lcd-interface http://ghmicro.com/index.php/project...2-simple-clock
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | #7 | |
| Quote:
). Auto-ISO has no place in electronic macros. Keep it under at or under 100. 50 or 80 is good.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | #8 |
| okay, so can you name one micro controller reliable & cheap enough to use?
| |
| |
| | #9 |
| | |
| |
| | #10 | |
| Quote:
http://www.electro-tech-online.com/a...v2-1-chip-.png is that the one thats misleading?? finally, looks like a simple enough clock to build, eagerly awaiting a reply.. | ||
| |
| | #11 |
| Any PIC with enough pins, the number of which depends on how you actually construct it.
| |
| |
| | #12 | |
| Quote:
A clock is a clock, is a clock, is a clock (grin). They all work the same. I'll attach working BoostC code if you want to take a peek at the program but I still have to add repeat capability for the up and down arrow keys. Again, I hope to post a better schematic and final code for a plain vanilla Clock in the Projects forum this coming weekend. Regards, Mike Last edited by Mike, K8LH; 5th August 2008 at 10:58 PM. | ||
| |
| | #13 |
|
I forgot to tell you that I tried running the clock off of the internal 8 MHz oscillator yesterday afternoon. The internal oscillator drifts up and down a bit with temperature so I wasn't too surprised to see the time drift by tens of seconds per hour. The crystal and caps' are definately worth the extra $1 (usd) in parts. Mike Last edited by Mike, K8LH; 5th August 2008 at 11:49 AM. | |
| |
| | #14 | |
| Quote:
Mike | ||
| |
| | #15 | |
| Quote:
| ||
| |
|
| Tags |
| clock, digital |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Digital Clock help | Tom McCurdy | General Electronics Chat | 3 | 14th July 2005 03:48 AM |
| digital clock | agung | General Electronics Chat | 3 | 26th May 2005 01:47 PM |
| digital clock | yukanti | General Electronics Chat | 1 | 2nd February 2005 01:24 PM |
| digital clock again! | satellite5005 | General Electronics Chat | 2 | 17th April 2004 04:45 AM |
| digital clock | dumbguy1 | Micro Controllers | 7 | 10th December 2003 10:05 PM |