


HOW TO INTERGRATE THE SH1107 SPI OLED SCREEN TO THE XIAOZHI AI
I am working on an ESP32-S3 project using Xiaozhi AI. By default, the system is designed to support an I2C OLED display. However, I modified the project to use a 1.5-inch SPI SH1107 OLED instead of the default I2C display.
I have already updated parts of the code to support SPI, and the project builds successfully without errors. The AI system itself is working correctly — it boots up and I can interact with it through voice conversation as expected.
However, the OLED display is not working. The screen remains blank and does not show any output even though the system is running normally.
Help Needed
I need help with:
- Proper configuration for using an SPI SH1107 OLED instead of the default I2C OLED
- Identifying what I may have missed in the display driver or initialization code
- Ensuring the display output is correctly mapped and initialized in Xiaozhi AI
- Any working reference or example for SPI OLED integration with this system
u/Opposite-Spread1442 — 5 days ago