IoT project of controlling home light using Bluetooth module, Arduino device, and 4 Channel relay module
In this project, we are going to build a home light controlling system using the Bluetooth network. In this project, we use Bluetooth Module HC-05, Arduino Device, 4 Channel Relay module, etc.
Hardware Requirements
- Arduino UNO board
- USB cable for connecter Arduino UNO
- Bluetooth Module HC-05
- 4 Channel Relay module (5V)
- Jumper wires male to female
- Home Light (Bulb)
- Bulb holder
- Wire
- AC 220v/120v home appliances or 9v Hi-Walt Battery
Software requirements
- Arduino software
Working principle of Arduino-Bluetooth Module
In this project, there are four main components used: Android smartphone Bluetooth application, Bluetooth transceiver, Arduino device, and 4 Channel Relay module.
The Android app sends the serial data to the connected Bluetooth Module HC-05 by clicking ON button. The Bluetooth device receives the data from the app and sends it through TX pin of Bluetooth module to RX pin of Arduino. The Arduino device read the input data and process it according to program uploaded inside it and generate the output to 4 Chanel Relay Module.
When the Bluetooth application’s button turns ON, it sets the home light ON, and when the Bluetooth application’s button turns OFF, it sets the home light OFF.
Write an Arduino program to control the home light using Bluetooth Module, 4 Chanel Relay Module with Android application.
Compile and upload your code into the Arduino device using Arduino USB cable. While uploading code doesn’t connect other devices with Arduino.
Digital circuit diagram
Bluetooth Module HC-05 Arduino UNO
RX ——————————–> TX
TX ——————————–> RX
GND —————————–> GND
5V ——————————–> 3.3V
4 Channel Relay Module Arduino UNO
GND ——————————> GND
IN1 ——————————–> Pin 9
IN2 ——————————–> Pin 8
IN3 ——————————–> Pin 7
IN4 ——————————–> Pin 6
VCC ——————————–> 5V
Connection between Relay Module, Bulb, and input power:
- Connect common-point (com) of Relay Module with home light.
- Connect normally-close (nc) of Relay Module with power.
- Connect remaining one home light wire with the power source.
Download and install the Android application of Arduino Bluetooth Controller.apk file. Click Here to Download
Output of project: