Usually, the problem comes before the solution, but for [Stavros], the opposite happened. A 4.7″ E-Ink screen with integrated battery management and ESP32 caught his eye, and he bought it and started thinking about what he wanted to do with it. The Timeframe is a sleek desk calendar based around the integrated e-ink screen.
[Stavros] found the device’s MicroPython support was a little lackluster, and often failed to draw. He found a Platform.io project that used an older but modified library for driving the e-ink display which worked quite well. However, the older library didn’t support portrait orientation or other niceties. Rather than try and create something complex in C, he moved the complexity to a server environment he knew more about. With the help of CoPilot, he got some code that would wake up the ESP32 every half hour, download an image from a server, and then display it. A Python script uses a headless browser to visit Google Calendar, resize the window, take a screenshot, and then upload it.
The hardest part of the exercise was getting authentication with Google working reliably. A white sleek 3D printed case wraps the whole affair in an aesthetically pleasing shell. So far, this has been a great story of someone building something for themselves and using their strengths. Where’s the hack?
The hack comes when [Stavros] tried squeezing his calendar into a case that was too tight and cracked the screen. Suddenly a large portion of the screen wouldn’t draw. He turned what was broken into something new by mapping out the area that didn’t draw and converting the Python to draw weather information with Pillow rather than screenshot a webpage: clever reuse and a way to make good out of a bad accident.
The code is up on GitLab, and the 3D files for the case are available on Printables. You can also find the project on Hackaday.io, as it was an entry into our recently concluded Low-Power Contest. Unfortunately, while the Timeframe is pretty power efficient, it doesn’t last as long as this calendar with a 50-year battery life.
“Please be kind and respectful to help make the comments section excellent.”
I immediately thought of the uses of this board from LiliyGO, and hadn’t notice it when it came out. But unfortunately they no longer sell it – they have swapped to a ‘new’ version that dropped the on board 18650 battery holder.. that’s a shame…..
I bought the 18650 version on Tindie
https://www.tindie.com/products/lilygo/lilygo-t5-47-inch-e-paper-esp32-v3-version/
thanks, I just bought the last two!
and I’ll have a go in C when it arrives… More to the point, I’ll give it to my son to have a go..
Isn’t this it? https://www.lilygo.cc/products/t5-4-7-inch-e-paper?variant=42341031477429
earlier today they had no stock, and had a link to the new version without the 18650 available!