I am using Arduino UNO to write my code and control Electrical appliances connected to it.
The steps I followed in connecting hardware.
- The bulb is supplied with 12V DC and grounded. SPDT switch is used to differentiate 12V and 5V supply.
- The optocoupler is connected to isolate Microprocessor from 12V supply.
- IR receiver is connected to Arduino UNO.
- DC motor is connected to the motor driver and then to Arduino.
- remote is used to control destination appliances.
