💾 Archived View for yaky.dev › 2019-05-01-weather-pi captured on 2023-09-28 at 15:48:58. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

➡️ Next capture (2024-03-21)

-=-=-=-=-=-=-

Yaky's

home

notes

apps

links

Weather Pi

Weather forecast display built from a salvaged LCD display, an old frame and a Raspberry Pi.

Displays current weather, temperature, humidity, and forecast for the next three days. Background color changes according to the current temperature and gets darker at night.

Weather for Midori on GitHub

weather-001.jpg

LCD display was salvaged from an old cheap tablet. It is a fairly standard part with 50-pin ribbon interface.

weather-002.jpg

Initial setup with the LCD display, LCD driver board, and a Raspberry Pi.

weather-dev.jpg

Weather is displayed via a simple web page running in Midori browser in kiosk (fullscreen) mode. Midori is a very finicky browser, thus JavaScript had to be written in a careful way, such as defining functions before using them and never using nested functions.

Data comes from OpenWeatherMap and is refreshed every hour. Font is Futura Round Bold, icons are Windows 8 style icons from Icons8.

weather-003.jpg

Prototype running.

weather-004.jpg

LCD display attached to a custom-cut picture mat.

weather-006.jpg

Picture mat, LCD, original frame's back panel, and a piece of laminate for mounting electronics. Back panel and mounting panel both have an opening for LCD's ribbon connector.

weather-007.jpg

All electronics assembled and attached to the mounting board. The system is powered by a 12V power supply which powers the LCD driver board. There is a separate step-down to 5V for Raspberry Pi.

weather-008.jpg

Final product.

CC-BY yaky.dev