Usage of each block

日本語のページ

Initializing the MLX90614

Initialize the MLX90614

This initializes the MLX90614 at the specified I2C address.
Specify the variable to which the microcontroller is assigned as the connection destination, and specify "90" (0x5A) as the I2C address.

Initializing the MLX90614 by Specifying Pins

Initialize the MLX90614 by specifying the I2C pin number.

This initializes the MLX90614 by specifying the I2C SDA and SCL pin numbers.
Use this when using non-standard pins.

Getting the temperature from MLX90614

Get ambient temperature

This retrieves the ambient temperature (air temperature) of the sensor itself.
Checking "Fahrenheit" will retrieve the temperature in Fahrenheit (°F), and unchecking it will retrieve it in Celsius (°C).

Getting Body Temperature from MLX90614

Get body temperature

This retrieves the temperature (body temperature) of the object the sensor is pointing at.
Checking "Fahrenheit" will retrieve the temperature in Fahrenheit (°F), and unchecking it will retrieve it in Celsius (°C).

Retrieving Temperature and Body Temperature from MLX90614 in a Single Transaction

Get body temperature and ambient temperature at the same time.

This retrieves both temperature and body temperature in a single communication.
The result is returned as dictionary data containing "Temperature (t)" and "Body Temperature (o)".
This is suitable when you want to read both values ​​quickly.
The retrieved values ​​are assigned to variables, and then the temperature/body temperature can be individually extracted from those variables for use.

Get body temperature and ambient temperature together and assign them to variables.

Extracting ambient temperature from bulk-obtained values

Ambient temperature obtained in bulk

This extracts only the ambient temperature (t) value from the JSON data obtained using the bulk-obtaining block.

Extracting body temperature from bulk-obtained values

Body temperature obtained in bulk

This extracts only the body temperature (o) value from the JSON data obtained using the bulk acquisition block.