PiicoDev_SSD1306 and PicoW

I have a PicoW attached to a PiicoDev board. When trying to attach the PiicoDev_SSD1306 it is unable to be found on I2C. The following code shows this with the output

from PiicoDev_SSD1306 import *
from PiicoDev_SSD1306 import PiicoDev_SSD1306
from machine import Pin,I2C
import ssd1306

def do_scan(which):
    i2c=I2C(which)
    print("I2C Configuration: "+str(i2c))
    devices = i2c.scan()
    for device in devices:
        print(hex(device))
            
do_scan(0)
do_scan(1)

Output

>>> %Run -c $EDITOR_CONTENT

MPY: soft reboot
I2C Configuration: I2C(0, freq=399361, scl=9, sda=8)
I2C Configuration: I2C(1, freq=200000, scl=7, sda=6)

When the same code is run with the PiicoDev_BME280 the output is as following

>>> %Run -c $EDITOR_CONTENT

MPY: soft reboot
I2C Configuration: I2C(0, freq=399361, scl=9, sda=8)
0x77
I2C Configuration: I2C(1, freq=200000, scl=7, sda=6)

The display has power indicator and was very briefly working. Any ideas?

2 Likes

Hi Josephine!!

Welcome to the forum

I would say that the connectors arent all the way in, the last little bit of the PiicoDev connection can be a bit rough.

Otherwise the FPC on the back might not have soldered correctly (which is rare but possible). If you have a moment could you please send through a photo of the back of the OLED module?

1 Like