ESP8266 Weather Station: World Clock Demo

Do you like this post? Writing posts, developing libraries and programming online font creators is actually hard work. I order most of my electronics from a Chinese website called Banggood. It is save and the items usually arrive in good quality. With every order you do there by following this link you are supporting the blog. Thank you!

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: https://github.com/squix78/esp8266-weather-station
Then you can open the demo from File > Examples > ESP8266 Weather Station > WorldClockDemo

The used icons are designed by Adam Whitcroft: http://adamwhitcroft.com/offscreen/

Happy New Year!

Posted by squix78

12 comments

    • 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
      Cheers,
      Dani

  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?

    regards
    Marco

    • 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?

    Thanks,
    DanielF

Leave a Reply