Skip to content

Latest commit

Β 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏠 Smartphone Controlled Home Automation System using Arduino Uno & HC-05 Bluetooth

Prototype

GitHub repo size GitHub last commit GitHub License GitHub Release

Arduino C++ Bluetooth Embedded Systems ECE Project

A smartphone-controlled home automation system developed using Arduino Uno, HC-05 Bluetooth Module, and Relay Module for wireless control of electrical appliances.

This project was developed as part of the ECE 6th Semester Major Project (Phase-I) at the Indian Institute of Information Technology (IIIT), Bhopal.


πŸ“‘ Table of Contents

  • Project Overview
  • Features
  • Hardware Components
  • Software Requirements
  • Working Principle
  • Circuit Diagram
  • Project Structure
  • Arduino Program
  • Applications
  • Future Improvements
  • Team Members
  • Supervisor
  • License

πŸ“– Project Overview

This project demonstrates a low-cost smart home automation system that enables users to control electrical appliances wirelessly using a smartphone.

The system uses Bluetooth communication between an Android smartphone and an Arduino Uno. Commands sent from the mobile application are received through the HC-05 Bluetooth module and processed by the Arduino, which controls a relay to switch appliances ON or OFF.


✨ Features

  • Wireless appliance control
  • Smartphone-based operation
  • Bluetooth communication
  • Arduino Uno based
  • HC-05 Bluetooth module
  • Relay module switching
  • Low-cost implementation
  • Easy to build
  • Beginner-friendly embedded systems project

πŸ›  Hardware Components

Component Quantity
Arduino Uno 1
HC-05 Bluetooth Module 1
Relay Module 1
AC Bulb
Bulb Holder
Jumper Wires
Power Supply
Smartphone

Hardware Components Gallery


Arduino Uno

HC-05 Bluetooth Module

Relay Module
---

πŸ’» Software Requirements

  • Arduino IDE
  • Bluetooth Terminal App
  • Windows 10/11
  • USB Cable

πŸ“Έ Project Prototype

The completed hardware prototype of the Smartphone Controlled Home Automation System is shown below.

Project Prototype

βš™ Working Principle

  1. User opens the Bluetooth control application.
  2. Smartphone connects with HC-05 Bluetooth module.
  3. User presses ON or OFF button.
  4. Bluetooth module receives the command.
  5. Arduino reads the command through Serial Communication.
  6. Arduino switches the relay.
  7. Relay controls the connected electrical appliance.

πŸ”Œ Circuit Diagram

The complete wiring diagram for the project is shown below.

Circuit Diagram

System Architecture

Smartphone
     β”‚
 Bluetooth
     β”‚
 HC-05 Module
     β”‚
 Arduino Uno
     β”‚
 Relay Module
     β”‚
 Electrical Appliance

πŸ”— Wiring Connections

Arduino Uno Pin Connected To Description
5V HC-05 VCC Powers the Bluetooth module
GND HC-05 GND Common ground
TX (D1) HC-05 RX Serial communication
RX (D0) HC-05 TX Serial communication
D2 Relay IN Controls the relay
5V Relay VCC Relay power supply
GND Relay GND Common ground

Note: Disconnect the HC-05 module from the Arduino TX/RX pins before uploading the program. Reconnect it after the upload is complete to ensure successful communication.


πŸ“‚ Project Structure

ON-OFF-System-Arduino-Bluetooth
β”‚
β”œβ”€β”€ Arduino_Code/
β”‚   └── ON_OFF_System.ino
β”‚
β”œβ”€β”€ Circuit_Diagram/
β”‚   β”œβ”€β”€ Circuit_Diagram.jpg
β”‚   └── Relay_Module_Pin_Diagram.jpg
β”‚
β”œβ”€β”€ Images/
β”‚   β”œβ”€β”€ Prototype.jpg
β”‚   β”œβ”€β”€ Arduino_Board.jpg
β”‚   β”œβ”€β”€ Bluetooth_HC05.jpg
β”‚   β”œβ”€β”€ Relay_Module.jpg
β”‚   β”œβ”€β”€ Arduino_IDE_Screenshot.png
β”‚   β”œβ”€β”€ Bluetooth_Controller_App.png
β”‚   └── Bluetooth_Controller_App_Buttons.jpg
β”‚
β”œβ”€β”€ Presentation/
β”‚   └── Project_Presentation.pptx
β”‚
β”œβ”€β”€ Report/
β”‚   └── Minor_Project_Report.pdf
β”‚
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
└── .gitignore

πŸ‘¨β€πŸ’» Arduino Program

char value;

void setup()
{
    Serial.begin(9600);
    pinMode(2, OUTPUT);
}

void loop()
{
    if(Serial.available()>0)
    {
        value=Serial.read();
    }

    if(value=='1')
    {
        digitalWrite(2,LOW);
    }

    else if(value=='0')
    {
        digitalWrite(2,HIGH);
    }
}

Complete source code is available inside the Arduino_Code folder.

Arduino IDE

The Arduino sketch was developed and uploaded using the Arduino IDE.

Arduino IDE


πŸ“± Bluetooth Controller Application

The project uses an Android Bluetooth Controller application to send ON/OFF commands to the Arduino through the HC-05 Bluetooth module.

Application Screenshots


Bluetooth Connection

Button Configuration
## πŸš€ Installation & Usage

Prerequisites

  • Arduino IDE
  • Arduino Uno
  • HC-05 Bluetooth Module
  • Relay Module
  • Jumper Wires
  • Android Smartphone with a Bluetooth Controller App

Installation Steps

  1. Clone this repository:
git clone https://github.com/Arpeet-Bhaisare/ON-OFF-System-Arduino-Bluetooth.git
  1. Open the Arduino sketch located in:
Arduino_Code/ON_OFF_System.ino
  1. Connect your Arduino Uno to your computer using a USB cable.

  2. Select the correct Board and Port in the Arduino IDE.

  3. Upload the sketch to the Arduino.

  4. Disconnect the USB cable if using an external power supply.

  5. Connect the HC-05 Bluetooth module.

  6. Pair your smartphone with the HC-05 module (default PIN: 1234 or 0000).

  7. Open the Bluetooth Controller App.

  8. Press ON or OFF to control the connected appliance.

πŸ“± Applications

  • Home Automation
  • Smart Homes
  • Embedded Systems Learning
  • Wireless Switching
  • College Projects
  • Arduino Learning
  • IoT Foundation

🎯 Learning Outcomes

  • Arduino programming
  • Serial communication
  • Bluetooth communication using HC-05
  • Relay control
  • Embedded systems fundamentals
  • Hardware interfacing
  • Smartphone-based device control

πŸš€ Future Improvements

  • ESP32 Integration
  • Wi-Fi Control
  • Alexa Support
  • Google Home Integration
  • Blynk IoT Platform
  • Mobile Application Development
  • Voice Control
  • Cloud Monitoring

πŸ™ Acknowledgements

This project was developed as part of the ECE 6th Semester Major Project (Phase-I) at the Indian Institute of Information Technology (IIIT), Bhopal.

Supervisor

  • Dr. Bhupendra Singh Kirar
  • Department of Electronics & Communication Engineering
  • Indian Institute of Information Technology (IIIT), Bhopal

Team Members

  • Arpeet Bhaisare
  • Abhishek Brajvasi
  • Srirama Aniketh
  • Samarth Varshney

πŸ“š References

  • Arduino Official Documentation
  • HC-05 Bluetooth Module Documentation
  • Arduino IDE Documentation
  • Embedded Systems Laboratory Notes
  • Course guidance provided during the ECE 6th Semester Project at IIIT Bhopal

πŸ“„ License

This project is licensed under the MIT License.

See the LICENSE file for details.

About

Smartphone-controlled home automation system using Arduino Uno, HC-05 Bluetooth module, and relay for wireless appliance control.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages