Close Menu
Circuit of Things
  • Home
  • Projects
    • Raspberry Pi Projects
    • Arduino Projects
    • ESP8266 Projects
    • ESP32 Projects
  • About Us
  • Get In Touch
  • 3D Print
  • Shop Now !
  • Electro Calc

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

Instagram WhatsApp
  • Terms and Conditions
  • Disclaimer
  • Privacy Policy
Circuit of ThingsCircuit of Things
  • Home
  • Projects
    • Raspberry Pi Projects
    • Arduino Projects
    • ESP8266 Projects
    • ESP32 Projects
  • About Us
  • Get In Touch
  • 3D Print
  • Shop Now !
  • Electro Calc
Hire us
Circuit of Things
Home»Arduino Projects»Powerful Arduino Bluetooth Home Automation (HC-05 & KSP App Guide)
Arduino Projects

Powerful Arduino Bluetooth Home Automation (HC-05 & KSP App Guide)

Sai Preetham KoyyalaBy Sai Preetham KoyyalaOctober 7, 2025Updated:October 7, 2025No Comments4 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
image
Share
Facebook Twitter LinkedIn Pinterest Email
Contents
  • Introduction to Arduino Bluetooth Home Automation
  • Why Choose Arduino Bluetooth Home Automation?
  • Components Required
  • Circuit Connections
  • Programming the Arduino
  • Controlling via KSP Bluetooth Control App
  • LCD Display Output
  • Safety Precautions
  • Learning Outcomes
  • Project Extensions
  • Conclusion

Introduction to Arduino Bluetooth Home Automation

Welcome to CircuitOfThings — your hub for DIY electronics! ⚡
In this guide, you’ll build a powerful Arduino Bluetooth Home Automation system that lets you control two electrical appliances directly from your smartphone using the KSP Bluetooth Control App.

Your Arduino UNO communicates with the HC-05 Bluetooth module and manages two appliances through a 2-channel relay module, while an I2C LCD displays the ON/OFF status in real time.

Why Choose Arduino Bluetooth Home Automation?

This project is perfect for learning embedded control and mobile app integration.
You’ll understand how to use Bluetooth serial communication, relay switching, and I2C LCD display updates — all in one compact, low-cost smart home setup.

Advantages:

  • Safe and reliable switching
  • Wireless control with instant response
  • No Wi-Fi or internet needed
  • Expandable to 4–8 devices

Components Required

ComponentQuantityDescription
Arduino UNO1The main controller board
HC-05 Bluetooth Module1Enables wireless communication
2-Channel Relay Module1Controls two AC/DC appliances
I2C 16×2 LCD (Address: 0x27)1Displays relay statuses
Jumper WiresAs requiredFor interconnections
USB Cable1For programming the Arduino
KSP Bluetooth Control App1Android app to control via Bluetooth

Circuit Connections

Arduino Bluetooth Home Automation schematic
Arduino Bluetooth Home Automation schematic
ComponentPinArduino PinNotes
Relay ModuleIN1D7Relay 1 control
Relay ModuleIN2D8Relay 2 control
Relay ModuleVCC5VPower supply
Relay ModuleGNDGNDCommon ground
HC-05 BluetoothVCC5VPower supply
HC-05 BluetoothGNDGNDCommon ground
HC-05 BluetoothTXDRX (D0)Serial receive
HC-05 BluetoothRXDTX (D1 via divider)Use voltage divider
I2C LCDSDAA4Data line
I2C LCDSCLA5Clock line
I2C LCDVCC5VPower
I2C LCDGNDGNDCommon ground

💡 Tip: Always use a voltage divider between Arduino TX (5V) and HC-05 RX (3.3V) to avoid damage.

Programming the Arduino

Upload the following code to your Arduino Uno:

Copy CodeCopiedUse a different Browser
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);

const int relay1Pin = 7;
const int relay2Pin = 8;
String inputCommand = "";

void setup() {
  pinMode(relay1Pin, OUTPUT);
  pinMode(relay2Pin, OUTPUT);
  digitalWrite(relay1Pin, LOW);
  digitalWrite(relay2Pin, LOW);

  lcd.init();
  lcd.backlight();
  lcd.setCursor(0, 0);
  lcd.print("Relay1: OFF");
  lcd.setCursor(0, 1);
  lcd.print("Relay2: OFF");

  Serial.begin(9600);
}

void loop() {
  if (Serial.available()) {
    char c = Serial.read();
    if (c == '\n' || c == '\r') {
      inputCommand.trim();
      handleCommand(inputCommand);
      inputCommand = "";
    } else {
      inputCommand += c;
    }
  }
}

void handleCommand(String cmd) {
  if (cmd == "ON1") {
    digitalWrite(relay1Pin, HIGH);
    updateLCD(1, true);
  } else if (cmd == "OFF1") {
    digitalWrite(relay1Pin, LOW);
    updateLCD(1, false);
  } else if (cmd == "ON2") {
    digitalWrite(relay2Pin, HIGH);
    updateLCD(2, true);
  } else if (cmd == "OFF2") {
    digitalWrite(relay2Pin, LOW);
    updateLCD(2, false);
  }
}

void updateLCD(int relayNum, bool state) {
  if (relayNum == 1) {
    lcd.setCursor(0, 0);
    lcd.print("Relay1: ");
    lcd.print(state ? "ON " : "OFF");
  } else if (relayNum == 2) {
    lcd.setCursor(0, 1);
    lcd.print("Relay2: ");
    lcd.print(state ? "ON " : "OFF");
  }
}

Controlling via KSP Bluetooth Control App

To make the project interactive, we’ll use the official KSP Bluetooth Control App developed by KSP Electronics.

Download the App:

📱 KSP Bluetooth Control on Google Play

App Setup Steps:

  1. Open the KSP Bluetooth Control App on your Android phone.
  2. Pair your HC-05 module (default PIN: 1234 or 0000).
  3. Tap “Connect Device” and select your HC-05 from the list.
  4. Create two control buttons:
    • Button 1:
      • Name: Relay 1 ON
      • Command: ON1
    • Button 2:
      • Name: Relay 1 OFF
      • Command: OFF1
    • Button 3:
      • Name: Relay 2 ON
      • Command: ON2
    • Button 4:
      • Name: Relay 2 OFF
      • Command: OFF2
  5. Press the respective buttons — the connected relays will toggle, and the LCD will display real-time status for both relays.

✅ Pro Tip: You can also customize button colors, icons, and command feedback text within the app.

LCD Display Output

The LCD displays the live relay status:

Relay1: ON
Relay2: OFF

Whenever you send a command through the KSP Bluetooth app, the display updates immediately.

Safety Precautions

⚠️ Important Notes:

  • Never touch relay terminals when connected to AC voltage.
  • Always use opto-isolated relays for mains appliances.
  • Keep high-voltage wiring separate from your Arduino circuit.
  • Double-check all connections before powering the system.
  • Use an insulated enclosure to prevent accidental contact.

Learning Outcomes

By completing this project, you’ll understand:

  • How to use Bluetooth serial communication with Arduino.
  • How to control relays using digital pins.
  • How to display real-time system data using an I2C LCD.
  • How to integrate smartphone-based control into embedded systems.

Project Extensions

  • Add more relays for additional appliances.
  • Replace HC-05 with ESP32 for Wi-Fi control.
  • Add sensors (temperature, motion, etc.) for automation.
  • Use voice commands through a custom Android app.
  • Create a dashboard UI in MIT App Inventor.

Read More:

  • ESP8266-01 Pinout: A Comprehensive Guide to Pin Configuration
  • Raspberry Pi: How to Control a DC Motor with L298N and PWN on a Web Server

Conclusion

This project is a great hands-on introduction to Bluetooth-based home automation using Arduino.
With the KSP Bluetooth Control app, you can enjoy a professional, responsive interface to control your devices and visualize their status instantly.

You now have the foundation to expand your system into a full-fledged smart home project!


2 channel relay module arduino bluetooth control arduino bluetooth controlled 2 relay board arduino bluetooth home automation arduino lcd status display project arduino smart home project arduino uno projects diy electronics embedded systems hc-05 bluetooth module i2c lcd display with arduino ksp bluetooth control app wireless home automation
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleESP32 MH-Z19B: Building a DIY CO₂ Monitor for Smarter Air Quality Projects
Sai Preetham Koyyala
  • Website
  • Facebook
  • X (Twitter)
  • Instagram
  • LinkedIn

Hello, I am Sai Preetham Koyyala. I'm an electronics engineer by profession, a DIY enthusiast by passion. ESP32 and Arduino are the main topics of my work.

Related Posts

Arduino Projects

Get Started with Arduino: A Beginner’s Guide to the World of Electronics

June 7, 2023
Add A Comment
Leave A Reply Cancel Reply

KSPElectronics Logo

🔌 KSPElectronics

Your one-stop store for electronics & IoT components. Boards, sensors, modules, and DIY kits for makers and professionals.

🛒 Shop Now
WhatsApp Hire Me for IoT Projects
IoT Developer & Consultant
I provide end-to-end IoT development including ESP32, LoRaWAN, cloud dashboards, and custom hardware solutions. Chat with me on WhatsApp to discuss your project!
Top Posts

ESP8266-01 Pinout: A Comprehensive Guide to Pin Configuration

June 25, 2023

Raspberry Pi: How to Control a DC Motor with L298N and PWN on a Web Server

July 14, 2023

Get Started with Arduino: A Beginner’s Guide to the World of Electronics

June 7, 2023
Stay In Touch
  • Telegram

Subscribe to Updates

Get the latest tech news from FooBar about tech, design and biz.

WhatsApp Hire Me for IoT Projects
IoT Developer & Consultant
I provide end-to-end IoT development including ESP32, LoRaWAN, cloud dashboards, and custom hardware solutions. Chat with me on WhatsApp to discuss your project!
Most Popular

ESP8266-01 Pinout: A Comprehensive Guide to Pin Configuration

June 25, 2023

Raspberry Pi: How to Control a DC Motor with L298N and PWN on a Web Server

July 14, 2023

Get Started with Arduino: A Beginner’s Guide to the World of Electronics

June 7, 2023
Our Picks

Powerful Arduino Bluetooth Home Automation (HC-05 & KSP App Guide)

October 7, 2025

ESP32 MH-Z19B: Building a DIY CO₂ Monitor for Smarter Air Quality Projects

May 28, 2025

ESP32 vs Raspberry Pi Pico W: Which One Should You Choose for Your Next IoT Project? (2025 Ultimate Comparison Guide)

May 9, 2025

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

X (Twitter) Instagram YouTube WhatsApp
  • Book an Appointment
  • My Bookings
  • Support Us
© 2025 Circuit of Things. Designed by Sai Preetham Koyyala.

Type above and press Enter to search. Press Esc to cancel.