Closed GH15ADF closed 2 years ago
yah the AHT20 is 0x38 - you can't have two items with the same address - this is normal! :) https://www.adafruit.com/product/4566 https://learn.adafruit.com/i2c-addresses
Understood. However, the error returned is so very unhelpful, "Please check your wiring"
I have a Funhouse and a few Adafruit STEMMA Soil Sensor - I2C Capacitive Moisture Sensors. The Funhouse updated to CP 7.1.1 and circup-ed all the libraries. But the adafruit_seesaw.seesaw library is balking at 0x38 as an address for the sensor. As per the Learn guide, the address can bet set to 0x36 thru 0x39. When the address is 0x36, 0x37, or 0x39 everything works fine and I get readings. This is confirmed for all three of the sensor boards I have. So it seems unlikely it is a manufacturing or test defect. Even more surprising is that I get this error even if there is NO board connected to the STEMMA connector when that address value is 0x38. I went back to the basics for I2C and that sensor (from the Learn guides) and this simple test program:
When the address is 0x38, I get: