BE CAREFUL WHEN WORKING WITH 120V. IF YOU ARE NOT EXPERIENCED OR SUPERVISED BY A PRO, PLEASE ASK FOR SOME HELP. 120V HURTS!
Step 1: HOW TO BUILD YOUR OWN WIFI POWER STRIP
I wanted to find a way to make my apartment smart without investing a lot of money. That’s why I have decided to make a wifi power strip that I can control over my phone. In this instructable, you will learn to build a wifi power strip and make any device smart while controlling it from your cellphone.
Step 2: Supplies
Step 1 Get all of the materials in the list.
4 channel relay
Wifi arduino controller (ESP8266 ESP-12E NodeMCU Using Arduino IDE)
Step 3: Dismantel the Power Strip.
Cut the metal gold strip between the plugs to separate the conection in order to control them independently.
Step 4: Connections
This part is tricky. Be extra careful when plugin in to the wall.
First grab the in cable from the wall and add 4, 16 gage wires. Connect 4 wires to 3 plugs on the same side and 1 usb side.
Connect 4, 16 gage to the other side of the 3 plugs and the usb wire.
Connect those four wires to the relay slots. Use only the sides on the relay.
Connect 4 wires to the other side of the relay and then to the 16 gage wire that goes to the wall.
Finally connect the ground to the ground in the wire that goes to the wall.
Step 5: Connecting to the ESP8266 ESP-12E NodeMCU Using Arduino IDE
Download the softwares for the wifi board.
Use the 5v to power the relay.
Use d1-d4 to control the relays.
Ground from the relay to ground from the wifi board.
Step 6: Code
Step 7: Video