You are on page 1of 15

SIMPLE DIGITAL CLOCK

(Using Microcontroller ATMEL 89C51)


 Ourobjective is to made a one hour digital
clock using microcontroller ATMEL 89c51.
Circuit diagram :-
Atmel 89C51
•FEATURES OF MICROPROCESSER :-

•Compatible with MCS-51 Products

•4K Bytes of In-System Reprogrammable Flash


Memory

•Fully Static Operation: 0 Hz to 24 MHz

•Three-level Program Memory Lock

•128 x 8-bit Internal RAM 32

•Programmable I/O Lines

•Two 16-bit Timer/Counters

•Six Interrupt Sources Programmable Serial Channel

Low-power Idle and Power-down Modes 40-pin DIP


 Seven segment uses seven
LED’s to display digits from 0
to 9 and the eighth LED is used
for the dot.
Table below shows the hex values used to display the different digits.

DIGIT a b c d e f g HEX Value


0 0 0 0 0 0 0 1 0x40
1 1 0 0 1 1 1 1 0xF9
2 0 0 1 0 0 1 0 0x24
3 0 0 0 0 1 1 0 0x30
4 1 0 0 1 1 0 0 0x19
5 0 1 0 0 1 0 0 0x12
6 0 1 0 0 0 0 0 0x02
7 0 0 0 1 1 1 1 0xF8
8 0 0 0 0 0 0 0 0x00
9 0 0 0 1 1 0 0 0x10
BC547 is an NPN bipolar transistor , stands for
transfer of resistance ,is commonly used to
amplify current.

 A small current at its base controls a large current.


 Power supply is given at +vcc.

 Clock starts from 00:00 .

 It
is shown at seven-segment based on
multiplexing .

 Forrefresh seven segments timer interrupt is


used .

 Delay of exactly one second is provided.


 A breadboard (protoboard) is a construction base for
prototyping of electronics. The term is commonly used to
refer to solderless breadboard (plugboard).
 Because the solderless breadboard does not require
soldering, it is reusable. This makes it easy to use for
creating temporary prototypes and experimenting with
circuit design.
 prepare art work -
ETCHING SCRUB CLEANING

You might also like