Tuesday, April 21, 2026
HomeIoTOlivier Simard-Hanley's ePaper Image Body Pulls Photographs From Gmail through a Raspberry...

Olivier Simard-Hanley’s ePaper Image Body Pulls Photographs From Gmail through a Raspberry Pi

[ad_1]

Information scientist Olivier Simard-Hanley has put collectively an ePaper image body with a distinction: it pulls its imagery from a Gmail inbox, utilizing a Raspberry Pi Zero W.

“The body’s job is to show a picture from a set URL at particular intervals,” Simard-Hanley explains of the challenge. “There’s a Flask app hosted at this handle. At any time when it’s pinged, it pulls the most recent picture acquired in a Gmail inbox, with the assistance of the Gmail API and Auth 2.0.”

Delivered to our consideration by Adafruit, the challenge is cut up in two — three, for those who depend the {hardware}: A low-cost Raspberry Pi Zero W single-board laptop driving an ePaper show, mounted behind the glass of a pretty wood body.

The primary half of the challenge runs on the Raspberry Pi itself as a pair of Python scripts. The primary script edits pictures right into a format appropriate for the ePaper show, decreasing it right down to a two-tone shade palette and resizing it to an applicable decision. The second takes care of retrieving new pictures and displaying them on the ePaper panel itself, utilizing Waveshare’s EPD library.

The Python code talks to a server-side software operating on Google Cloud, additionally written in Python: The Flask app accountable for polling a Gmail inbox for brand spanking new pictures to show, utilizing Gmail’s read-only software programming interface (API), and making them obtainable to the image-processing code on the Raspberry Pi.

The complete supply code for the challenge has been printed to GitHub, beneath an unspecified open supply license. Simard-Hanley warns these trying to recreate it that they may want the {hardware}, a Google Developer account with Gmail API, and “a love for trial and error!”

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments