I am attempting to receive voltage readings from the PEVMAC2C voltage monitor. My set up involves using the ControlEverything I2C adapter module plugged into the pins of the board, and communicating to a BeagleBone Black through the ControlEverything I2C BeagleBone Shield, (setup shown below). The voltage monitor is supplied with 12V DC and the sensor inputs are connected to the provided 9V DC power supplies.
Upon discovering that the device is connected at I2C bus 2 address 0x2a, I found that there are no readings captured inside this bus:
I tried using the code provided at https://github.com/bhaskar-anil429/voltage-monit_python/blob/master/voltage.py, with line 10 changed from
bus = smbus.SMBus(1)
bus = smbus.SMBus(2).
The screenshot below shows the output I get from running this script.
Any suggestions on how to fix this?