0

MLX90640 bad output on FeatherS2 but good output on QtPy
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MLX90640 bad output on FeatherS2 but good output on QtPy

by rrace001 on Wed Oct 13, 2021 4:19 pm

Trying to run Arduino MLX90640_simpletest on FeatherS2 via Stemma cable. The FeatherS2 recognizes the MLX90640 and outputs the ascii matrix but only the lowest readings (all &). The MLX90640 runs on my QtPy . That is my likeness in the output! I know the FeatherS2 is not your board but hoping someone could point me in the right direction. I noticed the serial is not the same between the outputs and neither are the resolution and rate. Ran it with the float output and every other line is nan.

QtPy:
Adafruit MLX90640 Simple Test
Found Adafruit MLX90640
Serial number: 928F924189
Current mode: Chess
Current resolution: 18 bit
Current frame rate: 2 Hz


++******************************
++******************************
++******************************
x+******************************
x+*********++*******************
x+***********+******************
++********++++++****************
+********++++x+++***************
+*******++xx%xxx++**************
+*******++x%%%xx+***************
+*******++%#%#%x+***************
********+x%%%xxx+***************
*******++x%%#%%%+***************
*******++x#####%+***************
********+x######+***************
*******++x#####%+***************
********+x%%%%%%+***************
********+x%%x%%%+***************
****++xx%%##%%%%+++*************
***+xxx%%%##%#%%xx+x************
**+x%%%%%%######%%%xxx+*********
++xx%%%%%%%#####%%%%xx++********
xx%%%%%%%%%%%%%%%%%%%%xx++****++
xx%%%%%%%%%%%%%%%%%%%%%%xx++++++


FeatherS2:
Adafruit MLX90640 Simple Test
Outlier pixels: 5
Found Adafruit MLX90640
Serial number: 8BE899F
Current mode: Interleave
Current resolution: 16 bitQt
Current frame rate: 0.5 Hz


&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

rrace001
 
Posts: 15
Joined: Fri Oct 07, 2016 11:08 am

Re: MLX90640 bad output on FeatherS2 but good output on QtPy

by adafruit_support_carter on Wed Oct 13, 2021 5:32 pm

What version of the ESP32 Arduino BSP are you using?

adafruit_support_carter
 
Posts: 21380
Joined: Tue Nov 29, 2016 2:45 pm

Re: MLX90640 bad output on FeatherS2 but good output on QtPy

by rrace001 on Wed Oct 13, 2021 6:59 pm

esp32 by Espressif Systems version 2.0.0 on Arduino 1.8.15.

rrace001
 
Posts: 15
Joined: Fri Oct 07, 2016 11:08 am

Re: MLX90640 bad output on FeatherS2 but good output on QtPy

by adafruit_support_carter on Wed Oct 13, 2021 7:28 pm

Try reverting to the 1.0.6 release of the ESP32 BSP.

adafruit_support_carter
 
Posts: 21380
Joined: Tue Nov 29, 2016 2:45 pm

Re: MLX90640 bad output on FeatherS2 but good output on QtPy

by rrace001 on Wed Oct 13, 2021 9:15 pm

Unfortunately the FeatherS2 is not included in the previous versions. I just tried the Sharp memory display (SPI) and it too does not work on the Feather S2 but does on the QtPy. I did get the FeatherS2 to host a web page so not a complete failure. Anyway, thanks for responding. I will write to UM to see what they say.

rrace001
 
Posts: 15
Joined: Fri Oct 07, 2016 11:08 am

Re: MLX90640 bad output on FeatherS2 but good output on QtPy

by adafruit_support_carter on Thu Oct 14, 2021 11:17 am

Thanks. That's probably best. This is most likely an issue with the ESP32 BSP. Not UM's responsibility, but working directly with them will be more efficient.

adafruit_support_carter
 
Posts: 21380
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.