Raspberry Pi 5 With UPS Board
Charlie.Barber 2026-04-04 07:08:42 24 Views4 Replies I purchased a Raspberry Pi 5 UPS HAT and am trying to read the battery voltage. The i2c is armed in the config.txt and I ran the merged-trixie.py, but am not seeing anything. I cloned the https://github.com/suptronics/x120x.git and I see address 36 when running the i2cdetect -y 1. However, when running the merged-trixie.py, the program just runs and exits and does not print anything.
I figured it out. I had been using the gpio6 as an spi in the dtoverlay. It's working now.
Charlie.Barber Ok I got the merged-trixie to run by commenting out the pld_pin and adding the scl and sda lines. I get a resource busy when using the pld_pin. Is it a different pin than pin 6 on the raspberry pi 5?
Charlie.Barber It also says unplugged even though it is plugged in, but I take that to the pld_pin not being used.
Ok I figured out messing the program I don't need to request the sda and sdl line. But I still have the issue with the pld_pin

