This is a little project to display things through a small OLED display connected to an ESP32-S3-DevKitC-1 v1.1 board. The display is a 128x32 pixel monochrome OLED screen, and the project uses the ssd1306 library to control it.
The project is built using PlatformIO and the Arduino framework. Moreover, it has been built for a Chinese class presentation (about chinese electronics).
This project allows the ESP32-S3 board to display chinese characters on an OLED screen. It supports Bluetooth (Low Energy) communication, enabling users to send commands or messages to the board. The board can display predefined chinese messages or user-provided (ASCII) text, and it uses the embedded RGB LED to indicate the system's status (e.g., initialization, connection, or errors).
- Install PlatformIO in your preferred IDE (e.g., CLion, VS Code).
- Clone this repository to your local machine.
- Open the project folder in your IDE.
- Connect your ESP32-S3 board to your computer via UART USB.
- Build and upload the project using the PlatformIO interface.
- ESP32-S3 Board: ESP32-S3-DevKitC-1 v1.1
- Module Integrated: ESP32-S3-WROOM-1-N8R2
- Flash Size: 8 MB
- PSRAM: 2 MB
- Power Supply: USB power supply
- OLED Display: APKLVSR I2C 128x32 OLED Display
The project supports displaying Chinese characters on the OLED screen.
Each character is represented as a 16x16 bitmap stored in program memory (PROGMEM).
These bitmaps are mapped to their corresponding UTF-8 encoded characters in a dictionary (chineseDictionary).
To display a character, the program searches the dictionary for the UTF-8 string and retrieves the associated bitmap.
If the character is not found, a placeholder bitmap is displayed instead.
The drawChineseChar and drawChineseString functions handle rendering individual characters and strings,
respectively, with proper spacing between characters.
Files chinese.h and
chinese.cpp contain the character bitmaps and the functions to display them.