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 ...
-
MicroC/OS-II Concepts Multitasking Multitasking is the process of scheduling and switching the CPU between several tasks; a single...
-
A digital clock is one that displays time digitally. The circuit explained here displays time with two ‘minutes’ digits and two ...
-
Several devices collect data from sensors and need to send it to another unit, like a computer, for further processing. Data transfer/com...
-
Electronic code lock with user defined password using 8051 microcontroller (AT89C51) How to interface 16x2 LCD with 8051 microcontroller ...
-
Kernel The kernel is the part of multitasking system responsible for the management of the tasks (i.e.., for managing the CPU’s time) a...
-
CHAPTER 3 REAL TIME OPERATING SYSTEM 3.1. Real-Time System • Definition: A real-time system (defined by IEEE) is a syst...
-
CHAPTER 7 SOFTWARE SECTION 7.1. Keil IDE Software Keil IDE is a windows operating system (os) software program that run...
-
Keil interfacing programs for 8051 508 Sample Programs in Keil for 8051 741 Introduction to Micro vision Keil (IDE) 838 Simple Program...
-
Multitasking Multitasking is the process of scheduling and switching the CPU between several tasks; a single CPU switches its attentio...
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)