• No results found

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

N/A
N/A
Protected

Academic year: 2021

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

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Sensors Based Security System and

Controlling of any Devices by Android Apps

using Arduino Platform

Smart Home System using Android ADK

Mr. Kanaiya G Bhatt *

Assistant Professor

Dept. of Electrical & Electronics ITM VOCATIONAL UNIVERSITY VADODARA, INDIA

kanaiyab@itmuniversity.org

Mr. Saikiran Sondarkar

Student of ITMVU, VADODARA Dept. of Computer Science ITM VOCATIONAL UNIVERSITY VADODARA, INDIA saisondarkar@yahoo.in

Abstract: Today we are living in 21st century where automation is playing with security is important role in human life. This paper presents put forward design of flexible standalone, low cost smart home system, which is based on the Android ADK communicating with the Arduino Platform providing home security and emergency system to be activated. Devices such as light switches, power plugs, Temperature sensors, Touch sensor, Sound sensor, intrusion detection sensors, smoke/gas sensors, IR sensor and sirens with bilking LED have been integrated in the system to demonstrate the feasibility and effectiveness of the proposed smart home system. The smart home app is tested and it is able successfully perform the smart home operations such as switching functionalities, automatic environmental control and intrusion detection, in the later case where message will be come to your smart phone and the siren goes on. As well as we can control functionalities by android application. The main objective of home automation and security is to help handicapped and old aged people who will enable them to control home appliance and alert them in critical situations.

Keywords: Home Automation and Security; Arduino; Embedded System; Android ADK; Andorid phone;

1 INTRODUCTION

oday we are living in 21st century where automation is playing important role in human life Home automation allows us to control household appliances like light, door, fan, AC etc It also provides home security and emergency system to be activated. Home automation not only refers to reduce human efforts but also energy efficiency and time saving. The main objective of home automation and security is to help handicapped and old aged people who will enable them to control home appliances and alert them in critical situations. The device with low cost and scalable to less modification to the core is much important. It presents the design and implementation of automation system that can monitor and control home appliances via android phone or tablet. Smart home is a home equipped with special facilities to enable occupants to control o program an array of automated home electronic devices. For example, a homeowner on vacation can arm a home security system, control temperature gauges, switch appliances on or off, control lighting program a home heater or entertainment system, and perform many other tasks.

If a simple mobile phone takes the added responsibility to control the smart home then the control is reachable from almost everywhere people travels and lives on earth. Mobile telephony offers a wide range of communication services like voice and data transfer through SMS and other enhanced data transfer protocols like GPRS, EDGE at a relatively low price and at a wide variety of places on the earth. On the other hand, the security is better achieved by the use of strict traffic control. We adhered to this method of remote controlling of home appliances because of its unparallel availability and modest security at the affordable price. Home automation is automation of the home, housework or household activity. Home automation may include centralized control of lighting, HVAC (heating, ventilation and air conditioning), appliances, and other systems, to provide improved convenience, comfort, energy efficiency and security.

The concept of home automation has been around for a long time and products have been on the market for decades, though no one solution has broken through to the mainstream yet. It can also provide a remote interface to

T

(2)

home appliances or the automation system itself, via telephone line, wireless transmission or the internet, to provide control and monitoring via a smart phone or web browser.

2 IMPLEMENTATION

BLOCK DIAGRAM:

ARDUINO NANO CONTROLLER

ATMEGA328

The Arduino Nano is a small, complete, and breadboard-friendly board based on the ATmega328 (Arduino Nano 3.0) .It has more or less the same functionality of the Arduino Duemilanove, but in a different package. It lacks only a DC power jack, and works with a Mini-B USB cable instead of a standard one.

The Arduino Nano can be powered via the Mini-B USB connection, 6-20Vunregulated external power supply (pin 30), or 5V regulated external power supply (pin 27). The power source is automatically selected to the highest voltage source.theATmega328 has 32 KB, (also with 2 KB used for the boot loader). the ATmega328has 2 KB of SRAM and 1 KB of EEPROM.

Each of the 14 digital pins on the Nano can be used as an input or output, using pinMode(), digital Write(), and digital Read() functions. They operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by default) of 20-50 k ohms. In addition, some pins have specialized functions: Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial data.

These pins are connected to the corresponding pins of the FTDI USB-to-TTL Serialchip.External Interrupts: 2 and 3. These pins can be configured to trigger an interrupt on low value, a rising or falling edge, or a change in value. See the attach Interrupt () function for details. PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite()function. „h SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK). These pins support SPI communication, which, although provided by the underlying hardware, is not currently included in the Arduino language. LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it's off.

The Nano has 8 analog inputs, each of which provides 10 bits of resolution (i.e. 1024different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the analogReference() function. Additionally, some pins have specialized functionality: The Arduino Nano has a number of facilities for communicating with a computer, another Arduino, or other microcontrollers.

The ATmega168 and ATmega328 provide UART TTL (5V) serial communication, which is available on digital pins 0(RX) and 1 (TX). The Arduino software includes a serial monitor which allows simple textual data to be sent to and from the Arduino board. The RX and TX LEDs on the board will flash when data is being transmitted via the FTDI chip and USB connection to the computer Rather then requiring a physical press of the reset button before an upload, the Arduino Nano is designed in a way that allows it to be reset by software running on a connected computer.

One of the hardware flow control lines (DTR) of the FT232RL is connected to the reset line of the ATmega328 via a 100 nanofarad capacitor. When this line is asserted (taken low), the reset line drops long enough to reset the chip. The Arduino software uses this capability to allow you to upload code by simply pressing the upload button in the Arduino environment.

(3)

3 SENSORS

TEMPERATURE SENSOR [LM 35]

Its takes temperature variance as analog input and gives output on arduino nano board. The LM35 series are precision integrated-circuit 2 temperature sensors, with an output voltage linearly proportional to the Centigrade temperature. Thus the LM35 has an advantage over linear temperature sensors calibrated in ¢X Kelvin, as the user is not required to subtract a large constant voltage from the output to obtain convenient Centigrade scaling.

INFRARED SENSOR

It is connected to arduno nano controller. It is very useful sensor. In infrared sensor has two transmitter and receiver section. It checks interrupt in between transmitter and receiver give output as glowing led and blinking siren.

SOUND SENSOR

Sound sensor is simple microphone. It detect the sound in free environment .It is connected with the arduino contrlller, during the operation a system when the is detected at microphone it alert us via ringing a siren.

MOTION / PIR SENSOR:

This is simple to use motion sensor. Power it up and wait 1-2 sec for the sensor to get a

snapshot of the still room. If any move after that period the alarm pin will go low and we get alert message.

TOUCH SENSOR:

It’s a hand made sensor, in this sensor actual principal based on a flow electron in the foil. During a flowing of electron if we touch a foil at that time some variation occurs into this. And we get alert message on mobile.

GSM SIM 300 MODULE:

GSM is a global system for mobile communication GSM is an international digital cellular telecommunication.GSM has become the most widely adopted and fastest-growing digital cellular standard, and it is positioned to become the world¡¦s dominant cellular standard. In our system the main used of the GSM SIM 300 is to controlled our home appliances via to make a call or sending a message with the help of smart phone its connected with the arduino controller.

(4)

4 CIRCUIT DIAGRAM:

5 WORKING MODEL:

6 ANDROID APPLICATION

We develop this application by using Android development studio software. Here developing tools are provided by this software

and generate a APK file for the android application. There are total 16 possibilities for the controlling of our home appliance ex. #a1b1c1d1 is used for to ON all the lights &fan. and # a1b0c1d0 is use for to turn ON the light 1 & light 3.This type of total 16 possibilities are use for the controlling of our home appliances.

(5)

7 CONTROLLING OF HOME APPLIANCES BY USING ANDROID APPS.

8 ADVANTAGES

 The main advantage of our project is to reduce a wastage of electricity.

 The system security is high.

 Adds safely through appliances and light control.

 Save Time and money  Increase the peace of mind

 Allows you control when out of town.  Smart home technology promises

tremendous benefits for an elderly person living alone

9 APPLICATION

 Automatic vehicle parking system  Precise and safe blind control.

 In terms of lighting control, it is possible to save energy when hours of wasted energy in both residential and commercial applications by auto on/off light at night time in all major city office buildings, say after 10pm.

 Control and integration of security systems

 Security systems can include Infrared sensors that will detect any kind of unauthorized movement and notify the user through the security system or via cell phone.

10 CONCLUSIONS

The goal of the project is to implement a smart home system by controlling the electronic devices at home remotely with an android apps of smart phone and to receive alerts message on phone whenever any sensor is active. The goal is achieve successfully. We became familiar with software analysis, designing, implementation, testing and maintenance concerned with our project.

ACKNOWLEDGMENT

We acknowledge the efforts and hard work by the experts who have contributed towards development of the different home automation systems. We also acknowledge the efforts of the reviewers of international conference for suggestions and modifications to improve the quality of the paper and to help prepare the camera-ready copy of our paper.

REFERENCES

[1] N. Sriskanthan and Tan Karand. “Bluetooth Based Home Automation System”. Journal

of Microprocessors and Microsystems, Vol.

26, pp.281-289, 2002.

[2] Muhammad Izhar Ramli, Mohd Helmy Abd Wahab, Nabihah, “TOWARDS SMART HOME: CONTROL ELECTRICAL DEVICES ONLINE” ,Nornabihah Ahmad International Conference on Science and Technology: Application in Industry and Education (2006) [3] Al-Ali, Member, IEEE & M.

AL-Rousan,“Java-Based Home Automation System R.” IEEE Transactions on Consumer Electronics, Vol. 50, No. 2, MAY 2004

[4] Pradeep. G, B. Santhi Chandra, M.Venkateswarao, “Ad-Hoc Low Powered 802.15.1 Protocol Based Automation System for Residence using Mobile Devices”, Dept.of ECE, K L University, Vijayawada, Andhra Pradesh, India IJCST Vo l. 2, SP 1, December 2011

[5] E. Yavuz, B. Hasan, I. Serkan and K. Duygu. “Safe and Secure PIC Based Remote Control Application for Intelligent Home”.

International Journal of Computer Science

and Network Security, Vol. 7, No. 5, May

(6)

[6] Amul Jadhav, S. Anand, Nilesh Dhangare, K.S. Wagh “Universal Mobile Application Development (UMAD) On Home Automation” Marathwada Mitra Mandal’s Institute of Technology, University of Pune, India Network and Complex Systems ISSN 2224-610X (Paper) ISSN 2225-0603 (Online) Vol 2, No.2, 2012

[7] Rana, Jitendra Rajendra and Pawar, Sunil N., Zigbee Based Home Automation (April 10, 2010). Available at SSRN: http://ssrn.com/abstract=1587245 or http://dx.doi.org/10.2139/ssrn.1587245 [8] R.Piyare, M.Tazil” Bluetooth Based Home

Automation System Using Cell Phone”, 2011 IEEE 15th International Symposium on Consumer Electronics [9] http://googleblog.blogspot.in/2011/05/android -momentum-mobile-and-more-at.html [10] http://developer.android.com/about/index. html [11] http://research.microsoft.com/en-us/projects /homeos/ [12] http://source.android.com/tech/accessories/ index.html Authors Biography

Mr. Kanaiya G Bhatt obtained

Master degree from Gujarat Technical University, Gujarat, India in Digital Communication. He is working as Assistant professor in ITM Vocational University, Vadodara, Gujarat, India.

Mr. Saikiran Sondarkar is a

student of ITM Vocational University Department of Computer Science, Vadodara, Gujarat, India.

References

Related documents

There are eight independent TMD quark distributions, each of which describes a di ff erent aspect of nucleon structure, e.g., transverse motion and deformation, spin-orbit

Heart and Soul , Patrick Gordon Gallery X Ottawa Photography Festival de la photo d’Ottawa, catalogue, text by the curator: Justin Wonnacott, Ottawa, Ontario. De

To define the multimorbidity in this study, we obtained the CCI scores for the inclusive period within the three months after the index month in which medical insurance had been

Whether group goal is not the addition of individual goals (Locke & Latham, 1990), this task has the necessary characteristics to test the effects of group goal and its

The purpose of this embedded (QUAN(qual)) quasi-experimental mixed-methods research study was to investigate the effects of a sequence of lessons grounded in the principles

Last however not least, I tend to might additionally analysis high k COPC problem that aims to reason k optimum product combos thanks to customer demands based

It is an established fact nowadays that detection of LSB matching steganography is significantly more difficult for never compressed images, grayscale images, and scans of