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 TrueType font into a bitmap font readable by the display library. In the example below you see the Stencil Std font. Looks pretty, isn’t?
What features are you missing on the WeatherStation? Write a tweet or a comment to this post and share your thoughts!

Thanks again to @mikerankin for sending me his beautiful ESP-01 based “one-board” display! You can find the layout for his PCB here:

Preview of the new display library for ESP8266 and SSD1306 based
OLED library. Stencil font displayed on @mikerankin ‘s board creation

By the way, the WeatherStation Kit is available at the shop:

Posted by Daniel Eichhorn

Daniel Eichhorn is a software engineer and an enthusiastic maker. He loves working on projects related to the Internet of Things, electronics, and embedded software. He owns two 3D printers: a Creality Ender 3 V2 and an Elegoo Mars 3. In 2018, he co-founded ThingPulse along with Marcel Stör. Together, they develop IoT hardware and distribute it to various locations around the world.


    • Ignorance is a bliss, so please excuse my unqualified questions:-). How do you write a String in the Arduino environment in hebrew? Is this just myHebrewString = "-hebrew characters here-"?

  1. I would like a 3-day weather forcast shown on the oled.

    Also maybe connected 1 button to freeze the current screen, so it doesn't constantly flip. Also where in the code can the screen "flipping" speed be adjusted?

    Nice fonts!

    Besides that maybe a suggestion for a separate project, if it could somehow tie in with G-Calendar, G-mail, G-Keep or maybe Evernote and display stuff :)..If they output stuff as an json database.

    • Thank you for the feedback. The 3-day weather forecast will definitely be part of the next release, I'm working on it now. With the method setFrameWaitTicks(numberOfTicksToWait) you can define how many times nextFrameTick() will be called before the transition to the next frame starts. About G-Mail and G-Cal: I have been looking into this but haven't found a solution yet that is easy to setup for an average user and works without SSL. But I think SSL is in the works for the Arduino/ESP8266 platform, so maybe that restriction will change soon…

  2. Sehr schöne Bastelei, werde es auf jeden Fall nachbauen. Leider gibt es keine bezahlbaren größeren OLED Displays. Danke dir! PS. WLAN-Personenwaage ist auch in Planung 😉

Leave a Reply