7Mini Weather Forecaster

In this project, you’re going to build a weather forecaster that displays the day’s weather for your location on an OLED display. You’ll learn how to make API requests, which are really useful for projects that rely on frequently updated data, and how to use an OLED display.

image

PARTS REQUIRED

Raspberry Pi

Breadboard

0.96-inch OLED display

Jumper wires

SOFTWARE REQUIRED

Adafruit_SSD1306 library

INTRODUCING THE OLED DISPLAY

The organic light-emitting diode (OLED) display this project uses is the SSD1306 model: a monocolor, 0.96-inch display with 128×64 pixels, shown in Figure 7-1. Compared to the LCD, which has a reserved space ...

Get 20 Easy Raspberry Pi Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.