This is a very simple project to test a display connected to an ESP8266. It was so easy I went to the next level to turn it into a timepiece.
As you might guess, I get some typical comments - "Is that a bomb?" :)
The steps are pretty easy.
While I am using a nice LiFePO battery, you could use any other 3.3v power source. Connect your power + to the ESP VIN and OLED VCC. Connect your - to GND on both boards.
Now cross-connect your ESP D1 to the OLED SDA and the ESP D2 to SCL. You should be all set!
Connect the ESP to esplorer or your favorite way to program IT, and load clock1.lua the code in the code section. Not that this is LUA code. I highly recommend esplorer.
Make an adjustment to the code to connect to your wifi.
This program connections to your wifi, and then gets the time. Then displays the time. Magic! How can you expand this code to make this watch smarter? Add a temperature sensor? Or have it get more data from the Internet? Show me what you can do!