You are on page 1of 9

COMPONENTS REQUIRED

y y y y y y y

ATMEL AT89C51 MICROCONTROLLER LM358 OP-AMP LM020L SINGLE LINE LCD DISPLAY IC7805 VOLTAGE REGULATOR +9V BATTERY RESISTORS (CARBON FILM) CAPACITORS

OP-AMP AND SENSING CIRCUIT

Figure 1.Showing sensors(LED & LDR) connected to LM358 op-amp

OPERATION AMPLIFIER (LM 358)

Figure 2.internal architecture of LM358

The LM358 series consists of two independent, high gain ,internally frequency compensated operational amplifiers which were designed specifically to operate from a single power supply over a wide range of voltages. Features  Large dc voltage gain: 100 dB .  Wide bandwidth (unity gain): 1 MHz(temperature compensated) .  Very low supply current drain (500 A)essentially independent of supply voltage .  Low input offset voltage: 2 mV .

LIQUID CRYSTAL DISPLAY (LCD)


A liquid crystal display (LCD) is an electro-optical amplitude modulator realized as a thin, flat display device made up of any number of color or monochrome pixels arrayed In front of a light source or reflector. Each pixel of an LCD typically consists of a layer of molecules aligned between two transparent electrodes, and two polarizing filters, the axes of transmission of which are (in most of the cases) perpendicular to each other. With no liquid crystal between the polarizing filters, light passing through the first filter would be blocked by the second (crossed) polarizer. The LCD used here is LM020 single line display. It requires +5v power supply.

PIN CONFIGURATIONS OF AT89C51 MICROCONTROLLER

 8051 family members (e.g., 8751, 89C51, 89C52, DS89C4x0) come in different packages, such as DIP (dual in-line package), QFP (quad flat package), and LLC (leadless chip carrier).  All have 40 pins that are dedicated to various functions such as I/O, RD, WR, address, data, and interrupts.  Some companies provide a 20-pin version of the 8051 with a reduced number of I/O ports for less demanding applications.

Figure 3.Pin configuration of AT89C51


5

DATA SHEET OF LDR

DATA SHEET OF THE RED LED

BLOCK DIAGRAM OF MEASURING DEVICE

Figure 3. Showing block diagram of final circuit

MICROCONTROLLER AND LCD INTERFACED CIRCUIT

Figure 4.microcontroller and LCD interfaced circuit

10

You might also like