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: https://github.com/mike-rankin/ESP8266_OLED_Display
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: https://shop.squix.ch
Can you share the java code for more fonts. Can it support hebrew? do you have code to display Rtl?
I will share it when it is ready. Currently it is a bit rough around the edges. I think hebrew should work. How does hebrew translate to Ascii ? Are there fonts with hebrew charachters in the char range from 32-127? The code is currently based on ASCII chars only…
Hebrew is basically 05D0 to 05FF as seen in http://www.theiling.de/projects/liqmean-block.pdf I also have a fnt file
I would be ok with just replacing the ab with alef bet (hebrew) so I can write hebrew (need 5×7)
sorry, also adding from asci id 224 is ok too 🙂
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-"?
Double ignorance is double bliss? I do not know, there are no fonts in hebrew that I find, I just found http://www.rasher.dk/rockbox/fonts/hebrew/ so I want to head to that, that is why i want to replace regular english chars with hebrew…
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…
I saw your latest youtube clip, really nice work! Making the project even more awesome :).
What about the button idea for screen freezing, whats your opinion on that? 😀
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 😉
Hi Dani,
How to generate a new font hex values?
thanks,
I have the same question
How to generate a new font hex values?
I have the same question
How to generate a new font hex values?