Control Home Lights Using Android

by WaqasA76 in Circuits > Arduino

119 Views, 1 Favorites, 0 Comments

Control Home Lights Using Android

Untitled.jpg
CONTROL HOME LIGHTS USING SMART PHONE

This project shows how Arduino, Bluetooth and a relay can be used to control home lights or any other AC load in your home.

Supplies

Arduino Uno

HC-05 Bluetooth Module

Relay 5V

A Smartphone

Jumper Wires

Attaching Bluetooth Module to Arduino

PIC2.jpg

HC-05 Bluetooth module is attached to Arduino using jumper wires as follows:

HC-05 RX to Arduino TX

HC-05 TX to Arduino RX

HC-05 Ground to Arduino Ground

HC-05 Vcc to Arduino 5V

The attached connections are shown in photo

Relay AC Load Connection

PIC1.jpg

Remove insulation of power wire of AC Load so that neutral and phase of two wire halves are visible.Cut any one (neutral or phase) into two halves. Now remove insulations from ends of cut portions. Now insert neutral(or phase) of one half into NC of relay and insert neutral(or phase) of other half into COMM of relay as shown in attached photo.

Completed Circuit

FTXNX6BLI4KP7SE.jpg

The circuit is completed by attaching Relay Ground to Arduino Ground, Relay IN to Arduino pin 13, and Relay VCC to Arduino 5V.The circuit diagram and completed project are shown in attached photo.

Arduino Program

Arduino program is given in attached file. Before uploading the program, disconnect Bluetooth RX-Arduino TX, and Bluetooth TX-Arduino RX. After program is uploaded, reconnect above mentioned connections.

Downloads

Android App

Android App LED Controller.apk is provided. Install it in your android phone. Pair your smart phone with HC-05 Bluetooth module and use ON/OFF buttons to control AC load.

Downloads

Final Project

q.jpg

The completed project is shown in the attached picture.