← Back to list

ESP32-S3 Expansion Board Kit with OLED SSD1306 display and onboard RGB LED

This short tutorial is an explanation of the sample sketch that shows how to work with the RGB LED on the ESP32-S3 Development Board. For…

AndroidCrypto · 2025-07-05 07:14 · 6 claps · 1.2 min read
#esp32-s3 #expansion-board #oled #rgb-lights #arduino
Open on Medium ↗
Wiki topics: 📟 · Gadgets & IoT 🖊️ · Illustration & Drawing

ESP32-S3 Expansion Board Kit with OLED SSD1306 display and onboard RGB LED

This short tutorial is an explanation of the sample sketch that shows how to work with the RGB LED on the ESP32-S3 Development Board. For more information about all components, please visit my article “**The Ultimate Guide to the ESP32-S3 Expansion Board Kit with 2.8 Inch Touch Display**”.

Components used for the example

  • ESP32-S3 Expansion Board: comes with connector rows for an ESP32-S3 Development Board (left side), OLED display (upper right side) or TFT Display with Touch surface (lower right side)
  • OLED SSD1306 0.96 inch display (upper right side)
  • RGB LED on the ESP32-S3 Development Board

Wiring for the example

There is no wiring necessary.

Internal wiring of the OLED display

Wiring of the OLED Display connector from left to right to the ESP32-S3:
-- Display --
GND   GND
VCC   3.3 Volts
SCL   41
SDA   42

Internal wiring of the RGB LED

Wiring of the RGB LED on the ESP32-S3 Development Board:
GPIO 48

The Green LED on the Expansion Board is connected to GPIO 48 as well, that means: if you are using the RGB LED, you can’t use the LED independently — I name it “bad design” :-(.

Summary

Working with the onboard RGB LED and displaying some data on an OLED display is very easy as you don’t need to wire any cable with the ESP32-S3 Expansion Board.

Source code of the sketch

I don’t print the code here as it is distributed in some files, instead visit my GitHub repository.

Happy coding !


메타데이터
post_id
6eab85a926bb
slug
esp32-s3-expansion-board-kit-with-oled-ssd1306-display-and-onboard-rgb-led-6eab85a926bb
url
https://medium.com/@androidcrypto/esp32-s3-expansion-board-kit-with-oled-ssd1306-display-and-onboard-rgb-led-6eab85a926bb
canonical_url
https://medium.com/@androidcrypto/esp32-s3-expansion-board-kit-with-oled-ssd1306-display-and-onboard-rgb-led-6eab85a926bb
author_url
https://medium.com/@androidcrypto
status
ok
fetched_at
2026-08-06 17:27:03