Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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
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.
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.
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 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