STM32 Library for Melexis IR Temperature Sensor MLX90614

On my github account you can find this useful library that I made to use with Melexis IR Temperature Sensor MLX90614.
It has beendeveloped with STM32 HAL libraries.


Star
Follow me to get all the future updates!

Follow @dinamitemic



UPDATE: I’ve prepared a demo project running on the STM32F4-DISCOVERY in order to better understand how to get it working.
You can find it in the attachment.

Attachments

11 thoughts on “STM32 Library for Melexis IR Temperature Sensor MLX90614”

  1. hi thi is mady. i am working on mlx90614. i have a problem with mlx. actually i got a object temperature of mlx. the problem is i did not get accurate temperature like i put the sensor on my body it gave 34 o Celsius only. not 36 o celsius. can you tell me if you know the solution to my problem. i am not changed or write any configuration register and other.

    Reply
    • Hi @mady!
      If you encounter problem like this you have to setup the emissivity register of your sensor.
      You will find how to do that in the datasheet of the sensor as well as how to find the new value to write in the reg based on the temp readed and the real temp.

      Reply
  2. i get some error when i am using your library and use it in keil IDE. can you make a tutorial step by step?. thanks

    Reply
  3. T obj1: -101.849998, T amb: 679.789978
    T obj1: -100.989998, T amb: 679.729980
    T obj1: 20.410000, T amb: 21.370001
    T obj1: 20.430000, T amb: 21.350000
    T obj1: 30.930000, T amb: 21.350000
    T obj1: 29.270000, T amb: 21.350000

    Hi. At the beginning of the operation, i have got strange values as above.
    How can i fix it?

    Reply
  4. hi @gazzari, thanks for posting this.
    I’m currently working with MLX90614 but with STM32F1C8 series, will I be able to use the library you use for the sensor? If it doesn’t, is there any alternatives such that I can continue to use MLX90614 with STM32F1C8?
    Thanks in advance!

    side note:
    I built the project you shared above and tried to include stm32f4xx lib but still won’t work…

    Reply

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: