Professional Documents
Culture Documents
TKMIT,KARUVELIL
INTRODUCTION
Wireless solution for irrigation Automatically senses the temperature Analyze with ADC Sent SMS through GSM modem Turn on the motor using mobile phone Automatically turns off when temperature comes down
TKMIT,KARUVELIL
OBJECTIVE
Labor saving and water saving. Better wireless solution instead of conventional wired connections. User can turn on the motor from a remote place using the mobile phone.
TKMIT,KARUVELIL
BLOCK DIAGRAM
Temperature Sensor MAX 232
ATmega 128
Motor Driver
TKMIT,KARUVELIL
CIRCUIT DIAGRAM
TKMIT,KARUVELIL
TKMIT,KARUVELIL
CIRCUIT DESCRIPTION
1. TEMPERATURE SENSOR LM35 is the IC used here. Senses the temperature in the field. Calibrated directly in degree Celsius. Rated for full -55 Celsius to +150 Celsius Low cost due to wafer level trimming.
TKMIT,KARUVELIL
2. MICROCONTROLLER AtMEGA 128 is used here. Programming language : Embedded C Compiler : WinAVR High performance ,low power 8 bit microcontroller. Advanced RISC Architecture. Dual programmable serial USARTs. Master /slave SPI serial interface. Programmable Watchdog timer with on-chip oscillator.
TKMIT,KARUVELIL
3. GSM MODEM
Provides full functional capability to serial devices to send SMS and data over GSM network. Supports popular AT command set so that users can develop applications quickly.
4. MAX 232
Used to convert TTL/RS 232 and vice versa. Standard voltage range of RS 232 pin is -15 to +15 v.
TKMIT,KARUVELIL
TKMIT,KARUVELIL
10
Literature Survey. Studied the data sheet of AtMEGA 128. Studied about power supply. Studied different modules of AVR & ADC. Studied about the temperature sensor . Soldered the temperature sensor LM35 Done programs for port enabling and interfacing LM35 with AVR .
TKMIT,KARUVELIL
11
POWER SUPPLY
Required DC power is derived from the AC main using a transformer, rectifier, filter and voltage regulator The voltage is rectified using the bridge rectifier The ripples are removed by capacitive filtering. To provide a stable voltage voltage regulator is used
TKMIT,KARUVELIL
12
Algorithm
Step 1: Start Step 2: Initialize baud rate Step 3: Enable transmitter and receiver Step 4: Initialize ADC and select channel 0 Step 5: Enable ADC Step 6: Check whether ADC conversion is completed or not if completed go to step 6 Step 7: Store the value Step 8: Transmit to UART Step 9: Stop
TKMIT,KARUVELIL
13
TKMIT,KARUVELIL
14
CONCLUSION
The remote motor starter presented here is mainly aimed for helping the farming community. It provides a cost effective method for irrigation without any manual labor. Especially in agricultural country like India , we hope our project will be a very useful one.
TKMIT,KARUVELIL
15
REFERENCE
Atmel AVR microcontroller primer: programming and interfacing By Steven F. Barrett, Daniel J. Pac http://www.datasheetcatalog.com/ http://www.atmel.com/
TKMIT,KARUVELIL
16