Hi Phil,
I wasn't getting anything running those commands when the resistors were still in placeI have just bridged the resistors and I am now getting a result with your overlay recommendation after a reboot, amazing, thank you so much.
Will I need a similar overlay for the INA219 connected to the same SCL and SDA lines? I am planning the pip library https://pypi.org/project/pi-ina219/ it doesn’t mention overlays but I’m not sure if the bus will make as difference?
I wasn't getting anything running those commands when the resistors were still in place
Code:
pi@cm4bull:~ $ i2cdetect -li2c-20i2c fef04500.i2c I2C adapteri2c-10i2c i2c-22-mux (chan_id 1) I2C adapteri2c-1i2c bcm2835 (i2c@7e804000) I2C adapteri2c-21i2c fef09500.i2c I2C adapteri2c-0i2c i2c-22-mux (chan_id 0) I2C adapteri2c-22i2c bcm2835 (i2c@7e205000) I2C adapterpi@cm4bull:~ $ i2cdetect -y 10 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
Code:
pi@cm4bull:~ $ i2cdetect -y 10 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- pi@cm4bull:~ $ sudo hwclock -vhwclock from util-linux 2.36.1System Time: 1720518831.585603Trying to open: /dev/rtc0Using the rtc interface to the clock.Assuming hardware clock is kept in UTC time.Waiting for clock tick...ioctl(4, RTC_UIE_ON, 0): Invalid argumentWaiting in loop for time from /dev/rtc0 to change...got clock tickTime read from Hardware Clock: 2024/07/09 09:53:52Hw clock time : 2024/07/09 09:53:52 = 1720518832 seconds since 1969Time since last adjustment is 1720518832 secondsCalculated Hardware Clock drift is 0.000000 seconds2024-07-09 10:53:51.938977+01:00
Statistics: Posted by tennisparty — Tue Jul 09, 2024 9:58 am