My working IR sensor MLX90614 chart

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

My working IR sensor MLX90614 chart

Post by MJU »

I want to share this working flowchart for the Melexis MLX90614 IR temperature sensor.

This sensor has two temperature readings (some in the MLX90614 family has two IR zones).
I only read the ambient temperature and the IR temperature in it's view.

I made this project on an Arduino Uno, with the sensor on 5V and de SDA and SLC on the SDA/SLC pins of the Arduino.
The sensor I use is on a break out board that already has pull-up resistors, I think they are 10KOhm.
The data is send by RS232 to my PC where I can read them.

It is very basic, maybe someone can make a component for this sensor?
Things to do:
- add an emissivity control (to control the object emissivity correction) if necessary. This can be done by writing to 0x04 of the EEPROM (page 11 of the datasheet).
- a second zone reading for sensors that have more than one IR zone
- add a feature to change the slave address in case more than one sensor is on the I2C bus. (page 39 of the datasheet)
- adapt for°Fahrenheit
- ....

Please use and adapt the flowchart, but please share your versions here..
MLX90614 Eng.fcfx
(17.35 KiB) Downloaded 438 times
BTW: thanks to LeighM of the MM staff for his help!

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: My working IR sensor MLX90614 chart

Post by Alan_37 »

Hi MJU ,

Thanks for sharing, this is just what I was looking for is there a way we can
have it for Flowcode V5

Thanks in Advance

Alan

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: My working IR sensor MLX90614 chart

Post by MJU »

Hi Alan,

I've made a report of the flowchart, maybe you can use it to reassemble the project in V5?

Everything you need to make it in the previous version is described in the files.
Just unrar the rar-file and open the MLX90614 Eng_fcfx.HTML file in your browser.
IRsensor.rar
(74.39 KiB) Downloaded 409 times
This way you can adapt it to your liking!

leomarb
Posts: 1
Joined: Fri May 13, 2016 2:30 pm
Contact:

Re: My working IR sensor MLX90614 chart

Post by leomarb »

Hello
Congratulations on the project.

How would the code for the MLX90614 communicating with the PIC18F4520.

I thank you

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: My working IR sensor MLX90614 chart

Post by MJU »

In Flowcode just change the settings for the target device. (in this case change from Arduino to PIC18F4520)

Then change the clock settings, and check the connections for the new device.

Upload to the new device and it should work. :-)
The power of Flowcode does the rest!

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: My working IR sensor MLX90614 chart

Post by jgu1 »

Hi!

After I saw MJU´s nice project with this temp sensor, I order a couple of these MLX90614 on Ebay, and they arrived today. And your project work perfect MJU :D


I have allowed myself to change a little on this project with the this amazing temp sensor. :D
Instead of using the seriel rs 232 communication I use a display. Easy to change.

Later I would add a bar graph, so maybe it could be used as a poor man´s ir camera :lol:

I would like to share........

Best regard

Jorgen
Attachments
MLX90614 Display.fcfx
(17.22 KiB) Downloaded 342 times

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: My working IR sensor MLX90614 chart

Post by MJU »

Magnificent, keep on sharing!

Post Reply