mcauser / micropython-mlx90614

MicroPython driver for the MLX90614 IR temperature sensor
MIT License
33 stars 14 forks source link

define freq on I2c #10

Open DanielBustillos opened 5 months ago

DanielBustillos commented 5 months ago

The MLX90614 sensor's maximum frequency is specified as 100 kHz on page 15 of the MLX90614 manual.

The MLX90614 meets all the timing specifications of the SMBus [1]. The maximum frequency of the MLX90614 SMBus is 100KHz and the minimum is 10KHz.

The default I2C frequency setting of 400 kHz was causing significant noise in the received data. Adjusting the frequency to match the sensor's specification it's necessary to minimize noise.