0% found this document useful (0 votes)
172 views

Banwari Kamdar Dilip Choudhary Govind Patidar Mayank Gangrade Mr. Nitin Chouhan

The document describes a digital clock circuit that uses an AT89C51 microcontroller and four 7-segment displays to display the time. It contains a block diagram and circuit diagram. The clock updates the displays every second using timer interrupts from the microcontroller. The required components include an AT89C51, 7-segment displays, transistors, resistors, capacitors, and an oscillator. Digital clocks are commonly found in devices due to their small size and low cost. Advantages include lack of signal losses and lower costs compared to analog clocks.

Uploaded by

Mayank Gangrade
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
172 views

Banwari Kamdar Dilip Choudhary Govind Patidar Mayank Gangrade Mr. Nitin Chouhan

The document describes a digital clock circuit that uses an AT89C51 microcontroller and four 7-segment displays to display the time. It contains a block diagram and circuit diagram. The clock updates the displays every second using timer interrupts from the microcontroller. The required components include an AT89C51, 7-segment displays, transistors, resistors, capacitors, and an oscillator. Digital clocks are commonly found in devices due to their small size and low cost. Advantages include lack of signal losses and lower costs compared to analog clocks.

Uploaded by

Mayank Gangrade
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 15

Mr.

Nitin Chouhan

Banwari Kamdar Dilip Choudhary Govind Patidar Mayank Gangrade

Content

Introduction What is Digital Clock?? Block diagram Circuit diagram Description Required component Advantages Disadvantages References

Introduction

The circuit explained here displays time with two minutes digits and two seconds digits on four seven segment displays.The seven segment and switches are interfaced with 8051 microcontroller AT89C51.

What is Digital Clock???

A digital clock is a type of clock that displays the time digitally, as opposed to an analog clock, where the time is displayed by hands. Digital clocks are often associated with electronic drives, but the "digital" description refers only to the display, not to the drive mechanism. (Both analog and digital clocks can be driven either mechanically or electronically, but "clockwork" mechanisms with digital displays are rare.)

Block Diagram

Circuit Diagram

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 interrupt (Timer0) of AT89C51 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 second. The data pins (ah) 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).

The number on 4th segment (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 changes 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.

Required Components
AT89C51 Microcontroller Seven Segment Display NPN bi-polar junction transistor (Transistor BC547) Oscillator of 12MHz Resistor(10K & 330 ohm) Capacitor(4.7uF,25v) Supply of +5v

Utilization
Because

digital clocks can be very small and inexpensive devices that enhance the popularity of product designs, they are often incorporated into all kinds of devices such as cars, household clocks, radios, televisions,microwave ovens, standard ovens, computers and cell phones.

Advantages
No

signal losses due to DA and AD conversion. Geometry, clock and phase settings unnecessary, therefore simple to use. Lower costs as less electronic circuitry required.

Disadvantages
Low

availability of models with digital interfaces. graphic board with digital

Requires

output

Reference

http://www.engineersgarage.com/microcontrol

http://en.wikipedia.org/wiki/Digital_clock

Welcome to the Queries

You might also like