ESP8266 Weather Station: World Clock Demo

ESP32 Development Board WiFi+Bluetooth Ultra-Low Power Consumption Dual Cores ESP-32 ESP-32S Board
Integrated antenna and RF balun, power amplifier, low-noise amplifiers, filters, and power management module. The entire solution takes up the least amount of printed circuit board area. This board is used with 2.4 GHz dual-mode Wi-Fi and Bluetooth chips by TSMC 40nm low power technology, power and RF properties best, which is safe, reliable, and scalable to a variety of applications.
Just in time for the beginning of the new year I added a demo for the WeatherStation which displays various world times together with a pretty icon. Just update the WeatherStation library in your Arduino IDE to the latest version or download it manually from here:
Then you can open the demo from File > Examples > ESP8266 Weather Station > WorldClockDemo

The used icons are designed by Adam Whitcroft:

Happy New Year!

Posted by squix78


    • Hi Matt. Yes, you can! I have hooked up three displays once and it works. But – and there is always a but – the performance suffers. You might experience slaggy animations. In that case I would suggest to get rid of the carousel animation and just display static images

  1. Hello Dani,

    did you use three displays with diffrent i2c adresses on 2 gpio pins or did you use 6 pins for own i2c comminication for every single display?


    • The displays that I'm using have the I2C address "hard coded". I guess if you would switch the bridge transistor on the back of the display you could run them from the same two pins. I just ran them of three different I2C bus pairs…

  2. Hi!
    When compile the examples, the compiler stop with this:
    exit status 1
    'drawFrame1' was not declared in this scope
    I am using Arduino version 1.6.7. Any idea?.

    • Hello,
      Arduino 1.6.7 works pretty good, if you place prototypes of your functions in *.ino in front.
      It's the simple solution for error "…was not declared in this scope"
      That's all.

  3. I had this demo world clock running successfully on my Lolin NodeMCU v3 for several days. Then today, after loading different sketches onto the NodeMCU, and then returning to the clock, it now displays ‘–:–‘ instead of the time in every zone.

    It’s possible I’ve made some minor change to one of the library components (while experimenting with other sketches), but I don’t know where to start looking, since the clock’s operation is so obscure (all the real work is done by ‘invisible’ modules, buried in libraries somewhere).

    It would be nice to have a detailed explanation of the sketch, and what modules do what functions.

    Any suggestions about where to start looking for the cause of my problem?


Leave a Reply