ESP8266 Weather Station on the “Big Screen”

The 0.96″ OLED displays I usually use for the WeatherStation are gorgeous but they could be bigger, right? Recently a bigger version of the SSD1306 based display became available on my favourite channels. Thanks to great work of the community (especially Fabrice Weinberg) the OLED library on Github  as been extended to support those 1.3″.....

ESP8266 Oled Display library: How to customize fonts

Many people were asking me to publish the code that creates the font files used in the SSD1306 OLED library. Well, I was hesitating since the code was a bit hacky. So I sat down and created an online tool which is now open for Beta testing. It allows you to select a font from a list of integrated Apache licensed files, choose font size and style (plain, italic, bold) and then create the C file which you can copy paste into your Arduino IDE. A.....

ESP8266: Fixing extended ASCII issues in SSD1306 OLED library

I got a few complaints that the esp8266-oled-ssd1306 library does not handle special characters such as Umlauts properly. It turns out that the Arduino IDE does handle characters in the extended ASCII range (from 128-256) as UTF8 characters which means that Strings containing such characters can take more space than the bare number of symbols in it. For instance the degree character (°) will be represented as two chars with values 0xC2 .....

ESP8266 Feature Preview: More Fonts for the Weather Station!

I’m working on a new version of the Weather Station code. The first shot was the jason-streaming-parser library which allows me to fetch bigger objects directly from the source without the need of an proxy PHP script. The next step is to add more features to the display library. One is to allow more fonts and sizes. The current version only has one font and two sizes. For this I wrote a little Java program which converts any given.....

ESP8266, NodeMCU: how to create xbm images for displaying on OLED 128×64 I2C Displays

Do you know these wonderfully cheap SSD1306 based OLED displays with the crispy display? For a while now the NodeMCU Lua firmware for the ESP8266 supports them and has a rich feature set to draw lines, circles and even bitmaps. One way to draw bitmaps is in the XBM format, which is originally a text based format and they can be directly included into C code: #define clouds_width 60 #define clouds_height 60 static.....