Raspberry Pi 3 with a grove hat I’m getting this error when running the example script
pi@raspberrypi:~/Seeed_Python_MLX9064x/examples $ python3 BasicReadings.py
Traceback (most recent call last):
File “BasicReadings.py”, line 22, in
main()
File “BasicReadings.py”, line 9, in main
mlx = seeed_mlx9064x.grove_mxl90640()
File “/home/pi/.local/lib/python3.7/site-packages/seeed_mlx9064x.py”, line 90, in init
self._ExtractParameters()
File “/home/pi/.local/lib/python3.7/site-packages/seeed_mlx9064x.py”, line 318, in _ExtractParameters
self._ExtractDeviatingPixels()
File “/home/pi/.local/lib/python3.7/site-packages/seeed_mlx9064x.py”, line 709, in _ExtractDeviatingPixels
raise RuntimeError(“More than 4 outlier pixels”)
RuntimeError: More than 4 outlier pixels
Then when I run the updated script with the visuals I get this…
~/Seeed_Python_MLX9064x/examples $ sudo ircamera I2C MLX90641
libEGL warning: DRI2: failed to authenticate
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’
Traceback (most recent call last):
File “/usr/local/bin/ircamera”, line 6, in
from seeed_python_ircamera import run
File “/usr/local/lib/python3.7/dist-packages/seeed_python_ircamera.py”, line 359, in
run()
File “/usr/local/lib/python3.7/dist-packages/seeed_python_ircamera.py”, line 352, in run
dataThread = DataReader(port,ChipType)
File “/usr/local/lib/python3.7/dist-packages/seeed_python_ircamera.py”, line 76, in init
self.dataHandle = seeed_mlx9064x.grove_mxl90641()
File “/usr/local/lib/python3.7/dist-packages/seeed_mlx9064x.py”, line 746, in init
self._HammingDecode()
File “/usr/local/lib/python3.7/dist-packages/seeed_mlx9064x.py”, line 1003, in _HammingDecode
raise RuntimeError(“cannot find check number”)
RuntimeError: cannot find check number
Looks like it’s registering the i2c device
Seeed_Python_MLX9064x/examples $ i2cdetect -y -r 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – 33 – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –