You are on page 1of 6

AN INTERNET BASED INTERACTIVE EMBEDDED DATA ACQUISITION SYSTEM FOR HOME APPLIANCES

N.Aiswarya(11102003) Final Year, ECE P.Angammal(11102006) Final Year,ECE DR . SIVANTHI ADITANAR COLLEGE OF ENGINEERING , THIRUCHENDUR

Email id:aiswarya2020@yahoo.com,petchiangammal@gmail.com

INTRODUCTION:
This project an internet-based interactive embedded data-acquisition system for home applications adds a lively meaning to the word automated, where the human work is replaced by automated devices (like fridge, TV etc.,). When these devices encounter any problem the product consumer has to find time in his busy schedule and report to the service engineer. The main aspect of our project is to make these automated devices intelligent and more effective with a low operational cost. Our project presents a solution in detecting and reporting the encountered problem in the device to the respective engineer without the consumer actually getting involved in it.

Here, the devices interact with internet, get an apt service engineer to work on it (if any breakdown), and thus make the home much as smart as a human being.

METHODOLOGY
The home appliances (e.g. fan, light etc.,) are connected to the microcontroller through a relay where switching action takes place between the devices such that the voltage readings are simultaneously read from all the devices. The data obtained at the microcontroller is loaded onto the home PC through RF module and is uploaded onto the web server through internet. The database which contains the entire information regarding the appliances, the address from where the voltage readings are received, the entire information regarding the service provider (skills, location, status etc.,) is created on the web server and the voltage readings received from the appliances are stored in the database. When there is a problem in an appliance, a proper service provider who

AIM OF THE PROJECT


The main aim of our project is to make the automated devices intelligent such they directly report to the service engineer if there is any fluctuation in functioning of the appliance, thus reducing the burden to the user of directly consulting a service engineer and explaining him the problem in his busy schedule.

can work on that particular appliance is selected and is provided with the complete information about the appliance, the voltage fluctuations in it and the home address of that appliance.Simultaneously, through GSM a message is sent to user as, to whom the appliance is scheduled to and also the service provider gets a message onto his mobile saying that he has a new schedule.

SIGNIFICANCE WORK

OF

THE

The significance of our project is to make the automated appliances intelligent such that they upload the voltage readings onto the server and when there is any fluctuation (break down) it is directly reported to the service provider without disturbing the user in his busy schedule. The only job of the user is to open the door on the arrival of service provider. The major application of our project is controlling and monitoring the home appliances thus making home a SMARTHOME.

BLOCK DIAGRAM OF THE PROJECT

In the present world all the devices are automated. When these appliances encounter any problem, they directly report to the concerned service engineer without the consumer actually getting involved in it. Here all the devices are connected to the microcontroller through the stepdown transformers and analog-to-digital converter. The step-down transformer reduces the voltage and, this analog voltage is converted to digital voltage by the ADC0804. These parameters are read and are uploaded onto the server through the communication module. The information loaded onto the server is sent to the concerned service provider according to the database given by the consumer through internet.

The concerned engineer gets to know where and what the problem is about and starts working on it. Simultaneously the consumer also gets the information regarding the problem encountered in his device and to which service station the device has reported.

Hardware components
8051 Microcontroller Step Down Transformer Relay Analog-to-Digital Converter RF module GSM module

Software Tools
Keil software Java Flash Software

chip flash allows the program memory to be reprogrammed in-system or by a conventional non-volatile memory programmer. By combining a versatile 8-bit CPU with flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer, which provides a highly flexible and cost effective solution to many embedded control applications. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The idle mode stops the CPU while allowing the RAM, timer/counter, serial port, and interrupt system to continue functioning. The power down mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.

MICROCONTROLLER
The AT89C51 is a low-power, highperformance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and Erasable Read Only Memory (PEROM). The device is manufactured using Atmels high-density non-volatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-

TIMERS
The 8051 comes equipped with two timers, both of which may be controlled, set, read, and configured individually. The 8051 timers have three general functions: 1) Keeping time and/or calculating the amount of time between events 2) Counting the events themselves, or 3) Generating baud rates for the serial port

SERIAL COMMUNICATION
One of the 8051s many powerful features is its integrated UART, otherwise known as a serial port. The fact that the 8051 has an integrated serial port means that you may very easily read and write values to the serial port. If it were not for the integrated serial port, writing a byte to a serial line would be a rather tedious process requiring turning on and off one of the I/O lines in rapid succession to properly "clock out" each individual bit, including start bits, stop bits, and parity bits. However, we do not have to do this. Instead, we simply need to configure the serial ports operation mode and baud rate. Once configured, all we have to do is write to an SFR to write a value to the serial port or read the same SFR to read a value from the serial port. The 8051 will automatically let us know when it has finished sending the character we wrote and will also let us know whenever it has received a byte so that we can process it. We do not have to worry about transmission at the bit level which saves us quite a bit of coding and processing time.

baud rate we will be using, and how the baud rate will be determined. First, lets present the "Serial Control" (SCON) SFR.

Writing into a serial port:


Once the Serial Port has been properly configured as explained above, the serial port is ready to be used to send data and receive data. If you thought that configuring the serial port was simple, using the serial port will be a breeze. To write a byte to the serial port one must simply write the value to the SBUF (99h) SFR. For example, if you wanted to send the letter "A" to the serial port, it could be accomplished as easily as: MOV SBUF,#A

Reading the serial port:


Reading data received by the serial port is equally easy. To read a byte from the serial port one just needs to read the value stored in the SBUF (99h) SFR after the 8051 has automatically set the RI flag in SCON. For example, if your program wants to wait for a character to be received andsubsequently read it into the Accumulator, the following code segment may be used: JNB RI,$ ;Wait for the 8051 to set the RI flagMOV A,SBUF ;Read the character from the serial port

SETTING THE SERIAL PORT MODE


The first thing we must do when using the 8051s integrated serial port is, obviously, configure it. This lets us tell the 8051 how many data bits we want, the

LIQUID CRYSTAL DISPLAY


A liquid crystal display (LCD) is a thin, flat electronic visual display that uses the light modulating properties of liquid crystals (LCs). LCs does not emit light directly. LCDs therefore need a light source and are classified as "passive" displays.LCD is a screen whose circuitry can cause the individual pixels to be transparent or opaque. Because of low power dissipation, high readability, flexibility for programmers LCD modules are becoming popular.

SCHEMATIC DESCRIPTION

regulator. The power from the mains is given as the input to the step-down transformer which reduces the high voltage to a low voltage. The output of the transformer is given to a mic (bridge rectifier) which rectifies the voltage. A capacitor is connected in between bridge rectifier and regulator to eliminate the ac ripples present in the rectifier output. The regulator converts the ac component to dc component which is a 5V output and maintains a constant voltage. This 5V supply is given to the 40tpin of the microcontroller. The appliances are connected to the relays through the ac female plugs. The output of the relay is given to the mic which acts as a bridge rectifier. A regulator is connected to get a constant dc voltage and a capacitor is connected in between the mic and the regulator to eliminate the ac ripples. The output of the regulator is 5V which is analog but the microcontroller can take only the digital value so, these values have to be converted into digital and this is done by the adc0804. The adc0804 control pins are given to port 3 pins and data pins are given to port 0 of the microcontroller. A potentiometer is connected in between the regulator and adc0804 for adjusting the voltage change, as the adc can work only up to 5V, thereby we can get the change in voltages from the appliances.

The power supply consists of a stepdown transformer, mic, capacitor and

The max232 circuit is connected to convert the CMOS logic to TTL logic and the Tx and Rx pins of the max232 are given to the P3.0 (Tx) and P3.1 (Rx) pins of the microcontroller. The 13thand 14th pins of max232 are connected to DB9 connector where the RF transmitter is connected. The LCD is used to display the output of the adc. Data pins of LCD are connected to port 2 pins and control pins are connected to the P1.0, P1.1, P1.2 pins of microcontroller. \ The readings from the microcontroller are sent to the home PC through the RF module. The data is tabulated and corresponding graphs are generated in the home PC and are uploaded onto the server through internet. A GSM module connected at the server side sends a message to the service provider according to the database given when there are any voltage fluctuations, and simultaneously the user also gets the message as to whom the appliance is scheduled to.

CONCLUSION
In our application, a low-cost, Internet-based data acquisition and control system has been designed and implemented. The application possibilities are virtually unlimited by attaching modules with appropriate interfaces, although the usage of the system is demonstrated with only a few sample devices

You might also like