Best esp32 projects 2025, DIY ESP32 WiFi Weather Station with OLED! Get Live Forecast Data By API ⚡

Опубликовано: 16 Июнь 2026
на канале: MS Robotics
3,987
85

Thanks for Watching

Hey Makers! 🚀 Tired of checking your phone for the weather? In this comprehensive, step-by-step tutorial, I'll show you exactly how to build your own stunning, minimalist WiFi Weather Station using the powerful ESP32 and a sleek 0.96-inch OLED display (works with SH1106 or SSD1306).

This isn't just a basic display—we’re building a reliable, feature-rich device that looks amazing on any desk!

What You'll Learn & Why This Project is Viral-Worthy:

Live Data Fetching: We’ll use the free Weatherbit.io API to get real-time current conditions, temperature, humidity, Air Quality Index (AQI), and a 3-day rotating forecast.

Custom Minimalist UI: Learn the secret to creating and displaying those cool 8x8 custom monochrome icons (Sun, Cloud, Droplet, Thermometer) for a super-clean, unique aesthetic that rotates through all the information dynamically.

Production-Ready Reliability: My code includes essential features like NTP Time Synchronization for accurate time and date, and non-blocking Wi-Fi reconnection handling so your weather station never goes offline.

Complete Guide: Perfect for beginners and advanced hobbyists—I cover everything from wiring the I2C OLED to the ESP32 to getting your API keys and setting up the libraries.

📚 PROJECT RESOURCES & CODE:

Full Arduino Code (OLED&ESP32_API.ino and Imojies.h) and Circuit: https://drive.google.com/drive/folder...

Weatherbit.io : https://www.weatherbit.io/

ESP32 Board Support Link for Arduino IDE: https://raw.githubusercontent.com/esp...

Libraries Used (Install via Library Manager):

Adafruit GFX Library

Adafruit SH110X Library

ArduinoJson

📌 TIMESTAMPS (Crucial for YouTube SEO!):
0:00 - Intro & Final Demo of the Smart Display
0:21 - Components Needed & Wiring Diagram (Fast Setup!)
1:37 - Getting Your Free Weather API Key
3:22 - Code Walkthrough (API Setup, Custom Icons, UI Logic)
4:11 - Uploading Code & First Run
6:14 - Testing the Non-Blocking Wi-Fi Reconnection Feature

Don't forget to Like and Subscribe for more awesome IoT projects! Let me know in the comments if you’ve built it and how you customized your icons!


Track: Abandoned & GalaxyTones - Luna (Feat. DNAKM) [Mendum Remix] [NCS Release]
Music provided by NoCopyrightSounds.
Watch:

• Abandoned & GalaxyTones - Luna (Feat....
Free Download / Stream: https://ncs.io/LunaRMX

Track: Warriyo - Mortals (feat. Laura Brehm) [NCS Release]
Music provided by NoCopyrightSounds.
Watch: http://NCS.lnk.to/MortalsAT/youtube
Free Download / Stream: http://ncs.io/Mortals