Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Bluetooth Home Automation using AVR and Android App

Bluetooth Home Automation Using AVR And Android App

DIY-Bluetooth based Home Automation Project In this project, let’s see how to design a Bluetooth based home automation project.This article explains the steps involved in the designing of a Bluetooth home automation kit, starting from the configuration of a Bluetooth Module. The article also explains how to select an App, read the keywords sent by the App and how to develop a microcontroller program compatible with the selected App. Program file and Program code are provided, which can be readily used. By the end of the article, a complete ready to use Home automation kit is developed. Program file (hex file) and Program code are provided, which can be readily used after downloading. Finishing this tutorial, you should be able to design and develop a complete bluetooth based home automation kit. Selection of the Android App: Android Apps are readily available in Play Store for home automation using Bluetooth module. We have to select an App that suits our requirement. The number of loads or appliances that are controlled by the app is the basic criteria for app selection. This number should match with the actual number of relays/loads in our Automation Hardware kit. In this article, we are using an 8-Channel Relay board i.e., it can control 8 Loads or devices (like fan, light etc). So, we need to select an App that can control 8 Loads. One of the Apps that are available in the Play store is presented here. Download Android App – for Bluetooth Control Keywords from the Android App: The reader will be able to develop the microcontroller program for any App by knowing the commands used by the App to control devices. The Android App sends specific characters to ON/OFF a particular load. These characters can be single alphabets, numbers, special characters or words. This is decided by the App Designer/Programmer. These specific characters are referred as Keywords in this article. The App developer may or may not provide the Keywords in the description of the App. In order to use the App, it is essential to know these Keywords. One of the simple methods to find the keywords is presented here. The idea is to interface the module with the Hyper Terminal Software using a USB-Serial converter. The procedure below explains how to use the hyper terminal software and send the commands using the USB-Serial converter. Please read our article on Interfacing Bluetooth modules for a detailed explanation. Keywords from the Smartphone Configuring the Bluetooth module: By using the hyper terminal software, the data received by the Bluetooth module can be read. For this purpose, the Bluetooth module should be configured as a slave that accepts connection with any device. The series of commands is shown below. Connect the module with the USB-Serial converter as shown below.   Power ON the module with USB cable and Press the Key/EN switch if the key switch is provided in the module or Input HIGH to PIN 34 of the module. This is different for different modules. After entering into AT Command mode, send the following commands.   The above commands will configure the module to the slave role and the module will get connected to any device like the smartphones. This configuration is sufficient for our home automation circuit as well. This module is now ready to receive the data from a smartphone. By operating the load switches in the App, the Bluetooth module inside the phone will send respective keywords for the loads. These keywords are visible in the Received Text box of the hyper terminal software. Make a note of the keywords of... read more

The post Bluetooth Home Automation using AVR and Android App appeared first on Electronic Circuits and Diagram-Electronics Projects and Design.



This post first appeared on Electronic Circuits And Diagram-Electronics Projec, please read the originial post: here

Share the post

Bluetooth Home Automation using AVR and Android App

×

Subscribe to Electronic Circuits And Diagram-electronics Projec

Get updates delivered right to your inbox!

Thank you for your subscription

×