API Reference

adafruit_mlx90632

CircuitPython driver for the MLX90632 FIR Remote Thermal Temperature Sensor

  • Author(s): Liz Clark

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_mlx90632.MLX90632(i2c_bus: busio.I2C, address: int = MLX90632_DEFAULT_ADDR)

Driver for the MLX90632 Far Infrared Temperature Sensor.

Parameters:
  • i2c_bus (I2C) – The I2C bus the MLX90632 is connected to.

  • address (int) – The I2C device address. Default is 0x3A

property ambient_temperature: float

The ambient temperature in degrees Celsius.

property busy: bool

True if device is busy with measurement.

property cycle_position: int

Current cycle position (0-31).

property data_ready: bool

True if new measurement data is available.

property eeprom_busy: bool

True if EEPROM is busy.

property eeprom_version: int

The EEPROM version.

property measurement_select: int

The measurement type.

Can be one of: - MEDICAL (0x00): Medical measurement - EXTENDED_RANGE (0x11): Extended range measurement

property mode: int

The measurement mode.

Can be one of: - MODE_HALT (0x00): Halt mode for EEPROM operations - MODE_SLEEPING_STEP (0x01): Sleeping step mode - MODE_STEP (0x02): Step mode - MODE_CONTINUOUS (0x03): Continuous mode

property object_temperature: float

The object temperature in degrees Celsius.

property product_code: int

The product code.

property product_id: int

The 48-bit product ID.

property refresh_rate: int

The refresh rate.

Can be one of: - REFRESH_0_5HZ (0): 0.5 Hz - REFRESH_1HZ (1): 1 Hz - REFRESH_2HZ (2): 2 Hz - REFRESH_4HZ (3): 4 Hz - REFRESH_8HZ (4): 8 Hz - REFRESH_16HZ (5): 16 Hz - REFRESH_32HZ (6): 32 Hz - REFRESH_64HZ (7): 64 Hz

reset() None

Reset the device using addressed reset command.

reset_data_ready() None

Reset the new data flag.

start_full_measurement() None

Start a full measurement table (SOB).

start_single_measurement() None

Start a single measurement (SOC).