Hi,
I have an issue trying to connect an OLED display to my ESP32-CAM.
I'm using fine this device with SD card but without camera.
I have only few pins available to connect I2C OLED; these pins are U0T and U0R (IO1 and IO3 respectively) and these are used
also for serial comunication to upload the sketch.
What I want to do is upload a sketch wit I2C comunication and using U0T as SDA and U0R as SCL.
Obviously, after uploading, I have to disconnect them from serial port and attach them to I2C device.
I tryed with the simple sketch seen on github (here it is...)
I2C_OLED.txt
In that sketch I did these changes:
#define SDA 1 // instead of 23
#define SCL 3 // instead of 19
.
.
.
U8G2_SH1106_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* clock=/ SCL, / data=/ SDA, / reset=*/ U8X8_PIN_NONE);
// instead of SSD1306... since my display is SH1106
and then upload to my ESP32-CAM and connect pins correctly.
I tryed also with ...F_HW_I2C... but without success. Nothin happens on OLED display.
The display is working perfectly with avr processor but not with ESP32-CAM!
Is there something wrong on that?
Can somebody help me?
I'll appreciate some answer from you.
Thanks and regards.
Fiorenzo Daniele Giust
Hi,
I have an issue trying to connect an OLED display to my ESP32-CAM.
I'm using fine this device with SD card but without camera.
I have only few pins available to connect I2C OLED; these pins are U0T and U0R (IO1 and IO3 respectively) and these are used
also for serial comunication to upload the sketch.
What I want to do is upload a sketch wit I2C comunication and using U0T as SDA and U0R as SCL.
Obviously, after uploading, I have to disconnect them from serial port and attach them to I2C device.
I tryed with the simple sketch seen on github (here it is...)
I2C_OLED.txt
In that sketch I did these changes:
#define SDA 1 // instead of 23
#define SCL 3 // instead of 19
.
.
.
U8G2_SH1106_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* clock=/ SCL, / data=/ SDA, / reset=*/ U8X8_PIN_NONE);
// instead of SSD1306... since my display is SH1106
and then upload to my ESP32-CAM and connect pins correctly.
I tryed also with ...F_HW_I2C... but without success. Nothin happens on OLED display.
The display is working perfectly with avr processor but not with ESP32-CAM!
Is there something wrong on that?
Can somebody help me?
I'll appreciate some answer from you.
Thanks and regards.
Fiorenzo Daniele Giust