Problem using i2c to write to a oled (nano ble sense Rev2)

I am trying to connect via i2c from the nano ble sense to a oled display using the ssd1306 library. I use the sample code from the ssd1306 library (ssd1306_128x64_i2c.ino) and I just simply connect the 3.3V on the nano to VCC on the display, connect the grounds, and connect the sla and scl pins but nothing happens (though it does feel a little hot). I do the same thing from an uno and it works fine. I changed the screen_address to 0x3C because that is what works on the uno. I use 3.3V on the uno as well. Any suggestions?

Run the i2c scanner sketch. Does it detect the display on the address you expect?

If not, try 3K3 pull-up resistors to 3.3V on SDA & SCL pins.

2 Likes

Thank you Paul! The pull-up resistor was necessary, and once I did it right, it worked!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.