Javatpoint Logo
Javatpoint Logo

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

  1. Arduino UNO board
  2. USB cable for connecter Arduino UNO
  3. Bluetooth Module HC-05
  4. 4 Channel Relay module (5V)
  5. Jumper wires male to female
  6. Home Light (Bulb)
  7. Bulb holder
  8. Wire
  9. AC 220v/120v home appliances or 9v Hi-Walt Battery

Software requirements

  1. 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.

IoT project of controlling home light using Bluetooth module, 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:

  1. Connect common-point (com) of Relay Module with home light.
  2. Connect normally-close (nc) of Relay Module with power.
  3. 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

IoT project of controlling home light using Bluetooth module, Arduino device, and 4 Channel relay module IoT project of controlling home light using Bluetooth module, Arduino device, and 4 Channel relay module
IoT project of controlling home light using Bluetooth module, Arduino device, and 4 Channel relay module IoT project of controlling home light using Bluetooth module, Arduino device, and 4 Channel relay module

Output of project:

IoT project of controlling home light using Bluetooth module, Arduino device, and 4 Channel relay module IoT project of controlling home light using Bluetooth module, Arduino device, and 4 Channel relay module




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA