You are on page 1of 6

CIRCUIT DIAGRAM:-

EXPLANATION:The IR sensor is used as gesture sensor , the IR transmitter continuously emits the rays and it is received by the IR receiver. When the received signal is cut or placed the hand before the sensor it will give analog output which is given to the ADC and will convert the analog voltage level into digital voltage level. The digital output from the ADC will be input to the microcontroller and depending upon the value the microcontroller will move the cursor in the cpu. Microcontroller is interfaced with the CPU through max232 IC. For ADC operation input is given to INO. When the SOC pin is high it will convert the analog signal into digital. For ADC operation we give clock to the input pin no 10 . For start the ADC conversion SOC pin is connected with ALE. For output we should enable output enable pin OE. For check the end of conversion we should check the pin EOC. When EOC is low the conversion is finished. We will read the output from the ADC data lines. We cannot connect CPU directly with the controller hence use of MAX232 is required. MAX232 contains four capacitors which are used for voltage doublers. For max232 input is 5v it will convert into 10v. It contains two transmitter pins and receiver pins. It transmits and receives data serially. Out of the 4 ports port of the microcontroller port P0 is used for acquiring digital input from ADC, and three pins P2.4,P2.5,P2.6 of port P2 is used for addressing the input channel for ADC. Two pins P2.3 and P2.7 are used for EOC and ALE,SOC control signals for ADC respectively. Pins P3.1 and P3.0 are used as transmitter and receiver pins of the microcontroller and connected with the max232 IC. The clock signal to the microcontroller is supplied by a 3.579 MHz crystal oscillator.

BLOCK DIAGRAM OF ADC 0809:-

PIN DIAGRAM OFADC0809:

BLOCK DIAGRAM OF ATMEL 89C51 MICROCONTROLLER:-

PIN DIAGRAM OF ATMEL 89C51:-

PIN DIAGRAM OF MAX 232:-

You might also like