Building a Portable Thermal Imaging Camera - Raspberry Pi and MLX90640 guide

  Рет қаралды 51,047

Everything Smart Home

Everything Smart Home

Күн бұрын

Пікірлер: 92
@kingdavid_p
@kingdavid_p 3 жыл бұрын
This is a really good guide that simplifies down the process without missing key steps. Great job explaining things. Do you think that with the Rasp Pi 4 you can get more FPS and better resolution?
@joeld9038
@joeld9038 4 жыл бұрын
This. Fantastic Tutorial, clear step-by-step instructions, awesome setup!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
🙏 thank you, really appreciate it!
@upgormiti6310
@upgormiti6310 9 ай бұрын
Great tutorial! I am working on a similar project. Using a Raspi 4 and MLX90640 (Pomoroni). I have followed your guide, but everytime I run the code I get this warning error: "RuntimeWarning: I2C frequency is not settable in python, ignoring! warnings.warn(" What seems to be the problem, Sir? Thanks in advance for your response.
@jasoneaton4514
@jasoneaton4514 9 күн бұрын
Instead of adding a camera to overlay thermal, can you add this to a VR set?
@ramonabdyo
@ramonabdyo 3 жыл бұрын
how do you solder the pin headers to the hdmi display screen?
@bradkaufman9591
@bradkaufman9591 3 жыл бұрын
THANK YOU for making this video! I am working on an unrelated project with the MLX90640 Thermal Camera from Adafruit. I wanted to test the camera hardware prior to sending it off to my dev team. I can hack through some code here and there, but I am not a real programmer any more. And I could not find a way to try the Thermal Camera and see if it worked, or if I liked what the output looked like, etc. Its not as easy as plugging in a usb camera into a laptop. So, I followed the instructions on this video, and had it working in short order. I got to test my cameras! This is a great app, and a great idea. Thanks again! By the way, the Adafruit MLX90640 camera works great!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
That's awesome, glad it was useful!
@novallouisgio7749
@novallouisgio7749 9 ай бұрын
hello, i know this video was from long ago already, but i wanted to make a similar system without the external display for our thesis project, i have a Raspberry Pi 4 and an MLX90640 thermal camera similar to that in the video, i already inserted the right pins but after using the i2cdetect command, the camera's address won't show in the terminal, is there some way to troubleshoot this or am i doing something wrong
@stevencarson4338
@stevencarson4338 3 жыл бұрын
This will be my first raspberry pi project 😁
@antoniob.5918
@antoniob.5918 2 жыл бұрын
Is the python 3.9 working with that? numpy 1.23.1 is not working with that script of yours. Can you update your git repository?
@DerekofEarth
@DerekofEarth 4 жыл бұрын
Excellent video. Curious, what kind of distance can you pick up with that camera?
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you 🙏 it is able to work at quite a good distance but accuracy is better when closer. That being said if you don't need the actual temperature and you just want to see the hotspots/heatmap then it works very well at quite a good distance!
@dipeshjackson7245
@dipeshjackson7245 2 жыл бұрын
I have got to the mirroring part but I seem to have a problem. When I run the thermal camera command the mirror mode just mirrors the screen and nothing is picked up by the thermal camera even though it is detected when running the detecting command please help :)
@JustinSobey
@JustinSobey 2 жыл бұрын
Given the weather I was considering having a go at this to see what heat leakage I had in my house. Would this level of camera be good enough for that iyo ?
@collinxsmith
@collinxsmith 3 жыл бұрын
@ 2:06 you state to match up 5V, SDA, SCL, GND to the camera. I think you meant to say 3.3V ? Still in input range of the mlx90640
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
No I meant to say 5v, mine is 3.3v or 5v compatible. You can of course 3.3v if you want to!
@collinxsmith
@collinxsmith 3 жыл бұрын
@@EverythingSmartHome I have the mlx90640 as well and can see the input range 3-6V so there is no real issue here. I considered the same touchscreen you have because of the easily solderable pads for the 90 degree dupont connectors. This is me being nitpicky. If the layout of those pads are the same as the gpio pinout of the pi itself, then to me it looks like you're pulling from the 3.3V pin (based on video around 2:00 ) www.raspberrypi-spy.co.uk/wp-content/uploads/2012/06/Raspberry-Pi-GPIO-Header-with-Photo.png The two 5V pads on the other side don't look to be used in your case
@hafizhashimimtiaz6872
@hafizhashimimtiaz6872 3 жыл бұрын
Hi, Thank you for sharing such a nice work. I have one thing to ask. Can we use it to make image of gas (CO2) plume, as gas plume is hotter than normal environment?
@Thee_Sinner
@Thee_Sinner 4 жыл бұрын
Not being educated on the subject, Im curious how much ambient temperature affects the skin temperature that would be seen by a thermal camera. Its currently 108F where I am; How much would my surface temperature differ from that of internal had I just been in direct sunlight (walking from my car into the Dr office)?
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
That is definitely outside my wheelhouse 😂
@unlimitediq1894
@unlimitediq1894 3 жыл бұрын
@@EverythingSmartHome could I potentially connect the camera to the inside of a digital cam
@hecoflip5956
@hecoflip5956 2 жыл бұрын
Can you use the GitHub code for other cameras or can you modify it? Also, does the code work on cheaper boards like a pi zero?
@poepflater
@poepflater 4 жыл бұрын
awesome project
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thanks, appreciate it!
@ramonabdyo
@ramonabdyo 4 жыл бұрын
I was thinking of doing this exact project. This will help a lot :)
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you, let me know if you go ahead with it and how you find it!
@ramonabdyo
@ramonabdyo 4 жыл бұрын
Will do👍 I’m going to do it as a colab with my school, so that the students can be tested if they have a fever before entering the school
@李思怡-p1l
@李思怡-p1l Жыл бұрын
which FOV do you choose? 55 or 110?
@irishguy200007
@irishguy200007 2 жыл бұрын
Can this device be used without a rasberry pi.
@TrainBeforeSleep
@TrainBeforeSleep 2 жыл бұрын
Is there a way to send this image to PHP website hosted on Raspberry pi ?
@itplainedge
@itplainedge 4 жыл бұрын
What's the max distance someone can stand from the Pi to get a readable temperature? On the thought that we should stay further than 6 feet away when taking someone else's temperature?
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Sorry I couldn't say for sure on the accuracy because unfortunately I don't have anything to compare to or anything that I 100% know for certain the temperature of
@mustache2295
@mustache2295 4 жыл бұрын
Epic! You read my mind!
@blazelion7926
@blazelion7926 4 жыл бұрын
Hello. Great vid. Im working on a similar thing and was wondering what power bank u used or if u had any recommendations
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thanks! I just grabbed an Anker one I had around but probably one that can do quick charging would be best so you don't throttle the Pi.
@vietblack
@vietblack 3 жыл бұрын
What is the highest temperature this device can measure?
@vladk9152
@vladk9152 4 жыл бұрын
What's the maximum range the sensor can detect a human being?
@aleb128
@aleb128 4 жыл бұрын
Sick! That camera is expensive though...
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thanks! 🙏 Yeah for sure don't pay over the odds for it, there are still some excellent places selling it at the correct price just got to hunt them down!
@aleb128
@aleb128 4 жыл бұрын
@@EverythingSmartHome for sure! Can't wait to give this a try! Thanks!
@ramonabdyo
@ramonabdyo 4 жыл бұрын
you can find a similar one on digikey for only 59,95 dollars
@aleb128
@aleb128 4 жыл бұрын
@@ramonabdyo Thanks! I'll have to check it out.
@estebantorito123
@estebantorito123 3 жыл бұрын
Can it work with mlx90614??
@TheIammcnorman
@TheIammcnorman 4 жыл бұрын
Every time I try to run the program it freezes. All the setup commands worked no problem and the camera is detected. Any suggestions? The only difference in hardware is that my camera is marked as adafruit, as well as stemmaQt but is still the mlx90640.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Hmm that's strange. If you run an i2cdetect scan, which address is your camera being picked up on?
@TheIammcnorman
@TheIammcnorman 4 жыл бұрын
@@EverythingSmartHome 0 x 33, just like yours. This may sound strange but it started working after a few restarts. Now I have to figure out how to convert the temp to farenheit as well as find a way to launch the program without a mouse and keyboard.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Ah glad you got it working!
@mke_gal
@mke_gal 3 жыл бұрын
@@TheIammcnorman hey! just wondering...did you end up figuring out how to do the conversion to F? thanks!!
@mindbuilderacademy1143
@mindbuilderacademy1143 4 жыл бұрын
Hello can I use raspberry pi 3b for this? This is a Great project!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Hello, you sure can, that's what I was using in the video! Thanks for the support
@noweare1
@noweare1 4 жыл бұрын
Good project
@BH4x0r
@BH4x0r 3 жыл бұрын
if this is one of the waveshare ones, it can go up to 64Hz/FPS instead of 0.5 default Hz, but 8FPS is recommended for standard rpi usage which is much faster than this
@AirsoftAbominations
@AirsoftAbominations 3 жыл бұрын
whats the limiting factor? why only go to 8? what stops you maxing it out or getting 30 minimum?
@BH4x0r
@BH4x0r 3 жыл бұрын
@@AirsoftAbominations probably the processing power required for calculating and displaying the different temperatures etc, don't know how well a Pi 4B (which i have) would run it as i don't have one of these modules, and i honestly don't think they're worth the price (32x24 for $110) at that point the Flir ONE is probably a better option as you can use it both on your phone and pi
@AirsoftAbominations
@AirsoftAbominations 3 жыл бұрын
@@BH4x0r they're £54 right now on pimori, I've seen units smaller than a pi zero process higher resolutions, what's so inefficient about the pi running it here?
@BH4x0r
@BH4x0r 3 жыл бұрын
@@AirsoftAbominations Well i meant the flir would definitely be a better option as the resolution is near unusable on these modules, and usually very overpriced
@paulcreaser9130
@paulcreaser9130 Жыл бұрын
@@AirsoftAbominations If you increase the frame rate, the noise level increases according to the data sheet (less averaging ?).
@hemeshchadalavada3430
@hemeshchadalavada3430 4 жыл бұрын
Great Vid!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you 🙏
@ramonabdyo
@ramonabdyo 4 жыл бұрын
why did you say "connect the camera to the raspberry pi" but in the video you connected it only to the display?
@noweare1
@noweare1 4 жыл бұрын
On the back of the display he added pins that connect to the RPI via that large black connector next to the pins. This allows the sda, scl, 5v, gnd from the camera to get to the RPI. He used a dupont connector to connect the camera to the pins.
@anweshnettim9184
@anweshnettim9184 4 жыл бұрын
Hello, Thanks for the video, I followed everything like video shown but while executing the line (pi@raspberrypi:~/mlx90640-thermal-camera $ ./thermal-camera-advanced.py) @3:41 sec, I am getting error like bash: ./thermal-camera-advanced.py: Permission denied . could you please tell me how to avoid it. Thanks, Best Regards, Anwesh
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Hello, make sure to use sudo at the start of the command :)
@anweshnettim9184
@anweshnettim9184 4 жыл бұрын
@@EverythingSmartHome I tried but same error
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Do "sudo su" first then try. Definitely should work
@vuuanh
@vuuanh 4 жыл бұрын
How excellent you are!!!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
🙏
@bremexperience
@bremexperience 3 жыл бұрын
And of course, this camera is backorder until the end of 2021! :P
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
So unfortunate 😭
@alkhashtee
@alkhashtee 3 жыл бұрын
Appreciate you buddy
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thank you sir!
@dineshsoni6708
@dineshsoni6708 4 жыл бұрын
great job you did, thanks for sharing i follow all steps as you explained in video. getting error as below it may be i using mlx90641 instead 90640 every where says both is same accept its resolution 32x24 and 16x12 using 1.raspberry pi4 -2 GB 2.latest raspbion OS 3.Python3.7 as Thonny IDE 4.using Sensor MLX90641 error is File "/usr/local/lib/python3.7/dist-packages/adafruit_mlx90640.py", line 774, in _ExtractDeviatingPixels raise RuntimeError("Adjacent outlier pixels") RuntimeError: Adjacent outlier pixels
@abhishekshelke6241
@abhishekshelke6241 2 жыл бұрын
Hi, I am getting a error message- libEGL warning: DRI2: failed to authenticate Can someone help.
@matthewsrosario610
@matthewsrosario610 2 жыл бұрын
Did u can fix that?
@daviddavidsonn3578
@daviddavidsonn3578 3 жыл бұрын
anything higher res than the MLX90640 because 32x24 is really way too low for what I need.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Sure, there are higher resolution cameras out there, I just don't have any experience with one unfortunately.
@thugtechgamer5308
@thugtechgamer5308 4 жыл бұрын
Nice vid
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Thank you, appreciate it!
@GauravKumar-wo2ks
@GauravKumar-wo2ks 4 жыл бұрын
After doing all the process you mentioned in the video, I got a error when run the program using thermal-camera-advanced.py File "/home/pi/project-name/TestMLX.py", line 6, in i2c = busio.I2C(board.SCL, board.SDA, frequency=800000) AttributeError: module 'board' has no attribute 'SCL' Resources which I used - 1. Raspberry Pi 4 2. Sensor - MLX90641 What should I do !!
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Did you run the i2cdetect command and what is your address?
@GauravKumar-wo2ks
@GauravKumar-wo2ks 4 жыл бұрын
@@EverythingSmartHome Yes I have run the i2cdetect command, and the address is 0x33
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Which version if Raspberry Pi OS are you using? Did you make sure to install all the requirements?
@shaneobrien9315
@shaneobrien9315 3 жыл бұрын
That screen does not work correctly with a Pi4 only the Pi3
@mke_gal
@mke_gal 3 жыл бұрын
it works for me, I have a pi 4!
@shaneobrien9315
@shaneobrien9315 3 жыл бұрын
@@mke_gal The screen does the touch feature doesnt
@ramonabdyo
@ramonabdyo 4 жыл бұрын
If you point it at someones face what degree will it show. Because the nose differs from the forehead you know. (I want to measure the forehead obviously)
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
It will display the hottest temperature on the screen. But you can just move closer to zoom in on the forehead to get a more accurate result
@falloutboi9796
@falloutboi9796 4 жыл бұрын
Your program is lagging and the colors are only red and blue.
@EverythingSmartHome
@EverythingSmartHome 4 жыл бұрын
Interesting that you then upload a video with almost the same program and colours :)
@ther3negade273
@ther3negade273 2 жыл бұрын
he made u look real silly
Thermal Imaging Camera DIY $110 VS Buy $530 || DIY or Buy
11:07
GreatScott!
Рет қаралды 307 М.
10 Best Home Assistant Features This Year! - Rewind 2024
13:05
Everything Smart Home
Рет қаралды 17 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
I Made My Smart Home Presence Sensor Even Better!
11:09
Everything Smart Home
Рет қаралды 81 М.
#269 Infrared Light: Raspberry IR Camera and cheap Spectrometer (i-Phos)
13:59
I Made My Smart Home Presence Sensors Even Better! + Updates
16:23
Everything Smart Home
Рет қаралды 65 М.
This Tiny NAS Is FAST! - UGreen NASync Review
25:57
Everything Smart Home
Рет қаралды 35 М.
Raspberry Pi Thermal Camera
8:05
Blitz City DIY
Рет қаралды 68 М.
11 Essential Tips For Home Assistant Beginners!
14:49
Everything Smart Home
Рет қаралды 119 М.