Hi there, great tutorial! I'm working on a similar project over 2 months, and even using the MLX90614-DCI Temperature Sensor, some times it shows the wrong human body temperature due the ambient temperature change! I can't post a link here, but I found out some one was able to hookup a serial communication with a medical thermometer, and the serial output didn't show the temperature showed in the LCD, instead it was showing some firmware info and the most important it was showing the sensor temperature and the ambient temperature! It seems to take 9 samples of object temp and ambient temp, process it to show the temp in the LCD! So the guy took like couple hundreds of samples, put it into a spreadsheet file, and used some AI to process the 9 samples he was receiving on the serial communication and then he was able to show the same temp showing on the LCD! So, in this case seems that the ambient temp is a factor to get the right temp from a human body!
@robojax3 жыл бұрын
Hi, here is the video showing it on LCD kzbin.info/www/bejne/f3LNYZp-ibmKnNk Here is how to find Specific KZbin Video in a channel bit.ly/findKZbinVideo
@agustinvistosi4 жыл бұрын
Did you made some configuration of emissivity? As I readed, the sensor is factory calibrated with emissivity =1 and the body skin has emissivity=0,98. What is the better way to check is the temperature what the sensor gives is correct? For instance, I used Water (emissivity=0,95) and measured it with a classic digital medical thermometer. So, in order to improve mesures accuracy: voltaje compensation, distance compensation, emissivity adjustment, and plastic protection of body sensor to avoid thermical gradients. And be carefull about ambient (low humidity, no wind, ambient temperature stable).
@ekremvkilic4 жыл бұрын
I have done 3 of 4 suggestions of yours to improve accuracy, but I couldn't do the fourth: distance compensation. I have DCI model, as I get further away from the sensor, the temperature changes by 0.5 (36.7 to 36.2). How can I compensate for this? I have researched a bit, completely read the datasheet, used both this code and my own but no luck. Any ideas?
@robojax4 жыл бұрын
you can use readEmissivity() to read it and to se it to for example to 0.5, use riteEmissivity(0.5) and it has been mentioned in the library on around line 75 github.com/adafruit/Adafruit-MLX90614-Library/blob/master/Adafruit_MLX90614.cpp
@ekremvkilic4 жыл бұрын
@@robojax I have used writeEmissivity() and even writeEmissivityReg() with different values and noticed that the less the value is, the more the sensor becomes sensitive to the distance and outside effects. There are not many functions in the library, so there is basically nothing that can be done other than changing the emissivity which is not the solution. The worse than that is one of my tests goes like this: Ambient Temperature: 28.01-28.03-28.05 I show my right wrist to record the temperature to an Excel file (no contact, the sensor is sealed in a cardboard box with only the measuring part is 2-3 mm outside) Ambient Temperature becomes: 28.07-28.09-28.11 I pull back my wrist Ambient Temperature: 28.11-28.13-28.15 After waiting a few seconds, watching the Ambient Temperature values I show my left wrist Ambient Temperature: 28.15-28.17-28.19 (while I was holding my right wrist to sensor above 1 cm) I pull back my right wrist Ambient Temperature: 28.21-28.23-28.25 There is no way I could be affecting the sensor while measuring the temperature on my wrist because there is no contact. Also, I have cut a hole on the box that the sensor came in, put the sensor inside the box, closed every possible gap, the sensor should be in thermal equilibrium (because it's ON for the last 30 mins and never even touched or moved anywhere but it keeps measuring). And I have repeated this test 15 times yesterday, every time it's the same. The funny thing is I noticed that after going through the test process I mentioned above when I do the test again waiting for no more than 1 minute, that absurd thing does not happen. I began to think that sensor should be on or measuring only when something is wanted to be measured. I will test this on Monday and keep you informed of the results.
@necipguleser84474 жыл бұрын
@@robojax How can I set the emissivity to 0.98. Can you write your code clearly here?
@necipguleser84474 жыл бұрын
@@robojax I am waiting for an answer from you
@גולודויקטוריה4 жыл бұрын
It have been very useful. Thanck you for this awesome tutorial!!
@גולודויקטוריה4 жыл бұрын
thank*
@robojax4 жыл бұрын
Glad it was helpful! snipboard.io/eawCtO.jpg
@kayamkha4 жыл бұрын
Very good example, explained clearly. Thanks
@robojax4 жыл бұрын
Glad it was helpful!
@testhossam14 ай бұрын
Al Salamu Alikum, Thank you for this tutorial. I have a question regard reading Vref for "dependency compensation". Vref voltage is a "regulator" voltage so it is a fixed value! Actually I print out A0 readings and as expected it's fixed on 1023 (5V), This means the code just shift the resulted readings by (5 - 3)*.6 = 1.2 degree. So why we need this A0 leg readings?
@user-dr2pg8fk2i Жыл бұрын
If I wanted to use the sensor to measure the temperature of a surface in a room to control a radiant heater, would the read patch of ~9in from 8ft be too large for an accurate reading?
@ericktan16394 жыл бұрын
I purchased the BAA model, and yes, the FOV is too wide. It measures effectively within 1 or 2 cm. Now I ordered the DCI model to complete my project.
@robojax4 жыл бұрын
Yes. this is excellent product. Please 👍 and subscribe.
@ericktan16394 жыл бұрын
sir, have you tested the BAA model or DCI model to measure body temperature through forehead? Could you please share the result to me?
@sivamnatesan1374 жыл бұрын
From where you purchased the DCI version? Please share the product link.
@Karthikb-mh2kc8 ай бұрын
I given 5 v to vdd whether this damages the sensor
@thespacecowboy420 Жыл бұрын
Thank you I need one of these for a project
@HamzaHajeir3 жыл бұрын
Thank you, For a feedback: The Fahrenheit equations must have another constant other that 0.6 which is applied to Celsius. would be in factor of 9/5.
@robojax3 жыл бұрын
Thanks for letting us know.
@gulshan07994 жыл бұрын
Expensive but better than last one 👌
@robojax4 жыл бұрын
Thanks
@richardkleihorst13043 жыл бұрын
If the correction is 0.6 degrees celcius per volt, than it is not 0.6 fahrenheit per volt at time 23.40
@achyutreddy20073 жыл бұрын
Great Video. I Was wondering where did you get all the data sheet and information about the sensors.
@robojax3 жыл бұрын
Wry simple just type the model and the word datasheet. I have provided the datasheet in the page where the code is.
@achyutreddy20073 жыл бұрын
@@robojax Thank you
@mnj7164 жыл бұрын
Hi Sir, it was a very good explaination. Is it possible to create a code which the temperature is shown on OLED display with buzzer (ALARM) if the measuring body temperature is higher than 37.5 'C and the data saved to SD Card Module. Looking forward to your awesome tuitorial guide. Thank you.
@robojax4 жыл бұрын
Hi, yes it is possible and i have tones of videos. You can see my videos on OLED and combine it wit this. here kzbin.infosearch?query=OLED
@elostnslgd3 жыл бұрын
Hello this video is so informative! but I would like to ask what is the Spectral response or the Long wave response of the MLX90614-DCI Temperature Sensor Thank you very much!
@electronic79794 жыл бұрын
Very good 👍
@robojax4 жыл бұрын
Thank you! Cheers!
@rosscoombe20454 жыл бұрын
Hi, thank you for this tutorial. What would I need to change in the code to add a reading from a second sensor? Is it even possible?
@robojax4 жыл бұрын
Hi, you are welcome. Yes it is possible. Just watch the code section and wiring of this video kzbin.info/www/bejne/gmfInJ9odqeWq7s you can do the same with this this sensor. Good luck.
@SabaKhan-jv4ly2 жыл бұрын
Hi sir, Can we use this sensor to measure the body temperature of resting human?
@robojax2 жыл бұрын
surface is surface as long it is on with fur or hair. Yes
@arielrahmane46003 жыл бұрын
Thank you for the excellent and helpful tutorial! Do you know what's the response rate of the sensor? Rephrasing my question, how fast a moving object can pass in front of the sensor in order to get its temperature detected?
@robojax3 жыл бұрын
Hello, I don't remember the number, but either I have explained it or shown the datasheet. Measurement time or reading time. the datasheet link is provided on the same page as the code.
@nursaid78854 жыл бұрын
Thank you very much sir, great video👍🏻
@robojax4 жыл бұрын
You are welcome. Glad you liked it.
@aitchrifbrahim72524 жыл бұрын
@@robojax may you help me please, i have MLX90621 BAB Thermal Imaging Camera and i wanna test it with Ardouino, i need library and code. may you contact me on b.aitchrif.net@gmail.com i need you help please.
@nursaid78854 жыл бұрын
@@robojax Sir, i recently received this item with a PCB attached to it, and i wanted to use it with the raspberry pi, so my question is the VCC pin need to be connected to A0 and 3.3v, however raspberry pi doesn't have analog pin so how can connected it, and if u have a python code for it that would be great. Thank you
@rohitmahajan17644 жыл бұрын
i have worked with a mlx90614 sensor. but it measures temperature of human body 92.1 F while read with other temp sensor it gives 98.7 F. so this is not accurate. How do i make the sensor accurate ?
@robojax4 жыл бұрын
I explained the accuracy. the word accuracy is a relative word. when you measure the surface. it is the average of area you are pointing at. if temperature varies in that surface, then you will get different value than a surface with less variation. I've spent about a week to make this video. So watch it again so you understand the concept.
@jdutra84834 жыл бұрын
Thank you for this amazing tutorial! Is there some info available regarding the response time of this sensor?
@robojax4 жыл бұрын
You are welcome. I believe I might have mentioned it. Check the comments below or search comments. But you can find it in the datasheet that it included in the code page.
@variousexperiences64853 жыл бұрын
Good work ..can we use this sensor with an amplifier circuit like photodiode thanks
@robojax3 жыл бұрын
Sorry, to do what with the amplifier?
@variousexperiences64853 жыл бұрын
@@robojax do you speak Arabic
@variousexperiences64853 жыл бұрын
اقصد هل يمكن ان نستخدم هذا الحساس مع مضخم للصوت ليصبح كأنه فوتوا يود. شكرا
@julian89042 жыл бұрын
Hey sir, I already assembled everything, uploaded the program but I just get the same mesurement line ( Object 1037.34\xC2\xB0C ).
@robojax2 жыл бұрын
Check wiring
@julian89042 жыл бұрын
@@robojax i‘ve checked everything but still the same Problem, everything ist assembled exactly the Same was like in the Video
@julian89042 жыл бұрын
I Found the Problem your wire‘s Form A4/A5 needs to be on SCA/SDL at a Arduino Mega
@robojax2 жыл бұрын
Pleased to know that you resolved it
@Pagalcoderguide4 жыл бұрын
You have connected the vin to 3.3v , how can you get 1023 ? ...1023 will show with 5v .. and the sensor has no relation with 5v , since you have only 3.3v supply
@robojax4 жыл бұрын
hi, sorry point to the time of video like 7:30 so I can check. I've got over 400 videos and can't watch the whole video to find out.
@Pagalcoderguide4 жыл бұрын
@@robojax watch 13:32 ...if you are connecting the vin to 3.3v, it's obvious it will always show around 675 as analogread ..since arduino uses 10bit ADC . No need to put that Vin to an analog pin .
@Pagalcoderguide4 жыл бұрын
And don't use a 3.3v device directly with a 5v mcu . Here arduino will send 5v signal as a Master and MLX will not able to endure it for long time , it will get damaged soon . Use a voltage devider with SCL and SDA to make it 3.3v .
@choukoksol81213 жыл бұрын
@@Pagalcoderguide I'm interested with what you are mentioning about. Can you point out to the reference? Should we use level shifter?
@shawdondemon4 жыл бұрын
great very interesting your video .. Sorry do you know any variant with much more scope? maximum 5m
@robojax4 жыл бұрын
I believe unless you buy an infrared thermometer already build, you will not find any sensor to mention the distance. it is up the design to increased the distance. do bin/google search and you may find something interesting.
@martincaruana54973 жыл бұрын
Hello I really liked this video, the best there is about this sensor. My question is whether this sensor can work by measuring object temperatures at 600 ° C.
@robojax3 жыл бұрын
I have explained all specifications from datasheet. Please watch . Also datasheet bus provided so you can look at it.
@HaseebAhmad-nj3fi3 жыл бұрын
i hope you are well. I want to measure temperature from 7 to 10 feets away (non contact), how I can do this please tell me
@robojax3 жыл бұрын
thank you. it would be with thermal camera and laser sensor.
@HaseebAhmad-nj3fi3 жыл бұрын
@@robojax can you recommend me a good thermal camera ?
@robojax3 жыл бұрын
I have experience with thermal cameras
@HaseebAhmad-nj3fi3 жыл бұрын
@@robojax please can you help me in this, i want to measure temperature from 7 to 10 feet away... plz share your experience with me
@ekremvkilic4 жыл бұрын
Hi, Thanks for the awesome tutorial. I have a problem that you haven't encountered while making this video; the temperature changes with the distance (specifically from 36.7 to 36.2 in 0.1 to 10 cm). I am using DCI model of the sensor, I'm pretty sure that the object in FOV both at 0.1 cm and 10 cm. I have read datasheet twice, did everything I could but no luck. Any ideas on how I can compensate for the distance?
@robojax4 жыл бұрын
Hi, as I mentioned, many factors affect the reading. this topic is not crystal clear and you need to find specific method for your own application.
@ekremvkilic4 жыл бұрын
@@robojax I'll do that and keep you informed of the result which may help someone else
@necipguleser84474 жыл бұрын
Emissitivity kalibrasyonun nasil yapılır? 0.98 e nasıl bir kodla ayarlarım yardımcı olabilir misin?
@ekremvkilic4 жыл бұрын
@@necipguleser8447 kütüphanenin içinde bulabilirsiniz 2 ayrı fonksiyon var; writeEmissivity ve writeEmissivityReg. Ikisini de kullanabilirsiniz, 1 defa yazmanız yeterli. Ilki için 0.01-1.00 arası, ikinci için ise 1 65353 arası değer vermeniz yeterli
@necipguleser84474 жыл бұрын
@@ekremvkilic @Robojax 'in yazmış oldugu koda nasil entegre ederim. Yazdım ama çalıştıramadım hata veriyor. Rica etsem paylaşılan örnek koda entegre edip yazabilir misin tam halde?
@laurencereyes93704 жыл бұрын
Good day sir, can i ask what is the power consumption of MLX90614-DCI ? in normal and sleep mode? Thank you!
@robojax4 жыл бұрын
Good day. I have provided the datasheet. It is has been mentioned on page 9 when you open the datasheet PDF file in this page robojax.com/learn/arduino/?vid=robojax_MLX90614-DCI_long_range
@laurencereyes93704 жыл бұрын
@@robojax thank you sir!
@aidans15014 жыл бұрын
Does this work with rasberry pi 4 and python? Sorry i am very new to this and a but lost. Thank you very much!
@robojax4 жыл бұрын
this is just a device that communicates with I2C. if you know how to use it, it can be used anywhere.
@MohitAgnihotri54 жыл бұрын
Hi, Can we use this sensor to detect the temperature for moving object like wheel of vehicle? I mean, wheel pass in-front of the sensor FOV and sensor detect the temperature at very high speed. Want to measure the temperature of moving vehicle's wheel, whether its bearing or axle is fine or not? Is this sensor waterproof? Your support is highly appreciable :)
@robojax4 жыл бұрын
Hi, it reads in 5ms or 0.05 seconds. if you give it minimum of this much time for pointing to object and reading, then yes. See datasheet for write and erase time. I have provided the datasheet in the resources page.
@MohitAgnihotri54 жыл бұрын
@@robojax Thank you! Will check the datasheet for writing and erasing time.
@robojax4 жыл бұрын
you are welcome.
@rovloverez66614 жыл бұрын
Is there any alternative non contact sensor you could refer sir?
@robojax4 жыл бұрын
I don't have experience with specific device, but simple Google/Bing search will show lots of options.
@bouboudiawara94504 жыл бұрын
Hi do you know how to wire this module CJMCU-Infrared Temperature Sensor MLX90614ESF-BCC IR
@robojax4 жыл бұрын
Hi, this is the video for that. didn't you watch it? the "CJMCU" is just fake. MLX90614 is the correct model and this video is shown it MLX90614. If you are using the small one, here is the video kzbin.info/www/bejne/mXenhKSfeq6opNk
@bouboudiawara94504 жыл бұрын
@@robojax I use this one i don't know how to wire it with arduino fr.banggood.com/CJMCU-MLX90614-BCC-Human-Body-Infrared-Thermometer-Non-contact-Thermometer-Serial-Output-Module-p-1684348.html?cur_warehouse=CN
@bouboudiawara94504 жыл бұрын
his pins are different from the others
@akutenshi70234 жыл бұрын
Premiere!! 👍
@robojax4 жыл бұрын
🎉Thanks
@ineffableseul4 жыл бұрын
Hi sir is this possible to detect animals body temp? Thanks a lot
@robojax4 жыл бұрын
hi, it will detect the fur and hair temperature. so no.
@ineffableseul4 жыл бұрын
@@robojaxahhh okay... how about on PIGS 🐖 that dont have much furr? Is it applicable??? Thanks a lot
@tuovan13534 жыл бұрын
Body temperature is 36.5=>37 degrees c is it wrong? rep me please
@robojax4 жыл бұрын
this device just measures. For body temperature, talk to a doctor or biologist. I am an Engineer and have no knowledge.
@mohdasim10284 жыл бұрын
Long Range Distance Sensor working around 12 feet which sensor
@robojax4 жыл бұрын
4 (4000cm) feet is very far. we talk about 10cm to 30cm here. I have not tested such thing yet.
@spiralbrain4 жыл бұрын
The accuracy of these with respect to the distance is not mentioned anywhere. Did you also compare the variation with ambient temperature?
@robojax4 жыл бұрын
I have shown the datasheet. No one will ever tell you. the temperature accuracy has been shown in video. it is the length of object and the average that makes it less accurate. if you measure something of length of 5cm and the object has temperature of 30C and 50C then you will get the average of both. Very accurately.
@spiralbrain4 жыл бұрын
@@robojax I have been on it for a few months now. I used an infrared range sensor to calibrate it between 1c between 5-10cm however its still not satisfactory. Thank you for pointing out the voltage calibration. I've used the DCH now waiting for DCC, in the post.
@nanangbms6694 жыл бұрын
I want you to make a video tutorial on how to make a long-range thermal camera 🙏🙏🙏🙏
@robojax4 жыл бұрын
I've explained in the video how.
@AlkDarksniper4 жыл бұрын
Excelent
@robojax4 жыл бұрын
Thanks
@mxer78234 жыл бұрын
are you for hire for a project we are working on for this? we have a custom board running arduino and would like support. we would pay handsomely of course. do you have contact info ?
@robojax4 жыл бұрын
Hello, please contact me via contact page of robojax.com. I would have to see if I can help.
@ZackVar4 жыл бұрын
may i have datasheet mlx90614 angle.xls please
@robojax4 жыл бұрын
The link to the code and resources for this video and all my other videos are under the video in the description.
@ZackVar4 жыл бұрын
@@robojax i mean table of mlx angle in excel file u show in vidio
@rsingh20834 жыл бұрын
Sir how to connect this with orangePi ?
@robojax4 жыл бұрын
Never heard that. every day we wake up and new product is coming. And strange thing is people buy them as the come out. I can't afford to buy stuff as this channel is taking too much of my time and can't support me to dedicated all my time.
@rsingh20834 жыл бұрын
@@robojax OK . Can you tell me if this will work with raspberry pi also. Raspberry pi also has 40 pin GPIO
@robojax4 жыл бұрын
this code is for Arduino ONLY. if you want to use it with respeberry pi, you should find code for that.