You are on page 1of 4


This project works as a digital clock wherein a user can also set alarm. Additionally, it also works as a digital thermometer to specify the ambient temperature. Both, the clock and temperature are displayed on a 16x2 LCD screen using the 8051 microcontroller (AT89C51). AT89C51 is an eight bit controller which belongs to the 8051 family of microcontrollers.

This project incorporates the functionality of a digital clock and a digital thermometer. The digital clock works in 12 hour mode and is configured by programming the 8051 microcontroller (AT89C51). The program uses a delay function for producing a delay of 1 second. The clock and alarm times can be set through a set of external tactile switches. The digital thermometer employs a temperature sensor LM35. The sensor responds to the temperature change by giving varying output. These analog signals of LM35 are converted to digital equivalent by ADC0804. The reference voltage (Vref) should be set properly corresponding to the desired temperature change. The data bits are taken as input by the microcontroller at port P0. The microcontroller AT89C51 also gives control signals to ADC0804.

Circuit Diagram .

.. ATMEL 89C51 has 4KB of Flash programmable and erasable read only memory (. LM35 Temperature Sensor LM35 is a precision IC temperature sensor with its output proportional to the temperature (in o C). temperature can be measured more accurately th. The resistance is varied by adjusting the rotary control over it.. AT89C51 Microcontroller AT89C51 is an 8-bit microcontroller and belongs to Atmel's 8051 family.. The generation of pressure variation or strain by the application of electric potential across a • piezoelectric material is the underlying... The sensor circuitry is sealed and therefore it is not subjected to oxidation and other processes. • Piezo Buzzer The piezo buzzer produces sound based on reverse of the piezoelectric effect.Components Preset A preset is a three legged electronic component which can be made to offer varying resistance in a circuit.. With LM35.. • . The adjustment can be done by using a small screw driver • or.

force etc. pressure. These modules are preferred over seven segments. These digital signals are used for further processing by the digital processors.. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits.LCD LCD (Liquid Crystal Display) screen is an electronic display module and find a wide range of applications.. • . Various sensors like temperature. convert the physical characteristics into electrical signals that are analog in nature.... • ADC0804 Analog to digital converters find huge application as an intermediate device to convert the signals from analog to digital form.