|
Digital Clock
Description:This project is a clock that
displays the time and date on seven segment led displays. Two buttons
are used to set the time and date. The program takes care of changing
the date and keeping track of leap years. I recommend all displays are
purchased at the same time otherwise a difference in brightness may
occur. The downloads below
contain project documentation, circuit diagram, 'C' program and Hex
code. The Hex code can be used to program the PIC without a compiler.
The 'C' Program contains time compensation which corrects for
differences in crystals etc. This should be used as you can change the
value to match your project. My clock is now very accurate!
List of Parts:
|
Description |
Quantity |
Maplin Stock Code |
|
Vero
Strip Board |
2 pc
100mm x 60mm |
JP49D |
|
PIC16F84A |
1 |
VS87U |
|
Dual Red
LED Displays |
5 |
WL27E |
|
4028 4-10
Decoder |
1 |
QX17T |
|
BC337 |
10 |
QB68Y |
|
3.2768MHz
Crystal |
1 |
FY86T |
|
10pf
Capacitors |
2 |
RA33L |
|
100nf
Capacitor |
1 |
RA49D |
|
1K0
Resistor |
6 |
M1K |
|
100R
Resistor |
1 |
M100R |
|
22K
Resistor |
1 |
M22K |
|
PCB
Switch |
2 |
KR88V |
|
18Pin DIL
Socket |
1 |
HQ76H |
|
16Pin DIL
Socket |
1 |
BL19V |
|
Infra-Red
Box 112x62x27 |
1 |
N70AL |
Download:
Project Documentation (442KB)
Circuit Diagram (49KB)
Program & HEX File (5KB)
You will need to register (once
only) for the code to unlock the program file
My projects are provided free for
non-commercial use and are provided "as is" without warranty of any
kind. I have taken every care to make sure the information presented is
accurate and where code is reused to credit the original author. Please
send me your comments or inform me of inaccuracies by clicking
here. If you like any of my
projects please consider making a
donation.
|