Jetson nano with AMG8833 through GPIO always get Remote I/O error

579 views Asked by At

As title mentioned, I tried to extract some data from AMG8833 through GPIO on Jetson nano, but always get

[Errno 121]Remote I/O error...

My AMG8833 SDA connect to GPIO pin 27, and SCL connect to pin 28. I have already tried

sudo i2cdetect -y -r 1 

Then only shows 29, I have no idea about this, and still cannot work...

Is there anyone has any other solutions about this issue? Please share with me, I will be very appreciated for your help. Following is the python code...

import busio
import time
import board
import adafruit_amg88xx
i2c = busio.I2C(board.SCL, board.SDA)
amg = adafruit_amg88xx.AMG88XX(i2c)
while True:
    time.sleep(1)
    for row in amg.pixels:
        # Pad to 1 decimal place
        print(["{0:.1f}".format(temp) for temp in row])
        print(row)
        print("")
    print("\n")
    time.sleep(1)
0

There are 0 answers