VIDEOS DOWNLOAD
- pdf videos (1)
- VIDEOS (8)
COOL PIX
Popular Posts
-
An electronic lock or digital lock is a device which has an electronic control assembly attached to it. They are provided ...
-
A digital clock is one that displays time digitally. The circuit explained here displays time with two ‘minutes’ digits and two ...
-
The weird science of invisibility has entered uncharted waters. By altering the sea floor in just the right way, it should be possible t...
-
Synopsis: Computer communication systems and especially the Internet are playing an important role in the daily life. Using...
-
Chapter 4 C/OS-II 4.1. Why we choose Micrium µC/OS-II • Written in ANSI C – Source code provided – Consisten...
-
CHAPTER 2 EMBEDDED SYSTEM An embedded system is a special-purpose computer system designed performs one or a few dedicated functions,...
-
Several devices collect data from sensors and need to send it to another unit, like a computer, for further processing. Data transfer/com...
-
The causes for the revolt of 1987 was can categorized under 1. Economic Causes 2. Political Causes 3. Social 4. Religion 5. Military and...
-
MicroC/OS-II Concepts Multitasking Multitasking is the process of scheduling and switching the CPU between several tasks; a single...
-
The big bang created a lot of matter—along with the same amount of antimatter, which wiped out everything and brought the universe to an ...
8051 Microcontroller Projects List
Labels: ECE, microcontroller, PROJECT
Simple Digital clock using 8051 microcontroller (AT89C51)
A digital clock is one that displays time digitally. 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. This circuit can be used in cars, houses, offices etc.
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 (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).
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
Labels: ECE, microcontroller, PROJECT
PROJECT TUTORIALS
Subscribe to:
Posts (Atom)