Make ESP32 C3 Super mini work with OLED displays

Jarizapo
Posts: 4
Joined: Thu Feb 08, 2024 4:04 pm

Make ESP32 C3 Super mini work with OLED displays

Postby Jarizapo » Mon Apr 15, 2024 9:43 pm

Hi!

I'm trying to get my ESP32 C3 Super mini to work with my OLED displays but I just can't get it to work.

For instance: I'm using Arduino IDE and I have managed to make the displays work (your classical I2C-SSD1306 and even some SH1107) with my ESP32 and my ESP32 S2 Mini.

I'm just using the example from SSD1306's library example called ssd1306_128x64_i2c.ino and the only change I have made "to the code" was just changing the #include <User_Setup.h> to #include <"SetupForSomeDisplay.h"> to then change on that ".h" the pinout.

The pinouts I actually have is:

Code: Select all

//#define TFT_MISO 21
#define TFT_MOSI 21
#define TFT_SCLK 22
#define TFT_CS 5 // Chip select control pin
#define TFT_DC 15 // Data Command control pin
#define TFT_RST 2
And I have said earlier, it has worked flawlessly for the ESP32 and ESP32 S2 Mini. When I'm working with my ESP32 C3 Super Mini I change the TFT_MOSI and TFT_SCLK pins to pins that are available (for example, 6 and 9, since 21 and 22 don't exist on the C3 Super Mini), since those are the only ones I need apart from GND and 3.3V, but it just doesn't work.

I would love to know what I may be doing wrong or if there is any tutorial online that works with the ESP32 C3 Super Mini and an OLED display where I can look at the code and learn with it.

Thanks!!

Who is online

Users browsing this forum: Bing [Bot] and 127 guests