Home / Power Supply Repair / Home Automation Using Arduino Through Android Device | DIY Project
Troubleshooting and repairing Switch Mode Power Supplies

Home Automation Using Arduino Through Android Device | DIY Project

This project is based on Android app and Arduino Uno using Bluetooth as the wireless communication medium. It is a simple and flexible home automation system with only a few electronic components, without complex soldering. This project is designed to control three appliances, but it can be extended to six or more.

Circuit and working

The block diagram of the home automation system for controlling three electrical appliances is shown in Fig. 1 and its complete circuit diagram in Fig. 2. It is built around Arduino Uno R3 (Board1), HC-05 Bluetooth module, three relays (RL1 through RL3) and a few other components. This project demonstrates how to turn on/off the appliances connected with the relays using an Android app on a smartphone or tablet.

Relay pin connections

The relay board consists of relay drivers. Three BC547 transistors (T1, T2 and T3) are used as relay drivers for controlling the three appliances.

Pin 2 of Arduino Uno is connected to T1 through base current-limiting resistor R1. Similarly, pins 3 and 4 of Arduino Uno are connected to T2 and T3 through R3 and R5, respectively.

All emitters of the transistors should be connected to ground (GND) pin of Arduino Uno.

Connect VCC and GND pins of HC-05 Bluetooth module to 5V pin and GND pin of Arduino Uno, respectively. And, connect Tx and Rx pins of Bluetooth module to Rx and Tx pins of Arduino Uno, respectively.

Connect NO terminal of each relay to one terminal of electrical load, and the other terminal of the load to neutral (N) line of 220V AC mains power supply. Connect live (L) line 220V to COM terminal of each relay.

Construction and testing

An actual-size PCB layout for the home automation system using Arduino Uno through Android app is shown in Fig. 4 and its components layout in Fig. 5. Assemble the components on the PCB as per the circuit diagram.

Download PCB and Component Layout PDFs: Click here

Then, connect the power supply to Arduino Uno either through its USB cable or 12V battery. Also, connect 12V power to all three relays, as shown in the circuit diagram.

Upload Arduino source code (HomeAutomation.ino) to Arduino Uno. The source code can be downloaded by scanning the QR code given in Fig. 6.

Next, pair Bluetooth module HC-05 with Bluetooth of your smartphone.

Download Android app (HomeAutomation.apk) using the QR code given in Fig. 7.

Install it on your Android smartphone. Next, open the app and pair Bluetooth module HC-05 with the Bluetooth of your smartphone. You will get the app on your phone as shown in Fig. 8.

Now you may click on the buttons to control the appliances.

Kartik Gudali is an electronics enthusiast and RC hobbyist. Currently, he is working on the development of Android, Arduino, Raspberry Pi and Amazon Alexa.

Dileep Swamy is an electronics hobbyist and ham radio operator.

This content was originally published here.

LCD Monitor Repair

Check Also

Microcontroller-Based LED Lights Pattern Generator | Mini Project

Here is a circuit meant for babies for generating various light patterns on eight LEDs. …

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.