Welcome to Kerala Project Center.
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.
// 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"
}
}
Monday - Saturday: 9:00 AM - 5:00 PM
Sunday: Not Working
2nd Floor, Comptron Arcade, Kallattumukku,
Thiruvananthapuram, Kerala 695012
+91 9633118080