Microprocessor and Interfacing Techniques Project Proposal

fiercebunElectronics - Devices

Nov 2, 2013 (3 years and 10 months ago)

83 views

Microprocessor and Interfacing Techniques Project

Proposal

Digital clock using 8051 microcontroller (AT89S51)



Submitted to:




Engr. Kashif


Submitted by:




Muhammad Haris (10
-
TE
-
115)







Abdul Majeed (10
-
TE
-
27)




Waseem Raza (10
-
TE
-
13)



Irfan Khan(10
-
TE
-
15)








Waleed (10
-
TE
-
117)


Date of Submission:








30
th

April, 2013



Department of Telecommunication Engineering, UET Taxila

Digital clock using 8051 microcontroller (AT89S51)


Circuit Dia
gram:





Description:

As soon as the Vcc supply is provided to this

circuit, the clock starts from 00:00. The
time is displayed on four seven

segments (in common anode configuration) by using
the concept of multiplexing.

This is achieved by using timer i
nterrupt (Timer0) of
AT89S51 which is

configured to refresh seven segments. The segments are refreshed
many times in

a second for simultaneous display. The clock runs with a delay of
exactly one

second. Timer1 has been used to produce a time delay of one s
econd. The
data

pins (a

h) of all the segments are interconnected and receive signal from port

P2 of the microcontroller. The control or enable pins (common anode) are connected

to pins 1
-
4 of port P1 (P1^0


P1^3).








Output:



The number on 4th segm
ent (displaying the unit

digit of second) is incremented once
in a second as it goes from 0 to 9. The

number on 3rd segment is incremented after
every 10 seconds from 0 to 5. Thus

seconds are displayed varying from 00 to 59. The
digit on the 2nd segment

ch
anges after every 60 seconds (a minute) from 0 to 9 and
so on. Thus the clock

runs for an hour and after that it resets to zero again.