Bluetooth Home Automation System Based On AVR Microcontroller

A Bluetooth home automation system leveraging AVR microcontroller technology integrates wireless connectivity for smart control of household devices. This innovative solution utilizes AVR microcontrollers, ensuring robust performance and efficient resource management. By incorporating Bluetooth technology, the system enables seamless communication between the user’s smartphone or tablet and the AVR microcontroller, facilitating remote monitoring and control of various home appliances and systems. The implementation of this system not only enhances convenience and accessibility but also promotes energy efficiency and modernizes the home environment.

Abstract

A smart home covers a variety of theoretical and practical approaches that deals with methodology of living today and in the future [1]. Technology has influenced and changed the life of humans in many ways. To design a device that will be serviceable to others is a huge contribution to the society [2]. Today mobile phones (smart phones, android etc.) can preforms almost all the tasks that once only PCs used to handle. With these advanced features and thought of elderly in mind, a device is designed. This device provides a much more advanced and a safer home to us. Bluetooth Home Automation System is a complex technology that uses information technology to control the electrical appliances and monitors the environment. The design and implementation presented in this paper is of a device which will use bluetooth technology for basic home automation and a wireless home network is desirable which does not incur any additional cost of wiring. The advantages and disadvantages are also discussed, along with the future scope and application areas.

Index Terms: Bluetooth, Microcontroller, Home Appliance, Android, AVR, Atmega 8

CHAPTER ONE

1.0                                          INTRODUCTION

1.1                          BACKGROUND OF THE PROJECT

Initially communication was done by travelling from kilometre to kilometre to deliver messages but now the trend involves talking to people even when they are far away around the globe even to the extent of seeing them using the present day 3G technologies. Now mobile phones can be used to trigger their greatest revolution: by allowing us to run our homes remotely. If you are heading home early on a sunny day to your house driving through traffic in Lagos, your mobile phone can be used to switch on your central air conditioner at the touch of a keypad or even turn on your water heater system on a cold night preparing yourself for a warm shower (Alkar et al., 2015). Fitted to a kitchen wall, the unit will communicate with tiny transponders attached to air conditioners, fridges, washing machines, microwave ovens and household appliances.

This paper presents design and construction of an AVR microcontroller based electrical appliances controlling system using cell phone bluetooth. A cell (mobile) phone bluetooth acts as a modem for the control of electrical home appliances. This is achieved when the mobile phone number is dialed and an appropriate command button is pressed (Alkar et al., 2015). The paper demonstrates how to develop a system that aids the control of remote devices using mobile phones to enable devices without infrared though connected to power sources to be controlled and considering the possibility of users to monitor the status and usage of these devices. It makes use of an AVR microcontroller to control the switching of the output. This design is customized as a central device for four pieces of home appliances using relay to activate each of the respective electronic gadgets.

1.2                                     PROBLEM STATEMENT

In the last decade, all home appliances are manually operated, and this sometimes exposes the user to the risk of electric shock, and which also cause time wastage and also involves labour, but today the story has challenge which brought solutions to these problems by controlling home appliances wirelessly. Here, the project is based on Bluetooth control home automation system, which could help to save energy like electricity and lots of physical strength. It could be secure, flexible, help to prevent power and more accurate outcomes. Most of houses in the cities of the developed countries now using bluetooth based home automation system to prevent energy and ensure adequate safety.

1.3                             OBJECTIVE OF THE PROJECT

The main aim of this study is to build a bluetooth home automation system based on        AVR microcontroller.

The objectives of this project are:

  1. To build the system prototype
  2. To enable users to remotely control their home appliances and systems using a cell phone bluetooth.
  • To reduce the risk involved in manual operation of appliances.

SYSTEM BLOCK DIAGRAM

Block diagram of any project describe the circuit arrangement of any project. The block diagram is as below:

 

I.   INTRODUCTION

The idea of home automation was initially thought of to remotely turn devices on and off and thereafter with advancement the idea included provisions of complete access to devices while the user may be miles away from the home, may be elderly person or with a handicap. The implementation of home automation may utilize variety of technologies that may have come in market recently or have been in use over a longer period of time. The home automation is made for several reasons of ease, security and energy efficiency. Home automation is used to control electric appliance like air conditioner, fan, bulb, gate and door lock etc. it can be control appliance within home or anywhere. Home automation of appliance may be wired or wireless. For our convenient we generally use wireless automation because of increasing smartphones and tablets in recent years. The smartphone provide easy connectivity with other devices. Through smartphones we can easily control appliance through Bluetooth, NFC, WLAN, mobile internet etc. if we want to control appliance from hundreds of mile away, we use internet to control our appliance and within home we generally use Bluetooth or NFC.

Bluetooth is a standard way to connect the devices and eliminate the wire between them. It is low power, low cost, and easily available device. Bluetooth is available in many device like smartphone, tablet etc. Bluetooth technology is easy to use and understand. Hence it could be used suitably in a cost effective manner.

The embedded system is connected to appliance in home and it is ready to receive control through Bluetooth receiver. Any Bluetooth enabled device (generally we use smartphone) is connected to that embedded system and send command for controlling home appliance. Bluetooth enabled Smartphone which is connected to embedded system and send control through application installed in phone and which is easily available on internet.

II.       HARDWARE DESCRIPTION

The entire embedded system consists of two parts, one is android application and the other one is an electronic controlling circuitry. In the first part the android device is used for communicating with the controlling circuit through bluetooth channel. The android application required for this system can be easily downloaded and installed from Google Play or Play Store free of cost. On the other hand the electronic circuitry consists of a microcontroller, a bluetooth module, relay driver IC along with relays which will switch electrical loads on the circuit and to switch the power supply. The android device sends a command which is received by the receiver of the bluetooth module and forwards it through its USART serial interface to the microcontroller. After receiving the command, the microcontroller performs the necessary action. The microcontroller used in system is ATMEL’s ATmega 8, a high performance; low power RISC architecture based 8-bit MCU. The operating voltage of this microcontroller is 5V. So voltage regulator (LM7805) is used to get the desired voltage.

Whereas the bluetooth module (HC-05) run on 3.3V. This technology is a replacement for cables and wire harness [3]. It is an easy to use bluetooth serial port protocol module, designed for wireless serial connection setup. The UART of both the devices are in TTL logic, so we can directly connect receiver of Microcontroller to the transmitter of the Bluetooth Module through a current limiting resistor. R1, R2 and R3 are the relays used to switch electrical load and power supply. Here relay IC is used because the microcontroller operates on 5V and cannot source sufficient current to drive the relays. All relays are rated 12V DC. The COM and NO pins of the relays are used to connect the loads to be controlled.

Fig 1.Circuit Diagram of controller device L1, L2,L3 and L4 are the appliances which can be controlled by the android phone using bluetooth. The status of the appliances will be displayed on a 16×2 LCD screen. The LCD gets data

update from the microcontroller and displays it. A light sensor is also used for detecting light. It is a small sensor which changes its resistance when light falls on it. It is used to determine the intensity of light in a room, hall etc.

Fig 1 Circuit diagram

First of all we have to turn on the power of the device. When we turn on the power, the bluetooth connectivity of

the phone is verified. If the bluetooth is not turned on the request for the same is issued. After the Bluetooth has been turned on or is already turned on, the home application on the smartphone is requested to display the list of devices under its control. Next appropriate keys are pressed according to the device selection. If the keys are pressed odd no. of times ( consecutively), the respective device is turned “ON”. If the keys are pressed even no. of times( consecutively), the respective device is turned “OFF”.

APPLICATION AREAS

There are numerous applications of smart bluetooth technology, some of these are described below:-

A.  Industrial Automation

Industrial equipment’s can now send key performance and safety information without the need of long and complex wiring. They can be directly connected to bluetooth smart ready phone, tablet or computers. It allows for higher flexibility and cut the cost down for machinery installation and the whole network can be easily integrated.

B.  Healthcare and Fitness

Home health monitoring [4] will be considered to keep the elderly healthy and active. Much medical equipment can be easily connected to smart phones wirelessly through bluetooth. Few such examples are the iHealth gluco- monitoring system, electronic stethoscope model 3200 and the onyx II wireless pulse

oximeter.

C.  Proximity and Anti-Theft Accessories

One easy way to keep an eye on our pets and kids is to tag them with a small bluetooth accessory which will generate an alert every time they sneak out of reach. Wallets, keys and luggage tagged with bluetooth can alert the smartphone if someone tries to steal them. There are applications such as FIND ME profile and Bluetooth also supports proximity which can seamlessly enable the above described applications.

ADVANTAGES & LIMITATIONS

The main advantage of Bluetooth is that it is easily available and in reach of common people. It consumes very less battery power and requires less processing power for processing. The synced bluetooth devices does not need clear line of sight between them and the chances of other wireless networks interfering with bluetooth are very low. The disadvantage of bluetooth is that the battery usage during a single transfer is negligible, but if Bluetooth is kept on whole day, then battery loss is significant and because of this it inevitably eats into the battery of these devices, and lowers the battery life considerably. The other disadvantage of bluetooth is that the security in Bluetooth is good but it is much better in infrared technology.

RESULTS

The following are the result of the designed embedded system: –

When the system is switched on, a welcome message will be displayed on the LCD.

Fig 3 LCD screenshot 1

If the user has switched on the bulb, a message will be displayed on the LCD for the same.

Fig 4 LCD screenshot 2

If the user has switched off thed evice, a message will be displayed on the LCD for the same.

Fig 5 LCD screenshot 3

CONCLUSIONS AND FUTURE SCOPE

The goal of this paper was to outline the design and implementation of an embedded system which can easily interface with the existing home appliances and communicate with a smart phone via bluetooth using serial interfacing. We intended to create a home which more or less acts as a rational agent [6]. This research shows many types of applications for implementing home automation. The applications are not limited to those discussed in this paper. The technology discussed could be used in wide variety of applications that requires sensors and appliances and can serve the society in a very instructive manner. Our goal should not be limited to smart home technology but in future we should move past smart homes that automate every task for us [7].

Features of Proposed System:

  • The system will consist of devices connected to the relays
  • Micro controller based circuit
  • The devices will be switched ON/OFF using application on the smartphone
  • The wireless technology (Bluetooth) will be used to transfer and receive data

Discussion: The points mainly discussed in this research paper are:

Existing System:

  • Manual/Physical switching of
  • Manual switch based Device ON/OFF system.

Limitations of exiting system:-

  • Time consuming
  • Not always suitable for elderly and
  • A lot of human resource is

Advantages:

  • Beneficial for elderly/
  • Less time
  • No human resource is

Scope of The Project:

  • This can be further implemented to have control room to regulate the working of the Thus becomes the user friendliness.
  • This circuit can be expanded and used in industries and workshops to reduce the manpower
  • Additional modules can be added without affecting the remaining This allows the flexibility and easy maintenance of the developed system.

REFERENCES

  1. Dengler, Sebastian; Awad, Abdalkarim; Dressler, Falko, “Sensor/Actuator Networks in Smart Homes for Supporting Elderly and Handicapped People.” Advanced Information Networking and Applications Workshops, 2007, AINAW ’07. 21st International Conference on, Volume 2, 21-23 May 2007 Page(s):863 –
  2. Piyare, R and Tazil, M, “Bluetooth Based Home Automation System Using Cell Phone.” IEEE 15th International Symposium on Consumer Electronics (2011).
  3. Shepherd, R, “BIuetooth Wireless Technology in the ” Electronics & Communication Engineering Journal 13 (2001): 195-
  4. IEEE/IEE Electronic Library. 15 Oct. 2007.
  5. Tamura, T. Togawa, M. Ogawa, and M. Yoda, “Fully automated health monitoring system in the home,” Med. Eng. Physics, 20, pp. 573–579, 1998.
  6. Jiang, Li, Da-You Liu, and Bo Yang, “Smart Home ” Machine Learning and Cybernetics (2004). 15 Oct. 2007.
  7. K. Das, D. J. Cook, A. Bhattacharya, E. O. Heierman, III, and T.-
  8. Lin, “The Role of Prediction Algorithms on the MavHome Smart Home Architectures,” IEEE Wireless Communications (Special Issue on Smart Homes), Vol. 9, No. 6, pp. 77–84, Dec. 2002.
  9. Yamazaki, T, “Beyond the Smart ” Hybrid Information Technology, 2006. ICHIT’06. Vol 2. International Conference on, Volume 2, Nov. 2006 Page(s):350 – 355

SHARE PROJECT MATERIALS ON:

More About Bluetooth Home Automation System Based On AVR Microcontroller Material

Author: See the writer of ‘Bluetooth Home Automation System Based On AVR Microcontroller’ name on the first page of the downloaded file.

Acknowledgement: You must acknowledge and reference the writer of Bluetooth Home Automation System Based On AVR Microcontroller on your acknowledgement and reference pages respectively.

Upload Similar: You can upload any content similar to Bluetooth Home Automation System Based On AVR Microcontroller and get paid when someone downloaded the material.

Download: Click on “Donate & Download” under this Bluetooth Home Automation System Based On AVR Microcontroller Title and you will be redirected to download page after the donation or chat with Us for alternative methods.

Content Size: Bluetooth Home Automation System Based On AVR Microcontroller contains , and .