This is a prototype of smart light, to work with the 220V AC appliance you can refer Bluetooth Appliance. The code for the same will be uploaded soon.
Here I'll be using simply a LED and will turn ON or OFF according to the requirement.
| Name | Quantity |
|---|---|
| LED | 1 |
| Resistor (270 Ohm) | 1 |
| Breadboard | 1 |
| Jumper wire | 2 |
| Arduino Board* | 1 |
*Any Arduino Board will work
Anode of LED- Connect it to any digital PIN;
Cathode of LED- Connect it to ground through a 270 ohm Resistor.