Open
Description
I'm using your script, but get this error. Googling results in more similar experiences. But as far as I can see, no solution.
Strange thing is that I get an DEVICE_SERIAL which in my opinion means that i2c is correct.
Running with sudo gives same error.
$ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- 69 -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
$ ./read_sps30.py
ARTICLE CODE:
DEVICE SERIAL: 897DFB40EABF4589
AUTO-CLEANING INTERVAL: 604800
Traceback (most recent call last):
File "./read_sps30.py", line 31, in <module>
while not sps.read_data_ready_flag():
File "/home/pi/.local/lib/python3.7/site-packages/sps30/sps30.py", line 176, in read_data_ready_flag
self.bus.i2c_rdwr(write)
File "/home/pi/.local/lib/python3.7/site-packages/smbus2/smbus2.py", line 658, in i2c_rdwr
ioctl(self.fd, I2C_RDWR, ioctl_data)
OSError: [Errno 121] Remote I/O error
Metadata
Metadata
Assignees
Labels
No labels