Here is a little venture I made for a companion of mine. Its a programmable hand-off/clock. All hand-off circumstances are included utilizing the web interface. It just uses 2 segments, 4 Dupont wires, and a 5-volt divider wart. The principal module is from Olimex and has an ESP8266-EVB with 2M, control supply, catch, transfer and gpio pins. The show is an I2C module from Adafruit. The Olimex board has the pullups on GPIO 2 and GPIO 4 as of now for the I2C (how helpful). There are more things that can be included obviously, as diminish the show with a slider or at a specific time, or disposing of the 30-second start up time, and so forth. I am not the best coder, so on the off chance that you see something that can be enhanced, please told me.

When you initially control it up and it hasn't associated with your wifi organize, it will show 192 then 168 then 4 then 1, at that point you would interface with the AP and go to 192.168.4.1 in your program. It will show a straightforward website page to request your wifi information at that point reboot. It will then show the IP address so you can interface with it utilizing a program. It will then simply show the present time and check each second to check whether the hand-off ought to be on or off. It will likewise modify for the light investment funds time. You can likewise flip the hand-off from the site page. The stand is 1/8" acrylic that was twisted utilizing a hotwire drinking spree. Other than assembling the adafruit show, there is no other binding vital.

The on board catch has 2 operations. On the off chance that you squeeze it rapidly, it will flip the transfer. On the off chance that you hold it for over 2 seconds and discharge, it will show its IP address in the event that you overlook it.