Welcome to Kerala Project Center.

Voice-Controlled Light

Voice-Controlled Light

Smart room lighting controlled from a phone

Physically reaching a switch isn't always convenient, and touchless control has genuine appeal for accessibility and hands-free convenience alike.

This project uses a dedicated voice recognition module trained on a small set of predefined commands ("light on," "light off," "dim") to control room lighting through Arduino and a relay, without needing a smartphone app or internet connection.

How It Works

  • A voice recognition module (e.g. Elechouse V3) is trained offline on a small set of specific command phrases spoken by the user.
  • When the module recognizes a trained command, it sends a corresponding signal to the Arduino over serial.
  • The Arduino maps each recognized command to a relay action — turning the light on, off, or (with a dimmer circuit) adjusting brightness.
  • Because recognition is trained and matched locally on the module, no internet connection or cloud speech service is required.

Components



Arduino Uno
Voice recognition module (Elechouse V3 or similar)
Relay module
Optional: TRIAC-based dimmer circuit for brightness control
LED indicator (command acknowledgment)


Applications

  • Hands-free home lighting control
  • Accessibility aid for users with limited mobility
  • Demonstration of offline voice command recognition

Advantages

  • Works entirely offline — no internet or cloud speech service dependency
  • Simple, low-cost voice interface compared to full smart-speaker integration
  • Extendable to control more than lighting with additional trained commands

Sample Code — Voice Command to Relay Mapping



// Simplified voice command relay control - Arduino
int relayPin = 7;
int voiceModuleSignal = 2; // digital pin from voice module for a matched command

void setup() {
  pinMode(relayPin, OUTPUT);
  pinMode(voiceModuleSignal, INPUT);
  Serial.begin(9600); // voice module command index over serial (module-specific)
}

void loop() {
  if (Serial.available()) {
    int cmd = Serial.read(); // command index trained on the voice module
    if (cmd == 1) digitalWrite(relayPin, HIGH); // "light on"
    if (cmd == 2) digitalWrite(relayPin, LOW);  // "light off"
  }
}


Related Research


Hours

Monday - Saturday: 9:00 AM - 5:00 PM
Sunday: Not Working

Location

2nd Floor, Comptron Arcade, Kallattumukku,
Thiruvananthapuram, Kerala 695012

Book Now

+91 9633118080