brock

Friday, December 31, 2010

Home Automation with GSM



The system is implemented with ATMEL microcontroller based hardware unit. In current industry there exists lot of variants of 8 bit microcontrollers of MCS-51 family. We have chosen AT89S52microcontroller as the features include
-          8 Bit CPU for implementing the controller block
-          It has got 8 Kbytes of flash memory,  used  for storing the instructions 
-          It has got on chip UART module for communicating with GSM module using RS232 protocol.
-          It has got In system programming(ISP) feature
A 16X2 Liquid crystal character display(LCD) will be used for displaying the  data from the desired memory locations. The LCD is connected to PORT2 of the microcontroller.
A L293D voltage driver is interfaced to the microcontroller to drive the motor.


GSM is a digital mobile telephone system that is widely used because of its low power consumption and low cost feature. It is serially connected to the microcontroller via a line driver MAX232. GSM modem communicates using RS-232 protocol with the microcontroller. The RS-232 protocol is asynchronous serial communication protocol and works at the baud rate of 9600.

CODE