Voice Controlled Home Automation

Introduction

Voice Controlled Home Automation is a smart system that allows users to control home appliances using voice commands. Instead of manual switches, devices such as lights and fans can be turned ON or OFF through spoken instructions.

This project improves convenience, accessibility, and energy efficiency and is especially useful for elderly and physically challenged people.


Objective of the Project

  • To control home appliances using voice commands.
  • To understand voice recognition-based control.
  • To interface Bluetooth module with Arduino.
  • To automate home appliances using relays.

Working Principle

The system works on voice recognition and wireless communication.

How It Works

  1. User gives voice command through smartphone app.
  2. The app converts voice into text commands.
  3. Bluetooth module receives commands.
  4. Arduino processes the command.
  5. Relay switches control the appliances.

Components Required

  • Arduino Uno
  • Bluetooth Module (HC-05)
  • Relay Module (2-channel / 4-channel)
  • Smartphone with voice control app
  • Jumper Wires
  • Power Supply

Circuit Diagram

Bluetooth Module Connections

VCC -> 5V
GND -> GND
TX  -> RX (Arduino)
RX  -> TX (Arduino via voltage divider)

Relay Module Connections

IN1 -> D8 (Light)
IN2 -> D9 (Fan)
VCC -> 5V
GND -> GND

Arduino Code for Voice Controlled Home Automation

char command;

int relay1 = 8;
int relay2 = 9;

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

void loop() {
  if (Serial.available()) {
    command = Serial.read();

    if (command == 'A') digitalWrite(relay1, HIGH); // Light ON
    else if (command == 'a') digitalWrite(relay1, LOW); // Light OFF
    else if (command == 'B') digitalWrite(relay2, HIGH); // Fan ON
    else if (command == 'b') digitalWrite(relay2, LOW); // Fan OFF
  }
}

Code Explanation

  • Bluetooth receives voice command.
  • Arduino decodes received character.
  • Relay switches control appliances.
  • Commands are mapped to actions.

Advantages

  • Hands-free control
  • Easy to operate
  • Affordable smart home solution
  • Energy efficient

Applications

  • Smart homes
  • Assistive technology
  • Home automation systems
  • Smart buildings

Future Enhancements

  • Google Assistant / Alexa integration
  • Wi-Fi based control
  • Mobile app dashboard
  • Sensor-based automation

Conclusion

Voice Controlled Home Automation is a modern and user-friendly project that demonstrates how voice technology can simplify daily life. It is an excellent project for learning smart home automation and IoT concepts.

Leave a Reply

Shopping cart

0
image/svg+xml

No products in the cart.

Continue Shopping