adafruit_mlx90614
CircuitPython module for the MLX90614 IR object temperature sensor.
Author(s): Mikey Sklar based on code from these projects: Limor Fried - https://github.com/adafruit/Adafruit-MLX90614-Library Bill Simpson - https://github.com/BillSimpson/ada_mlx90614 Mike Causer - https://github.com/mcauser/micropython-mlx90614
Implementation Notes
Hardware:
Adafruit Melexis Contact-less Infrared Sensor - MLX90614 3V (Product ID: 1747)
Adafruit Melexis Contact-less Infrared Sensor - MLX90614 5V (Product ID: 1748)
Sensors: https://www.adafruit.com/product/1747 https://www.adafruit.com/product/1748
Datasheet: https://cdn-shop.adafruit.com/datasheets/MLX90614.pdf
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
- class adafruit_mlx90614.MLX90614(i2c_bus: I2C, address: int = 90)
Create an instance of the MLX90614 temperature sensor.
- Parameters:
Quickstart: Importing and using the MLX90614
Here is an example of using the
MLX90614
class. First you will need to import the libraries to use the sensorimport board import adafruit_mlx90614
Once this is done you can define your
board.I2C
object and define your sensor objecti2c = board.I2C() mlx = adafruit_mlx90614.MLX90614(i2c)
Now you have access to the
ambient_temperature
attributetemperature = mlx.ambient_temperature