Electric socket with WiFi connection capabilities. Cheaper alternative for many already existing solutions (like Kankun WiFi socket).
Code used here is based on nodemcu-httpserver. Most information provided there applies to this project.
- ESP-01 Module like this
- AC-DC Power Supply Module like this
- 5V To 3.3V DC-DC Step-Down Power Supply Module like this
- 5V Relay like this
- Tactile Button like this
- LED Diode like this
- Socket Enclosure like this
- 1000uF capacitor
- 10kOhm and 220Ohm resistors
- Other things like soldering station, soldering iron, etc.
Presented steps are not obligatory. I only show my way of creating WiFi Socket.