Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 15

SIMPLE DIGITAL CLOCK (Using Microcontroller ATMEL 89C51)

Our

objective 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 LEDs 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
1 2 3 4 5 6 7 8 9

0
1 0 0 1 0 0 0 0 0

0
0 0 0 0 1 1 0 0 0

0
0 1 0 0 0 0 0 0 0

0
1 0 0 1 0 0 1 0 1

0
1 0 1 1 1 0 1 0 1

0
1 1 1 0 0 0 1 0 0

1
1 0 0 0 0 0 1 0 0

0x40
0xF9 0x24 0x30 0x19 0x12 0x02 0xF8 0x00 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
Clock It

supply is given at +vcc.


starts from 00:00 .

is shown at seven-segment based on multiplexing .

For

refresh seven segments timer interrupt is used . of exactly one second is provided.

Delay

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