Guides · 8 min read

Raspberry Pi Pico W Weather Station: OLED, Open-Meteo, Icons

Build a Raspberry Pi Pico W weather station in MicroPython: fetch Open-Meteo JSON, show temperature and icons on an SSD1306 OLED and auto-reconnect Wi-Fi.

A Raspberry Pi Pico W weather station uses the board's built-in Wi-Fi to pull the current weather from the internet and show the temperature, a weather icon and the next few hours' forecast on a small OLED screen. You don't need any sensors: the data comes as JSON from Open-Meteo, a weather service that requires no API key, you read it with MicroPython's requests module (formerly urequests) and draw it on an SSD1306 OLED. The whole parts list is a Pico W, a 0.96-inch I2C OLED and four jumper wires.

In this guide you'll connect the Pico W to Wi-Fi, read Open-Meteo's JSON response step by step, turn WMO weather codes into sun, moon, cloud, rain, snow and lightning icons, and lay out a screen with a large temperature readout and a three-hour forecast. In the last part we'll cover the two things a device needs to run on its own for months: refreshing the data every hour and reconnecting automatically when Wi-Fi drops.

Raspberry Pi Pico development board
Raspberry Pi Pico: the weather display needs the Pico W or Pico 2 W version with the wireless chip; the pinout is the same as on the plain Pico.

How does a Pico W weather station work?

The system works in four steps. When the Pico W starts, it joins your home network. It then sends Open-Meteo an HTTP request containing your latitude and longitude, and the server answers with a few hundred bytes of JSON text. MicroPython turns that text into a dictionary with r.json(), and you read the temperature, the weather code and whether it's day or night from it. In the last step the values are drawn on the OLED and the Pico waits until the next refresh. Open-Meteo updates its current conditions every 15 minutes and allows up to 10,000 requests a day for non-commercial use without signing up; one request per hour is far below that limit.

PartQtyNote
Raspberry Pi Pico W or Pico 2 W1The plain Pico without Wi-Fi won't work for this project
0.96-inch SSD1306 I2C OLED (128×64)1I2C address is usually 0x3C
Jumper wires4For GND, 3V3, SDA and SCL
Micro USB cable and 5 V USB charger1Must be a data cable; a charger for 24/7 use
2.4 GHz Wi-Fi network-The Pico W can't join 5 GHz networks

OLED wiring: Pico W pinout table

OLED pinPico W pinPhysical pin no.Function
GNDGND38Common ground
VCC3V3(OUT)36Display power (3.3 V)
SCLGP5 (I2C0 SCL)7Clock line
SDAGP4 (I2C0 SDA)6Data line
Connect the OLED to the Pico's 3V3(OUT) pin, not VBUS (5 V), so the I2C lines also stay at 3.3 V. On some OLED modules the pin order is VCC-GND instead of GND-VCC; reversing the power kills the display, so read the labels on the board before wiring it. You can use other I2C0 pin pairs instead of GP4 and GP5, but then you have to change the pin numbers in the code too.
0.96-inch I2C OLED display SSD1306
0.96-inch SSD1306 OLED: 128×64 pixels and only four wires; sharp enough for weather icons and large digits.

Setup: MicroPython, Thonny and the ssd1306 driver

  1. Hold the Pico W's BOOTSEL button while plugging it into USB, then drag the MicroPython UF2 file built for the Pico W (RPI_PICO_W; RPI_PICO2_W for the Pico 2 W) onto the drive that appears. Details are in the Pico W Wi-Fi and Web Server guide.
  2. Open Thonny and choose MicroPython (Raspberry Pi Pico) as the interpreter in the bottom-right corner.
  3. Run the test script below, and once the board is on Wi-Fi type import mip; mip.install("ssd1306") in the Shell; the driver is installed into the Pico's lib folder. You can also download ssd1306.py from the micropython-lib repository and copy it to the Pico by hand.
  4. Change SSID, PASSWORD, LAT and LON in the code to match your network and city; you can copy your coordinates by long-pressing or right-clicking your location in any map app.
  5. Save icons.py and main.py to the Pico. Naming the program main.py makes it start automatically every time the Pico powers up.

Step 1: connect to Wi-Fi and fetch data from Open-Meteo

Before touching the display, let's make sure the data arrives. The script below connects the Pico W to Wi-Fi, requests the current weather for London and prints the values in the Shell. The current= parameter in the URL selects which current values you want, and timezone=auto makes the times arrive in the location's local time. If Wi-Fi doesn't connect within 20 seconds, the script prints the connection status and stops: a wlan.status() of −3 means a wrong password, −2 means the network wasn't found.

Python
1import network
2import time
3try:
4    import requests                    # yeni MicroPython / newer MicroPython
5except ImportError:
6    import urequests as requests       # eski sürümler / older releases
7
8SSID = "YourWiFi"                      # Wi-Fi adın / your Wi-Fi name
9PASSWORD = "YourPassword"              # Wi-Fi şifren / your Wi-Fi password
10URL = ("http://api.open-meteo.com/v1/forecast?latitude=51.51&longitude=-0.13"
11       "&current=temperature_2m,relative_humidity_2m,weather_code,is_day"
12       "&timezone=auto")               # Londra / London
13
14wlan = network.WLAN(network.STA_IF)
15wlan.active(True)
16wlan.connect(SSID, PASSWORD)
17for _ in range(20):                    # en fazla 20 sn bekle / wait up to 20 s
18    if wlan.isconnected():
19        break
20    time.sleep(1)
21if not wlan.isconnected():
22    raise SystemExit("Wi-Fi failed, status %d" % wlan.status())
23print("IP:", wlan.ifconfig()[0])
24
25r = requests.get(URL)
26data = r.json()                        # JSON metni -> sözlük / JSON text -> dict
27r.close()                              # bağlantıyı mutlaka kapat / always close the connection
28
29now = data["current"]
30print("Time:", now["time"])
31print("Temperature:", now["temperature_2m"], "C")
32print("Humidity:", now["relative_humidity_2m"], "%")
33print("WMO code:", now["weather_code"], "day" if now["is_day"] else "night")

Reading Open-Meteo's JSON response

requests.get() returns the server's reply as a Response object, and r.json() turns the text into a Python dictionary. The current values you asked for are grouped under the current key, while hourly forecasts arrive under hourly as lists of equal length: hourly["time"][5] is 05:00, and hourly["temperature_2m"][5] is the temperature at that hour. Calling r.close() after every request matters; connections that are never closed use up memory and sockets within a few hours and the Pico freezes.

JSON fieldExample valueMeaning
current.time"2026-12-05T14:15"Time of the reading (local time)
current.temperature_2m8.4Temperature 2 m above ground (°C)
current.relative_humidity_2m81Relative humidity (%)
current.weather_code61WMO weather code (61 = slight rain)
current.is_day11 for day, 0 for night
hourly.time["2026-12-05T00:00", ...]List of hours starting at 00:00 today
hourly.temperature_2m[6.1, 5.8, ...]Forecast temperature for each hour

You can tailor the response by adding a few parameters to the URL. temperature_unit=fahrenheit returns temperatures in °F, and wind_speed_unit=mph or ms changes the wind speed unit; for wind just add wind_speed_10m to the current list, for rain add precipitation. If you want a shorter hourly list you can lower forecast_days, but near midnight you need at least 2 days so the next hours are still in the list. The smaller the response, the shorter the download and the less memory JSON parsing takes; with Wi-Fi running the Pico W still has well over 150 KB of RAM available, which is plenty for this project.

Weather codes and icons: the WMO code table

Open-Meteo doesn't describe the weather in words but with numeric codes from the World Meteorological Organization (WMO). On a small screen, grouping the codes and drawing one icon per group saves both memory and effort compared with storing a separate image for every code. The table below shows the mapping used in this project. The on-screen labels are short English words, because the OLED's built-in font only covers basic ASCII.

WMO codeMeaningIcon on screenLabel
0Clear skySun (moon at night)Clear
1, 2Mainly clear, partly cloudySun or moon behind a cloudPartly
3OvercastCloudCloudy
45, 48Fog, depositing rime fogHorizontal linesFog
51–57Drizzle, freezing drizzleCloud and two dropsDrizzle
61–67Rain, freezing rainCloud and four dropsRain
71–77Snow, snow grainsCloud and snowflakesSnow
80–82Rain showersCloud and four dropsShowers
85, 86Snow showersCloud and snowflakesSnow
95–99Thunderstorm, hailCloud and lightningStorm

Step 2: drawing the icons (icons.py)

Instead of storing icons as image files, we draw them in code with framebuf's drawing functions: ellipse() makes the sun, the moon and the cloud puffs, line() draws sun rays, raindrops and lightning, and hline() and vline() draw fog lines and snowflakes. Each icon fits in a 32×32-pixel square, and the draw() function picks the right one for the weather code. In the partly cloudy icon the cloud is first drawn in black, which leaves a one-pixel gap between sun and cloud so the icon doesn't turn into a single blob. ellipse() is available from MicroPython 1.20 onwards; if you're on an older release, update the UF2 first. Save this file to the Pico as icons.py.

Python
1# icons.py: 32x32 hava simgeleri ve etiketler / 32x32 weather icons and labels
2
3
4def sun(d, x, y):
5    d.ellipse(x + 16, y + 16, 7, 7, 1, True)                     # güneş gövdesi / sun disc
6    for dx, dy in ((0, -1), (1, -1), (1, 0), (1, 1), (0, 1), (-1, 1), (-1, 0), (-1, -1)):
7        k = 7 if dx and dy else 10                               # çapraz ışınlar kısa / shorter diagonals
8        d.line(x + 16 + dx * k, y + 16 + dy * k, x + 16 + dx * (k + 4), y + 16 + dy * (k + 4), 1)
9
10
11def moon(d, x, y):
12    d.ellipse(x + 16, y + 16, 10, 10, 1, True)
13    d.ellipse(x + 21, y + 12, 9, 9, 0, True)                     # siyah daireyle hilal / crescent cut-out
14
15
16def cloud(d, x, y, c=1):
17    d.ellipse(x + 11, y + 18, 7, 6, c, True)
18    d.ellipse(x + 19, y + 13, 8, 8, c, True)
19    d.ellipse(x + 25, y + 19, 6, 5, c, True)
20    d.fill_rect(x + 4, y + 19, 27, 5, c)                         # düz taban / flat base
21
22
23def partly(d, x, y, is_day):
24    if is_day:
25        d.ellipse(x + 22, y + 8, 5, 5, 1, True)                  # küçük güneş / small sun
26        d.vline(x + 22, y, 2, 1)
27        d.hline(x + 29, y + 8, 3, 1)
28    else:
29        d.ellipse(x + 22, y + 8, 6, 6, 1, True)                  # küçük ay / small moon
30        d.ellipse(x + 25, y + 5, 5, 5, 0, True)
31    for dx, dy in ((-1, 0), (1, 0), (0, -1)):
32        cloud(d, x + dx, y + 6 + dy, 0)                          # siyah kenar boşluğu / black outline gap
33    cloud(d, x, y + 6)
34
35
36def rain(d, x, y, drops):
37    cloud(d, x, y - 2)
38    for i in range(drops):
39        cx = x + 8 + i * (24 // drops)
40        d.line(cx, y + 25, cx - 3, y + 31, 1)                    # eğik damla / slanted drop
41
42
43def snow(d, x, y):
44    cloud(d, x, y - 2)
45    for cx in (x + 9, x + 17, x + 25):
46        d.hline(cx - 2, y + 28, 5, 1)                            # küçük artı / small plus
47        d.vline(cx, y + 26, 5, 1)
48
49
50def storm(d, x, y):
51    cloud(d, x, y - 2)
52    d.line(x + 19, y + 20, x + 14, y + 26, 1)                    # şimşek / lightning bolt
53    d.line(x + 14, y + 26, x + 19, y + 26, 1)
54    d.line(x + 19, y + 26, x + 14, y + 31, 1)
55
56
57def fog(d, x, y):
58    for i in range(4):
59        d.hline(x + 3 + (i % 2) * 3, y + 8 + i * 6, 26, 1)
60
61
62def draw(d, code, is_day, x, y):
63    if code == 0:
64        (sun if is_day else moon)(d, x, y)
65    elif code in (1, 2):
66        partly(d, x, y, is_day)
67    elif code in (45, 48):
68        fog(d, x, y)
69    elif 51 <= code <= 57:
70        rain(d, x, y, 2)                                         # çiseleme / drizzle
71    elif 61 <= code <= 67 or 80 <= code <= 82:
72        rain(d, x, y, 4)
73    elif 71 <= code <= 77 or code in (85, 86):
74        snow(d, x, y)
75    elif code >= 95:
76        storm(d, x, y)
77    else:
78        cloud(d, x, y)                                           # 3 ve bilinmeyenler / 3 and unknown codes
79
80
81def label(code):
82    if code == 0:
83        return "Clear"
84    if code in (1, 2):
85        return "Partly"
86    if code == 3:
87        return "Cloudy"
88    if code in (45, 48):
89        return "Fog"
90    if 51 <= code <= 57:
91        return "Drizzle"
92    if 61 <= code <= 67:
93        return "Rain"
94    if 80 <= code <= 82:
95        return "Showers"
96    if 71 <= code <= 77 or code in (85, 86):
97        return "Snow"
98    if code >= 95:
99        return "Storm"
100    return "?"

Step 3: main program, hourly refresh and Wi-Fi reconnect (main.py)

The main program splits the screen into three areas: the city name and the time of the reading on the top line, the icon and a double-size temperature in the middle, and the forecast for the next three hours at the bottom. Because the built-in font is only 8×8 pixels, the big_text() function first writes the text into a small buffer, then copies it to the screen with every pixel enlarged to a 2×2 square. The degree sign isn't in the font either, so it's drawn as a tiny square. Since the hourly lists start at 00:00 today, adding 1, 2 and 3 to the hour of the reading gives the index of the next three hours directly; forecast_days=2 makes sure hours after midnight are in the list too.

The most important part of the loop is ensure_wifi(): before every refresh it checks the connection, and if it has dropped it restarts Wi-Fi, tries to reconnect and turns off power-saving mode so the link stays stable. If the request or JSON parsing fails, the program catches the error instead of crashing and tries again after 60 seconds; if it already has data, that data stays on the screen. When everything works it waits for REFRESH_MIN minutes (60 by default). If you want more frequent updates you can set it to 15; Open-Meteo refreshes current conditions every 15 minutes anyway, so a shorter interval won't bring new information.

MicroPython
1# main.py: Pico W hava durumu ekranı / Pico W weather display
2import network
3import time
4import gc
5import framebuf
6from machine import Pin, I2C
7import ssd1306
8import icons
9try:
10    import requests
11except ImportError:
12    import urequests as requests
13
14SSID = "YourWiFi"
15PASSWORD = "YourPassword"
16CITY = "London"                        # ekrandaki ad, en fazla 10 harf / name on screen, max 10 letters
17LAT, LON = 51.51, -0.13
18REFRESH_MIN = 60                       # yenileme aralığı (dk) / refresh interval (min)
19
20URL = ("http://api.open-meteo.com/v1/forecast?latitude={}&longitude={}"
21       "&current=temperature_2m,weather_code,is_day"
22       "&hourly=temperature_2m&forecast_days=2&timezone=auto").format(LAT, LON)
23
24i2c = I2C(0, sda=Pin(4), scl=Pin(5), freq=400000)
25oled = ssd1306.SSD1306_I2C(128, 64, i2c)
26wlan = network.WLAN(network.STA_IF)
27
28
29def big_text(s, x, y, scale=2):
30    # 8x8 yazıyı büyütür / scales the 8x8 font up
31    w = len(s) * 8
32    buf = framebuf.FrameBuffer(bytearray(w), w, 8, framebuf.MONO_HLSB)
33    buf.text(s, 0, 0, 1)
34    for py in range(8):
35        for px in range(w):
36            if buf.pixel(px, py):
37                oled.fill_rect(x + px * scale, y + py * scale, scale, scale, 1)
38
39
40def degree(x, y):
41    oled.rect(x, y, 3, 3, 1)           # derece işareti / degree sign
42
43
44def message(line1, line2=""):
45    oled.fill(0)
46    oled.text(line1, 0, 20)
47    oled.text(line2, 0, 34)
48    oled.show()
49
50
51def ensure_wifi(timeout=20):
52    if wlan.isconnected():
53        return True
54    wlan.active(True)
55    wlan.config(pm=0xa11140)           # güç tasarrufunu kapat / disable power saving
56    wlan.disconnect()
57    wlan.connect(SSID, PASSWORD)
58    for _ in range(timeout):
59        if wlan.isconnected():
60            return True
61        time.sleep(1)
62    return False
63
64
65def fetch():
66    r = requests.get(URL)
67    try:
68        if r.status_code != 200:
69            raise OSError("HTTP %d" % r.status_code)
70        return r.json()
71    finally:
72        r.close()                      # hata olsa da kapat / close even on error
73
74
75def draw(data):
76    cur = data["current"]
77    temps = data["hourly"]["temperature_2m"]   # bugün 00:00'dan başlar / starts at 00:00 today
78    hour = int(cur["time"][11:13])
79    oled.fill(0)
80    oled.text(CITY, 0, 0)
81    oled.text(cur["time"][11:16], 88, 0)       # ölçüm saati / time of the reading
82    icons.draw(oled, cur["weather_code"], cur["is_day"], 0, 12)
83    t = "{:.1f}".format(cur["temperature_2m"])
84    big_text(t, 38, 14)
85    degree(38 + len(t) * 16 + 1, 14)
86    oled.text(icons.label(cur["weather_code"]), 38, 35)
87    for i in range(3):                         # sonraki 3 saat / next 3 hours
88        h = hour + 1 + i
89        x = i * 43
90        oled.text("{:02d}h".format(h % 24), x, 47)
91        temp = "{:.0f}".format(temps[h])
92        oled.text(temp, x, 56)
93        degree(x + len(temp) * 8 + 1, 56)
94    oled.show()
95
96
97have_data = False
98message("Weather", "connecting...")
99while True:
100    ok = ensure_wifi()
101    if ok:
102        try:
103            draw(fetch())
104            have_data = True
105        except (OSError, ValueError, KeyError, IndexError) as e:   # ağ ya da JSON hatası / network or JSON error
106            print("Error:", e)
107            ok = False
108    if not ok:
109        if not have_data:
110            message("No Wi-Fi/data", "retrying...")
111        time.sleep(60)                         # hata olursa 1 dk sonra dene / retry in 1 min
112        continue
113    gc.collect()
114    time.sleep(REFRESH_MIN * 60)
If you want the screen to last for years, lower the brightness at night: inside draw(), call oled.contrast(1) between 23:00 and 07:00 and oled.contrast(255) during the day. Leaving exactly the same image on an OLED for months can cause burn-in; see How to Use an OLED Display (SSD1306) for details.

Power consumption and running on batteries

With Wi-Fi connected, the Pico W draws about 40–50 mA, and the OLED adds 10–20 mA depending on what it shows. That total of around 60 mA runs a 2000 mAh power bank for a little over a day. To run longer on batteries there are two tricks: switch the Wi-Fi chip off with wlan.active(False) after fetching the data and back on at the next refresh, and only light the screen for a few seconds when a button is pressed. For an always-on desk display, the simplest solution is to power the Pico W from an ordinary 5 V USB charger; for battery maths you can use the battery life calculator.

Ideas to take the project further

  • Indoor and outdoor temperature: add a BME280 sensor and show the room's temperature and pressure next to the outdoor reading from the internet.
  • Daily forecast page: fetch a three-day forecast with daily=temperature_2m_max,temperature_2m_min,weather_code and flip between pages with a button.
  • Rain alert: if the weather code for the coming hours rises to 61 or above, light an LED or give a short beep with a buzzer.
  • Bigger screen: draw larger, colour icons on a 1.3-inch SH1106 OLED or a colour TFT display.
  • Send it to Home Assistant: share the same data over MQTT using the method from the Pico W MQTT guide.
  • ESP32 version: if you'd rather build the same project in Arduino C++, the ESP32 Weather API guide has a complete example with ArduinoJson and an OLED.

Common problems and fixes

SymptomLikely causeFix
ImportError: no module named 'network'UF2 for the plain Pico (no Wi-Fi) installedFlash the RPI_PICO_W (or RPI_PICO2_W) UF2
wlan.status() is −2 or −3Network not found or wrong passwordCheck the 2.4 GHz network and password, mind upper and lower case
ImportError: no module named 'ssd1306'Driver not installedRun mip.install("ssd1306") or copy ssd1306.py
OSError: [Errno 5] EIO (OLED)SDA and SCL swapped or wrong addressCheck the wiring, find the address with i2c.scan()
AttributeError: ... 'ellipse'MicroPython version too oldFlash UF2 version 1.20 or newer
OSError: -2 during the requestDomain name couldn't be resolved or no internetCheck your router's connection; the code retries after 60 s
Pico freezes after a few hoursr.close() not called, memory fragmentationCall close() and gc.collect() after every request

A Pico W weather station is one of the most satisfying ways to build a real internet-connected device with a handful of parts and two small files, and the same structure can show any JSON data, from exchange rates to earthquake alerts or bus times. If you're new to the Pico, the Raspberry Pi Pico LED and PWM projects in the BlueGrays app walk you through the basics step by step, and the ESP32 weather project with an OLED shows the same idea with a full circuit diagram and code.

Frequently asked questions

Can a Raspberry Pi Pico get weather data from the internet?

The plain Raspberry Pi Pico has no Wi-Fi and can't reach the internet on its own; you need the Pico W or Pico 2 W with the wireless chip. With MicroPython's network and requests modules, a Pico W can fetch the weather from a service such as Open-Meteo in just a few lines of code.

Should I use urequests or requests on the Pico W?

They're the same module: older MicroPython releases called it urequests, newer ones ship it as requests and keep urequests only for compatibility. If you start your code with a try/except block that imports requests and falls back to urequests, the program runs on both.

Do I need an API key for Open-Meteo?

No. For non-commercial use Open-Meteo doesn't require a sign-up or an API key and allows up to 10,000 requests a day. You only put the latitude, longitude and the values you want in the URL. If you'd like to search by city name, use Open-Meteo's separate geocoding API or enter the coordinates by hand.

How do I show the temperature in Fahrenheit?

Add temperature_unit=fahrenheit to the Open-Meteo URL and every temperature, current and hourly, comes back in °F; no conversion is needed in your code. For wind in miles per hour add wind_speed_unit=mph, and for rainfall in inches add precipitation_unit=inch.

Why does my Pico W keep disconnecting from Wi-Fi?

The most common causes are a weak signal, the router changing channels at night and the wireless chip's power-saving mode. Turning power saving off with wlan.config(pm=0xa11140) makes the connection much more stable. If you also check wlan.isconnected() before every request and reconnect when needed, the device recovers from drop-outs by itself.

How often should a weather station update?

Open-Meteo refreshes current conditions every 15 minutes, so polling more often than that brings no new data. For a desk display, every 15–60 minutes is ideal. On a battery-powered device, one request per hour with Wi-Fi switched off in between makes the battery last noticeably longer.

See all projects
Raspberry Pi Pico Onboard LED Blink (Pico and Pico W)
PI-1Beginner

Raspberry Pi Pico Onboard LED Blink (Pico and Pico W)

The opening project of the Raspberry Pi Pico series! We blink the Pico's green built-in LED to confirm the board works, the classic "Hello World" first experiment. No external parts needed, just the Pico and a USB cable. The code is written in MicroPython, the language officially supported by the Raspberry Pi Foundation.

5.0(1)
11
Raspberry Pi Pico: Controlling an External LED (Breadboard)
PI-2Beginner

Raspberry Pi Pico: Controlling an External LED (Breadboard)

The next step after the Pico's built-in LED: connect an external LED on a breadboard and control it through pin GP14. You'll learn how to use any of the Pico's GPIO pins as an output, the LED's polarity (long leg = anode/+, short leg = cathode/–) and why a current-limiting resistor (220Ω) is a must. Without the resistor, too much current flows through the LED and it can burn out.

4.5(2)
7
Raspberry Pi Pico PWM LED Fade (Breathing Effect)
PI-14Beginner

Raspberry Pi Pico PWM LED Fade (Breathing Effect)

The LED doesn't just blink anymore, it breathes! With the Raspberry Pi Pico's PWM (Pulse Width Modulation), the LED's brightness slowly rises and then slowly fades, a calm "breathing" effect like a sleeping laptop's light. You'll learn the machine.PWM class, the 16-bit brightness value from 0–65535 with duty_u16() and the PWM frequency.

4
ESP32 HTTPClient + Weather API (with SSD1306 OLED Display)
ES-32Advanced
Premium

ESP32 HTTPClient + Weather API (with SSD1306 OLED Display)

In this project the ESP32 makes a REST API call over the internet to a weather API (wttr.in) using HTTPClient.h. Unlike the I2C LCD version, it uses an SSD1306 OLED (128×64) display, with large text and vector icons for a richer look. Seven weather icons (sunny, rainy, snowy and more) are drawn on the fly, with no bitmap files.

4.3(10)
22
ESP32 HTTPClient + Weather API (with LCD Screen)
ES-31Advanced
Premium

ESP32 HTTPClient + Weather API (with LCD Screen)

In this project the ESP32 makes a REST API call over the internet to a weather API (wttr.in) using HTTPClient.h. The JSON response is parsed with ArduinoJson v7, and the city, temperature, humidity, weather and wind are shown on an I2C LCD. wttr.in needs no API key; just type the name of any city.

4.7(13)
20
Dot Matrix Clock, Calendar and Weather Station (MAX7219, DS1307)
AR-85Intermediate
Premium

Dot Matrix Clock, Calendar and Weather Station (MAX7219, DS1307)

A scrolling-text board for your desk or wall that shows the time, the date and the room's weather in turn.

5.0(50)
66
Real-Time Clock from the Internet via ESP32 NTP
ES-26Advanced
Premium

Real-Time Clock from the Internet via ESP32 NTP

The ESP32 connects to Wi-Fi and fetches the real time from NTP (Network Time Protocol) servers with millisecond precision. configTzTime() applies the Turkey time zone (TRT, UTC+3) automatically, and in countries with daylight saving time the DST switch is handled by a POSIX TZ string. The time is printed both to the Serial Monitor and to an optional I2C LCD.

4.5(13)
22
ESP32 Temperature Data Logger (DHT22 + DS1307 RTC + microSD + OLED)
ES-40Advanced
Premium

ESP32 Temperature Data Logger (DHT22 + DS1307 RTC + microSD + OLED)

Build a timed temperature and humidity logger with the ESP32! A DHT22 sensor reads temperature and humidity once a minute, and each reading is saved to a microSD card in CSV format with a real-time stamp from the DS1307 RTC module. The OLED display shows the latest temperature, humidity, timestamp and total number of records live, in large text.

4.7(7)
12