About Lesson
A. Components Needed
- ESP32 development board
- OLED I2C display (e.g., 128×64 SSD1306)
- Jumper wires
- Breadboard (optional)
B. Connecting the Hardware
- OLED Display Pins:
- VCC: Power supply (3.3V or 5V)
- GND: Ground
- SDA: Data line (I2C)
- SCL: Clock line (I2C)
- ESP32 Connections:
- Connect VCC to 3.3V on the ESP32.
- Connect GND to GND on the ESP32.
- Connect SDA to GPIO21 (default SDA pin for ESP32).
- Connect SCL to GPIO22 (default SCL pin for ESP32).