← Back to Project Vault

DCDC PROJECT HUB

Home Automation with Voice Control

2ND YEARAutomationEASY

Problem statement

Traditional switches require physical access and are not convenient for elderly or physically challenged users. There is no simple way to monitor and control appliances remotely.

Abstract

This project implements a basic home automation system in which an ESP32 or similar Wi-Fi controller is connected to relay modules that switch AC loads. The controller communicates with a cloud server or MQTT broker. Users can control appliances through a mobile app or voice assistants like Google Assistant or Alexa.

Components required

  • ESP32 or NodeMCU ESP8266 board
  • Relay module for AC loads
  • Lamps, fans or sockets as loads
  • Mobile app or web interface
  • MQTT broker or HTTP server
  • Smartphone with voice assistant
  • Power supply and wiring accessories

Block diagram

User (Mobile App / Voice Command)
Cloud Server / MQTT Broker
ESP32 / Wi-Fi Controller
Relay Module
Home Appliances

Working

User commands reach the cloud server or MQTT broker from the mobile app or voice assistant service. The ESP32 maintains a persistent connection to the server and subscribes to control topics. When a message is received, the relevant GPIO is toggled to switch the relay and appliance. The controller can also publish status of each load back to the app.

Applications

  • Smart home and hostel rooms
  • Assisted living for elderly or disabled users
  • Energy efficient lighting control
  • Entry level IoT and automation demo