“A Raspberry Pi Pico based device displaying time, temperature, and ChatGPT-generated poems or jokes at set intervals.
Poetic Ticks is an innovative and multi-functional device that marries the practicality of a digital clock and thermometer with the whimsy of a joke and poem generator. This project is driven by the Raspberry Pi Pico, a compact and versatile microcontroller board, and utilizes the capabilities of ChatGPT, an advanced language model developed by OpenAI. For network connection I am using WIZnet’s W5100S in a WIZ810SMJ module. It is possible to replace the boards with WIZnet Ethernet HAT or W5100S/W5500-EVB-Pico.
Upon initialization, Poetic Ticks synchronizes its time with an NTP server to ensure accurate timekeeping. It then displays the current time and temperature on an LCD screen, providing users with essential information at a glance. The temperature is measured using a digital temperature sensor interfaced with the Raspberry Pi Pico.
But Poetic Ticks offers more than just time and temperature readings. At every specified interval, the device sends a request to ChatGPT via OpenAI’s API to generate a poem or a joke. The generated content is then displayed on the same LCD screen, infusing a touch of humor or poetry into the user’s day.”