Hi,
I’ve tried (2) MLX90393 sensors with a variety of boards including Arduino Uno and the ReadBoard Qwiic. Neither sensor works with the library mentioned in the hookup guide. I get spurious readings. I also checked to see if the sensor address was correct - it shows as 0x0C.
When I run the example debug helper sketch, I get some disturbing results as shown below. I get the same for both sensors.
(C) Udo Klein 2018
License: GPL v3
burst mode: 1
woc mode: 1
sm mode: 1
error: 1
single bit error detected: 1
rs: 1
d1: 1
d0: 1
0x00 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x01 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x02 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x03 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x04 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x05 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x06 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x07 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x08 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
0x09 9415 10010100 00010101 read failure 111 1 1111 (ERROR) burst mode, woc mode, sm mode, error, single bit error, rs, d1, d0
I’ve also tried removing the pull-up resistors and adding a MicroOLED in the daisy chain. No luck.
Do I have dead sensors? Should I request a return or is there some other arcane knowledge I do not yet possess to help get these working?
Thanks