#Pico UPS I2C problem with CircuitPython

1 messages · Page 1 of 1 (latest)

hot cypress
raw mulch
#

can you show a photo of the bottom of the ups module, where it says "i2c1 i2c0"?

hot cypress
#

yep.

raw mulch
#

also, a photo of your pico w would help

hot cypress
#

But you can also find it under the waveshare wiki link.

raw mulch
#

sure, I wanted to see yours to make sure the resistors are in the right position and the pin soldering is good

#

it all looks good

#

can you upload the full code you are using?

#

you can use the (+) button on the side of the input field

hot cypress
raw mulch
#

that also looks good

#

you don't have anything else connected to pins 6 nd 7, do you?

hot cypress
#

nope

#

the seesaw soil sensor is connected to gp20, gp21 which is a completely different i2c bus, with different address.

raw mulch
#

what if you disconnect it completely?

hot cypress
raw mulch
#

I can't see any obvious reason why it fails, it should work. If you have a multimeter at hand maybe you can check that the pins 6 and 7 of the pi pico are really connected with the pins on the module?

#

wait a minute

hot cypress
#

Currently not, but it was working on another project under MicroPython

raw mulch
#

looking at the schematic, there are no pull-ups on that module

#

one way around that that comes to my head is to move those 0Ω resistors to put both sensors on pins 20 and 21, so the pull ups from the seesaw sensor will work for both

hot cypress
#

i didn't actually saw that those were 0Ω "resistors". I could be the problem, because it just shorting the circuit then. I have no tools for soldering microscopical stuffs, but I think the Pico has some internal resistors what I can use it for this pourpose . maybe

#

but its kinda strange cause i didn't solder any pull ups directly to the seesaw sensor. does it have any by default?

raw mulch
#

yes, adafruit modules have pull ups included

hot cypress
#

i mean, it proves that the module is fine. So something could be wrong with cp. I dunno.