Trending
New AI method can support real-time management of infectious diseases is trending now Katsina Government Opens New Diphtheria Isolation, Treatment Centre is trending now Role of ethics education in accounting fraud prevention is trending now Even ancient bacteria possessed intercellular communication structures like humans today,… is trending now NASA inaugurates first telescope named after female scientist is trending now Salah's successor arrives at Anfield: Liverpool sign Barcola in a historic deal is trending now Aston Villa vs Arsenal: Shearer predicts Monday’s EPL fixture is trending now Man City agree £65m deal for Everton's Ndiaye is trending now Barcelona's comeback against Rayo Vallecano reminds Real Madrid of a painful past is trending now Ikogosi Resort partners AFRIMMA to promote Nigeria’s tourism is trending now Mindustry Conference Partners Warner Music Africa/Africori For Fifth Edition, Opens Regis… is trending now BBNaija S11: Aikou, Flora Risk Losing Gambit Status is trending now New AI method can support real-time management of infectious diseases is trending now Katsina Government Opens New Diphtheria Isolation, Treatment Centre is trending now Role of ethics education in accounting fraud prevention is trending now Even ancient bacteria possessed intercellular communication structures like humans today,… is trending now NASA inaugurates first telescope named after female scientist is trending now Salah's successor arrives at Anfield: Liverpool sign Barcola in a historic deal is trending now Aston Villa vs Arsenal: Shearer predicts Monday’s EPL fixture is trending now Man City agree £65m deal for Everton's Ndiaye is trending now Barcelona's comeback against Rayo Vallecano reminds Real Madrid of a painful past is trending now Ikogosi Resort partners AFRIMMA to promote Nigeria’s tourism is trending now Mindustry Conference Partners Warner Music Africa/Africori For Fifth Edition, Opens Regis… is trending now BBNaija S11: Aikou, Flora Risk Losing Gambit Status is trending now
Technology

The Cutest Weather Forecast on E-Ink and ESP32

The Cutest Weather Forecast on E-Ink and ESP32

There’s a famous book that starts: “It is a truth universally acknowledged that a man in possession of a good e-ink display, must be in want of a weather station.” …read more

A photo of the cats and the generated image

There’s a famous book that starts: “It is a truth universally acknowledged that a man in possession of a good e-ink display, must be in want of a weather station.” — or something like that, anyway. We’re not English majors. We are, however, major fans of this feline-based e-ink weather display by [Jesse Ward-Bond]. It’s got everything: e-ink, cats, and AI.

The generated image needs a little massaging to look nice on the Spectra6 e-ink display.

AI? Well, it might seem a bit gratuitous for a simple weather display, but [Jesse] wanted something a little more personalized and dynamic than just icons. With that in the design brief, he turned to Google’s Nano Banana API, feeding it the forecast and a description of his cats to automatically generate a cute scene to match the day’s weather.

That turned out to not be enough variety for the old monkey brain, so the superiority of silicon — specifically Gemini–was called upon to write unique daily prompts for Nano Banana using a random style from a list presumably generated by TinyLlama running on a C64. Okay, no, [Jesse] wrote the prompt for Gemini himself. It can’t be LLM’s all the way down, after all. Gemini is also picking the foreground, background, and activity the cats will be doing for maximum neophilia.

Aside from the parts that are obviously on Google servers, this is all integrated in [Jesse]’s Home Assistant server. That server stores the generated image until the ESP32 fetches it. He’s using a reTerminal board from SeedStudio that includes an ESP32-S3 and a Spectrum6 coloor e-ink display. That display leaves something to be desired in coloration, so on top of dithering the image to match the palette of the display, he’s also got a bit of color-correction in place to make it really pop.

If you’re interested in replicating this feline forecast, [Jesse] has shared the code on GitHub, but it comes with a warning: cuteness isn’t free. That is to say, the tokens for the API calls to generate these images aren’t free; [Jesse] estimates that when the sign-up bonus is used up, it should cost about fourteen cents a pop at current rates. Worth it? That’s a personal choice. Some might prefer saving their pennies and checking the forecast on something more physical, while others might prefer the retro touch only a CRT can provide. 

View original source →

Related

More from Hackaday Blog