Voice controled home automation using Arduino over Bluetooth
REQUIRED PARTS Arduino uno jumpers LCD 16x2 HC-05 Bluetooth module Relay Breadboard Bulb Holder The circuit /* The circuit: * LCD RS pin to digital pin 12 * LCD Enable pin to digital pin 11 * LCD D4 pin to digital pin 10 * LCD D5 pin to digital pin 9 * LCD D6 pin to digital pin 8 * LCD D7 pin to digital pin 7 * LCD R/W pin to ground * LCD VSS pin to ground * LCD VCC pin to 5V * 10K resistor: * ends to +5V and ground * wiper to LCD VO pin (pin 7) *green light digital pin 4 *blue light digital pin 3 *red light digital pin 2 *bulb/ light digital pin 5 *fan digital pin 6 */ program code #include<SoftwareSerial.h> #include<LiquidCrystal.h> SoftwareSerial bluetooth(0,1); LiquidCrystal lcd(12, 11, 10, 9, 8, 7); short int red = 2,blue = 3,green = 4,light = 5, fan = 6; String command; void setup(){ ...