Weather and Time Display on ESP32C2 SuperMini

This project displays the current weather and time on an SSD1306 OLED display using an ESP32. It fetches weather data from OpenWeatherMap and the current time from Google's NTP servers.

Watch the video demonstration

ESP32C3 SuperMini

Components

  • ESP32С3 Super Mini
  • SSD1306 OLED Display
  • WiFi connection

Libraries Required

Install the following libraries in the Arduino IDE:

Connections

ESP32 Pin OLED Pin
GND GND
VCC VCC
SDA SDA
SCL SCL

How to Use

  1. Connect your ESP32 to your computer.
  2. Open the Arduino IDE and install the required libraries.
  3. Copy and paste the code into the Arduino IDE.
  4. Replace YOUR_SSID, YOUR_PASSWORD, YOUR_API_KEY, and YOUR_CITY with your actual WiFi credentials, OpenWeatherMap API key, and desired city.
  5. Upload the code to your ESP32.
  6. Open the Serial Monitor to check the status of your connection and data fetching.