My working IR sensor MLX90614 chart

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

Moderator: Benj

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

My working IR sensor MLX90614 chart

Postby MJU » Wed Apr 13, 2016 10:35 pm

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 204 times


BTW: thanks to LeighM of the MM staff for his help!
These users thanked the author MJU for the post (total 5):
medelec35 (Wed Apr 13, 2016 10:45 pm) • LeighM (Thu Apr 14, 2016 8:37 am) • Alan_37 (Sun May 01, 2016 8:49 pm) • jgu1 (Tue May 03, 2016 7:39 pm) • Benj (Thu May 05, 2016 4:42 pm)
Rating: 26.32%
 

User avatar
Alan_37
Posts: 153
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 53 times
Been thanked: 53 times
Contact:

Re: My working IR sensor MLX90614 chart

Postby Alan_37 » Sun May 01, 2016 8:45 pm

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: 435
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 108 times
Been thanked: 95 times
Contact:

Re: My working IR sensor MLX90614 chart

Postby MJU » Mon May 02, 2016 10:04 pm

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 203 times


This way you can adapt it to your liking!
These users thanked the author MJU for the post:
Benj (Thu May 05, 2016 4:43 pm)
Rating: 5.26%
 

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

Re: My working IR sensor MLX90614 chart

Postby leomarb » Fri May 13, 2016 8:05 pm

Hello
Congratulations on the project.

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

I thank you

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

Re: My working IR sensor MLX90614 chart

Postby MJU » Wed May 18, 2016 10:41 pm

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: 1128
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1042 times
Been thanked: 277 times
Contact:

Re: My working IR sensor MLX90614 chart

Postby jgu1 » Mon May 23, 2016 4:59 pm

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 152 times
These users thanked the author jgu1 for the post:
MJU (Mon May 23, 2016 11:45 pm)
Rating: 5.26%
 

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

Re: My working IR sensor MLX90614 chart

Postby MJU » Mon May 23, 2016 11:44 pm

Magnificent, keep on sharing!