IOT Switch to Control Any Appliance Over WiFi
by ssiddharth in Circuits > Arduino
3132 Views, 11 Favorites, 0 Comments
IOT Switch to Control Any Appliance Over WiFi
![586b8b443dd33afb6c002f26.jpeg](/proxy/?url=https://content.instructables.com/FUQ/19A6/IXGFLZWJ/FUQ19A6IXGFLZWJ.jpg&filename=586b8b443dd33afb6c002f26.jpeg)
Implementation of power socket controlled over Wifi. Switch can be controlled either from a webpage or using Blynk App.
Materials Required
![electricity-type-G-socket-300x298.jpg](/proxy/?url=https://content.instructables.com/FLV/9B5O/IXAQ2RWF/FLV9B5OIXAQ2RWF.jpg&filename=electricity-type-G-socket-300x298.jpg)
![Relay-Shield-V2-for-WEMOS-D1-mini.jpg](/proxy/?url=https://content.instructables.com/FRD/H3LU/IXAQ2RX5/FRDH3LUIXAQ2RX5.jpg&filename=Relay-Shield-V2-for-WEMOS-D1-mini.jpg)
![HTB1BqP_HXXXXXXtXFXXq6xXFXXXc.jpg](/proxy/?url=https://content.instructables.com/F6V/DLNA/IXAQ2RWN/F6VDLNAIXAQ2RWN.jpg&filename=HTB1BqP_HXXXXXXtXFXXq6xXFXXXc.jpg)
![0015262_l.jpg](/proxy/?url=https://content.instructables.com/FV3/H8ON/IXAQ2RU5/FV3H8ONIXAQ2RU5.jpg&filename=0015262_l.jpg)
![electrical-wires-250x250.png](/proxy/?url=https://content.instructables.com/FVR/OI73/IXAQ2RVY/FVROI73IXAQ2RVY.png&filename=electrical-wires-250x250.png)
1. Power socket.
2. Wemos D1 Mini with Relay Shield.
3. Hard board box.
4. 3 Pin Plug.
5. Electrical wires.
Wiring
![IMG_20161231_225746.jpg](/proxy/?url=https://content.instructables.com/F46/YW13/IXAQ2S1E/F46YW13IXAQ2S1E.jpg&filename=IMG_20161231_225746.jpg)
Connect one end of the electrical wires to the 3 pin plug and other end to the socket. Terminate the live wire from Mains on the center terminal of relay and connect a wire from NO terminal of relay to the socket.
Program the Wemos D1 Mini
Click here for the program to control the socket from a web page. Alternatively, you can control the socket through the Blynk App as shown