RTOS Based Home Automation System Using ATMEGA



Similar documents
RTOS based Home Automation System using Android

Artificially Intelligent Home Automation System Based on Arduino as the Master Controller

Intelligent Home Automation and Security System

ADVANCED FIRE ALARMING SYSTEM THROUGH MOBILE PHONE

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

Home Security System Using Gsm Modem

GSM Based Home Automation, Safety and Security System Using Android Mobile Phone

Plc Based Monitoring and Controlling System Using Wi-Fi Device

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

Sensors Based Security System and Controlling of any Devices by Android Apps using Arduino Platform

Research Article. ISSN (Print) *Corresponding author Nathan David

DS1307ZN. 64 x 8 Serial Real-Time Clock

A Surveillance Robot with Climbing Capabilities for Home Security

Development of an Internet based Embedded System for Smart House Controlling and Monitoring

ANDROID LEVERED DATA MONITORING ROBOT

MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY

Design and Development of Suraksha -A Women Safety Device

Design and Development of SMS Based Wireless Home Appliance Control and Security System

Design and implementation of modular home security system with short messaging system

Cell Phone Based Liquid Inventory Management Using Wireless System

Feasibility Study of Implementation of Cell Phone Controlled, Password Protected Door Locking System

ECA Based Home Automation System

Home Automation & Security System Using Arduino Android ADK

Smart Home Security System Based on Microcontroller Using Internet and Android Smartphone

Bluetooth Based Home Automation and Security System Using ARM9

Wireless Sensor Network for Electric Meter Handling

Designing Home Automation System (HAS) using Java ME for Mobile Phone

Design of Wireless Home automation and security system using PIC Microcontroller

DEVELOPMENT OF INDIVIDUAL HOME SECURITY SYSTEM USING CAN AND ZIGBEE PROTOCOL

FPGA Based Home Security System

Design and Development of SMS Based Wireless Home Appliance Control and Security System

Automated Profile Vehicle Using GSM Modem, GPS and Media Processor DM642

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

DESIGN OF SMS ENABLED CAR SECURITY SYSTEM

Smart Home System Using Android Application

Bluetooth to serial HC-06 wireless module

HOME APPLIANCES CONTROL SYSTEM BASED ON ANDROID SMARTPHONE

Android based Secured Vehicle Key Finder System

Display Message on Notice Board using GSM

Design and Implementation of a Reliable Wireless Real-Time Home Automation System Based on Arduino Uno Single-Board Microcontroller

Bluetooth HC-06 with serial port module Easy guide

Lab Experiment 1: The LPC 2148 Education Board

Microtronics technologies Mobile:

Android Controlled Based Interface

Wireless Home Security System

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

Surveillance System Using Wireless Sensor Networks

Nagpur, Maharashtra, India

Vehicle Tracking and Monitoring By ARM7

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

COPYRIGHT RESERVED TEAM MYSTERIOUS MANIACS HOME AUTOMATION via BLUETOOTH (Using ANDROID PLATFORM)

Overview. 1. GPS data tracking via GSM SMS / GPRS. 2. GPS data logging in internal memory. 3. Alarm alert via GSM SMS / Dialing / GPRS

Real Time Implementation of Home Automation Using FPGA

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Development of GSM and GPS based Cost Effective Telematics Module

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

The Internet of Things: Opportunities & Challenges

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Web Site: Forums: forums.parallax.com Sales: Technical:

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

Design of Online Embedded Web Server for Data Acquisition System # Author

S100. GSM House Alarm System.

Gsm Based Controlled Switching Circuit Between Supply Mains and Captive Power Plant

HIGH SECURED VEHICLE WITH INTERIOR VENTILATION CONTROL AND PERIMETER MONITORING SYSTEM

INTERNATIONAL JOURNAL OF ADVANCED RESEARCH IN ENGINEERING AND TECHNOLOGY (IJARET) BUS TRACKING AND TICKETING SYSTEM

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

FLEET MANAGEMENT & CAR SECURITY SYSTEM GPRS/GPS

Automated Security System using ZigBee

Current Loop Application Note 1495

Implementation of Wireless Gateway for Smart Home

Design and Development of a Wireless Remote POC Patient Monitoring System Using Zigbee

Data Transfer between Two USB Devices without using PC

Fig. 1 BAN Architecture III. ATMEL BOARD

Access Control Using Smartcard And Passcode

HOME AUTOMATION AND SECURITY SYSTEM

Quick Start Guide: Iridium GO! Advanced Portal

Computer Automation Techniques. Arthur Carroll

FLYPORT Wi-Fi G

INTELLIGENT HOME MONITORING AND WIRELESS CONTROL SYSTEM

DEVELOPMENT OF HOME SECURITY SYSTEM USING GSM MODULE

Integration of Arduino as a slave system to LonWorks based System using I2C Interface

VEHICLE MONITORING CONTROLLING AND TRACKING SYSTEM BY USING ANDROID APPLICATION

SHORT COMMUNICATION Vehicle Tracking and Theft Control Using GSM and GPS

Product Specification instalert Rapid Messenger Variable Message Sign

GSM Interfacing Board

KTA-223 Arduino Compatible Relay Controller

Accident Notification System by using Two Modems GSM and GPS

STEPPER MOTOR SPEED AND POSITION CONTROL

Two-way communication, keep checking the commnunication between the panel and accessories, make sure the system safer.

INSTRUCTION MANUAL All-In-One GSM Home Alarm System SB-SP7200-GSM

International Journal of Scientific & Engineering Research, Volume 5, Issue 5, May-2014 ISSN

Remote PLC system using GSM network with application to home security system

Intelligent Wireless Emergency Alert System for Patient Monitoring using AT89S52 Microcontroller

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

DESIGN OF SMART HOME SECURITY SURVEILLANCE SYSTEM USING GSM

International Journal of Engineering and Techniques - Volume 1 Issue 3, May - June 2015

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

Review of RFID & GSM Based Automatic Ration Distribution System

Transcription:

RTOS Based Home Automation System Using ATMEGA Aniket Yeole 1, Sapana Bramhankar 2, Arjun Gaikwad 3, Abhijeet Bansod 4, Atul Borade 5, 2, 3,4,5 Student, Dept. of E&Tc, Sandip Institute of Technology and Research Centre, Nashik, Maharashtra of India1 ABSTRACT:This paper represents the design and implementation of a low cost yet compact and secure RTOS based home automation system using ATMEGA. This design is based on the ATmega328 controller board where the sensors and electrical appliances are connected to the input/output ports of the board. In order to enhance the system performance to make it more dynamic, an open source RTOS has been integrated, which has a built-in power-sense circuit that detects power failures and automatically switches to the backup supply. Devices like light switches, power plugs, temperature sensors, have been integrated in the system to demonstrate the effectiveness and feasibility of the proposed smart home system. KEYWORDS: Android; ATMEGA328; Bluetooth I. INTRODUCTION Wireless technologies have become more popular around the world which gives consumers relive of the well-known cable chaos that tends to grow under their desk. The system operates on Bluetooth technology which operates over unlicensed, globally available frequency of 2.4GHz that can link digital devices within a range of 10m to 100m at the speed of up to 3Mbps depending on the Bluetooth device class. With this capability; we propose a home automation system based on Bluetooth technology. Automation implicates introducing a degree of automatic or computerized control to certain electronic and electrical systems. These include temperature, lighting, control on basis of Real time Operating System. Various intelligent appliances such as smart phone, home security devices like smoke detection, human presence; home theaters and many more are set to realize the concept of a smart home. All these appliances can be interconnected and monitored using a single micro-controller. This paper demonstrates an automation system inclusive of remote mobile host controller and several client modules.the client modules communicate with the host controller through a wireless device such as a Bluetooth operated smart phone. Although automation today is not a new thing but most advanced home automation systems in existence today require a big and expensive change of infrastructure. We have designed an automation system that can control appliances like TVs, Fan, Tube lights from an android smart phone using Bluetooth. In this a low cost secure smart phone based flexible automation system is introduced. The communication between the smart phone and the ATmega controller is done wirelessly. Additional devices with more features can be connected into the system with inclusive modifications. ATmega microcontroller controls the electronics devices like fans and lights etc. ATmega328 is an 8-bit microcontroller that supports wireless serial communication over Bluetooth. This board has 32 digital I/O ports. Different home or office appliances are connected to the digital output ports of the ATmega controller board via relays to provide sufficiently voltage compatibility and high currents. 25W, 240V lamps are used for test purposes. II. RELATED WORK Smart home is not a recent term for science society but still far more away from people s audition and vision. As electronic technologies are approaching the field of home automation is elaborating. Manifold smart systems have been proposed where the control is done via, internet, short message service (SMS) base, Bluetooth etc. Bluetooth capabilities are better and almost all current laptop/notebook, cell phones and tablets have built-in adaptor that will indirectly Copyright to IJIRCCE 10.15680/ijircce.2015.0302029 910

diminished the cost of the system. However it restricts the control within the Bluetooth range of the environment while most other systems are not too feasible to implement as low cost solution. Existing system is based on Arduino Ethernet, which is used to eliminate the use of a personal computer (PC) keeping the cost of the overall system to a minimum although voice activation is incorporated for switching functionalities [1]. This paper presents the automated approach of controlling the devices in a household that would ease the tasks to use the traditional method of the switch. Bluetooth, which is the most efficient and famous technology for short range wireless communication is used here to automate the system.[2] Pattern based password protection is implemented for allowing only authorized users to control the appliances. Another inclusive integration of Google s voice recognition feature is used to recognize users voice commands for controlling appliances. [3] In this modern era, everybody uses smart phones which are a part of our day-to-day life. They use all their daily uses like daily updates, social networking, newspaper reading and all the apps like vehicle security, home automation control, health maintenance, human body anatomy etc. has been designed in the form of applications that can be easily installed in their hand held smart phones. This project approaches a robotic movement control through the smart phone[4] III. BLOCK DIAGRAM It consists of following blocks Blue-tooth module-jy MCU BT HC-06 Micro-Controller -ATMEGA 328 LM35 Temperature Sensor Liquid Crystal Display Real Time Clock DS1307 Relay Board Fig.1. Block diagram of proposed system The hardware components that make up our home automation system are Smart Phone, the ATmega328 Microcontroller Board, the Bluetooth module connected to the Microcontroller board and relay boards that will drive the electrical appliances. The other components inclusive are a 16x2 char LCD display and Temperature sensor (LM35). IV. IMPLEMENTATION The circuit is built around an ATmega328 controller, ultrasonic transceiver module HC-SR04, Bluetooth module JY MCU BT,LM35 Temperature Sensor, Relay Board and LCD Display On burning the program in micro-controller of ATMega328, the output decision of ATMEGA328 is sent to drive the relays to operate the required electrical appliances very easily and precisely. A real time clock is basically just like a watch - it runs on a battery and keeps time Copyright to IJIRCCE 10.15680/ijircce.2015.0302029 911

for us even whenever there is a power outage. Using an RTC, a track of long time lines can be kept, even if microcontroller is reprogrammed or disconnected from USB or a power plug. The RTC chip is a specialized chip that just keeps track of time. It can count leap years and number of days in a month, but it doesn t take care of Daylight Savings Time. LCD is interfaced to display the temperature of the LM35 sensor. 1. Controller - ATmega328P 2. Bluetooth Module (JY MCU BT HC-06) 3. Relay Board (ULN2003) 4. Temperature Sensor (LM35) 5. RTC (DS1307) 7. LCD Display 8. Android Mobile A. ATmega328 ATmega328 micro-controller is intended for artists, designers, hobbyists and anyone interested in creating interactive objects or environments. Open-Source single-board microcontroller, 32KB flash memory and 2KB SRAM A USB connection for programming 14 Digital, 6 Analog I/O pins An ISCP header and a reset button B. Blue-tooth module (JY MCU BT HC-06) The module provides a method to connect wirelessly with a PC or Bluetooth phone to transmit/receive embedded data such as GPS data, ADC voltage reading and other parameters. Bluetooth module JY MCU BT used in the project can be connected to any device, via built in UART interface to communicate with other Bluetooth -enabled devices such as mobile phones, handheld computers and laptops. The module runs on a 3.6V to 6V supply. Supply voltage can be between 3.6 to 6V DC. I/Os are 5V tolerant. Bluetooth V2.0+EDR (Enhanced Data Rate) 3Mbps Bluetooth SPP (Serial Port Protocol) Easy to connect this module with any standard Bluetooth device, just search and key "1234" passcode. Baud rate: 38400 bps. Module requires no setup. Dimensions: 1.73 in x 0.63 in x 0.28 in (4.4 cm x 1.6 cm x 0.7 cm) C. Relay Board (ULN2003) The ULN2001A, ULN2002A, ULN2003 and ULN2004A are high voltage, high current Darlington arrays each containing seven open collector Darlington pairs with common emitters. Each channel rated at 500mA and can withstand peak currents of 600mA. 3 Relays (Load up to 6A) 7 NPN High voltage, High current Darlington array IC 2.7 Kilo ohm Resistor Copyright to IJIRCCE 10.15680/ijircce.2015.0302029 912

TTL or 5v CMOS Devices Open Collector o/p D. Temperature Sensor (LM35) The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 s low output impedance, linear output, and precise inherent calibration make interfacing to readout or control circuitry especially easy. It can be used with single power supplies, or with plus and minus supplies. Operating temp -55C to 150C Low cost Calibrated in Celsius Linear + 10.0mV/C scale factor Current drain 60uA Low impedance o/p Low self-heating E. RTC (DS1307) The DS1307 serial real-time clock (RTC) is a lowpower, full binary-coded decimal (BCD) clock/calendar plus 56 bytes of NV SRAM. The clock/calendar provides seconds, minutes, hours, day, date, month, and year information.. The clock operates in either the 24-hour or 12hour format with AM/PM indicator. I2C serial interface 2 Automatic switch circuitry and power fail detect Programmable square wave output signal Serial real time clock Low power Full binary coded decimal Industrial temp range -40 to 85 F. LCD Display 16*2 Liquid Crystal Display has features like 16 Character, 2 Line, View Angle 12H or 6H,TN or STN Fluid, Extended Temperature Range available,several Character Types available,led or EL Backlight available Declining prices of LCD Ability to display numbers, graphics and character 16*2 LCD Ease of programming for graphics and character The proposed module RTOS based home automation system using ATMEGA of is shown below. The android application consists of values that operate the robot accordingly. In this application, if 1 is pressed, Appliance 1 is on ; if 2 is pressed, Appliance 1 is off ; if 3 is pressed, Appliance 2 is on ; if 4 is pressed, Appliance 2 is off ;if 5 is pressed, Appliance 3 is on ;if 6 is pressed, Appliance 3 is off ;if 7 is pressed, Copyright to IJIRCCE 10.15680/ijircce.2015.0302029 913

Appliance 4 is on ; and if 8 is pressed, Appliance 4 is off.the proposed module ofrtos based home automation system using ATMEGAis shown below. Fig.2RTOS based home automation system V. ALGORITHM Scan for other Bluetooth devices. Establishes a connection. Send data to Bluetooth enabled ATmega board. Send command from smartphone to the ATmega controller board. The microcontroller will decide which appliances to switch ON/OFF. VI. APPLICATION & ADVANTAGE For central locking of all circumference doors and windows. Medical alert / tele assistance. Precise and safe blind control. In terms of lighting control, it is possible to save energy when hours of wasted energy Security cameras can be controlled. Security systems inclusive of motion sensors An intercom system allows communication via a loud speaker and microphone between multiple rooms. Overall performance cost is very cheap. No complicating wiring is required. VII. FUTURE SCOPE Further improvements can be executed on the system such as the integration of an intelligent controller for controlling the various home devices based on various factors like humidity,ldr, gas detection, human detection using PIR, counting living things using IR sensoretc. Also, we can easily Google Cloud Messaging for controlling our home systems from the Internet, hence making it possible to monitor our home appliances anywhere in the world. Copyright to IJIRCCE 10.15680/ijircce.2015.0302029 914

VIII. CONCLUSION The design and implementation of a low cost RTOS based home automation system. This system can be manufactured on a large scale for mass adoption owing to its ease of design and simplicity. Another advantage of is that the application software is based on Android, which has the largest smartphone base in the present era. With improvements in technology and the fact that Android is open source and free, cheap Smart Phones can be used in overall system to make it cost effective for mass adoption. REFERENCES 1. Shiu Kumar, UbiquitousSmart Home System using Android Application, IJCNC,Vol. 6,Issue-7,pp 33-43, January 2014 2. Syed Anwaarullah1, S.V. Altaf, RTOS based Home Automation System using Android,IJRET,Vol.2, Issue-1, pp-480-484, Mar- 2013. 3. Sharon Panth, Mahesh Jivani, Home Automation System (HAS) using Android for Mobile Phone, IJECSE, Vol.3, ISSN 22771956,January2011 4. N. Sriskanthan, F. Tan, A. Karande, Bluetooth based home automation system, Microprocessors and Microsystems, Vol. 26, pp 281-289, May 2002 5. R.A.Ramlee, M.H.Leong, R.S.S.Singh, M.M.Ismail,M.A.Othman, H.A.Sulaiman, M.H.Misran, M.A.Meor Said, Bluetooth Remote Home Automation System Using Android Application, IJES, Vol.2, Issue 01, pp 149-153, January 2013 6. M.Selvam, SMART PHONE BASED ROBOTIC CONTROL FOR SURVEILLANCE APPLICATIONS, IJRET, Vol. 3, Issue 03,pp 229-232, Mar-2014 Copyright to IJIRCCE 10.15680/ijircce.2015.0302029 915