I'm a beginner in the Arduino world and I would appreciate some help from some experienced users. I have a Wemos ESP32 OLED Module (Banggood) that I am having some trouble with.
I am trying to connect a AM2320 sensor on the I2C bus but are facing some strange issues. Internal OLED module is connected to the same bus on pin 4 and 5 as the AM2320 sensor. So far so good and data is received from the AM2320 without any problems, problem starts when I am using the integrated OLED. When OLED is in use data from the AM2320 becomes corrupted, but OLED works fine….?
Have tried the “ESP32_Wemos_I2C Scanner” and both addresses are shown on first scan but the AM2320 sensor disappears on the second scan.
Library, board version etc. is correct and have tried different settings with bus speed, but still have the same issue.
On a Arduino Uno board everything works with similar I2C display and code….