Hello, I'm trying to improve the sample rate of the MLX90393 sensor with ARDUINO. The safe highest sample rate is about 500Hz according to the datasheet.
However, I use Bluetooth to connect to the sensor with SPI protocol and read the sensor using Python language, the highest sample rate I obtain is about 100Hz when I set the FILTER to 2 and OSR to 0.
Also, if I use wire to read the sensor, the sample rate will reach about 300Hz in Serial Monitor, however, if I use the PySerial package in Python to read the sensor and the sample rate decreases to 70~80Hz. I think the reason may be the read speed of PySerial is slow?
Hence, I'm wondering how to improve the sample rate of MLX90393. I want to use the Burst Mode provided by the MLX90393 code, but I can't find the proper arduino code, anyone can help me?
Thanks a lot!