#Raspberry Pi Pico I2C pull up
1 messages · Page 1 of 1 (latest)
I'm using a simple py code trying to run an I2C device connected to my Pico board. I'm working with CircuitPython 7.0.0 and Thonny IDE. The code include the following lines:
'''
sda = board.GP0
scl = board.GP1
i2c = busio.I2C(scl, sda, frequency=100000)
I get a run time error: RuntimeError: No pull up found on SDA or SCL; check your wiring
I'll appreciate any support.
What I2C device are you trying to use ? If it doesn't have pull ups on the data lines, you need to add them for I2C to work. For that it's usual to add 2.2-10kΩ resistors between the 3v3 line and each data line. So in your case between GP0 and 3V and GP1 and 3V.
Like that https://www.youtube.com/watch?v=Ef9CpzpnjQg
I2C can pull a signal low, but it needs a little help on the high notes #adafruit #collinslabnotes
Find all the I2C at Adafruit:
https://www.adafruit.com/?q=I2C&sort=BestMatch
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: ht...