DIY high-er res Thermal Camera for $100
HTML-код
- Опубликовано: 3 апр 2021
- Check out the Melexis 32 x 24 thermal camera, MLX90640 powered by a Teensy 4.0. This video shows the connections, code, and results. I built this unit for $100 and included the cost of the camera, MCU, and display. While 32 x 24 sensor array is not what you may consider to be high resolution, my code expands the display to 310 x 230 using some interpolation.
Source code
github.com/KrisKasprzak/HDThe...
Library
github.com/sparkfun/SparkFun_...
Sensor
www.digikey.com/en/products/d...
Other useful tutorials
Temperature sensor shootout: • Temperature sensor sho...
Using 7-segment LED's: • Using 7-segment displa...
Writing and reading to SD cards: • Tutorial: Writing and ...
Saving settings even during MCU power down: • Tutorial: How to save ...
Getting those darn TFT LCD displays to work: • Tutorial: Getting TFT ...
Turning stuff on or off: • Tutorial: Use your MCU...
Writing analog signals/voltages: • Tutorial: Use analogWr...
Using digital sensors: • Tutorial: Use digitalR...
Using analog sensors: • Tutorial: Use analogRe...
Talking to your Arduino: • Tutorial: How to talk ...
Some fun projects to build
Build a 3D printer filament meter: • Build a 3D printer fil...
Homemade motorized table saw fence • DIY motorized table sa...
DIY Garage Parking Assistant: • DIY Garage Parking As... - Хобби
Wow, great find!
Interesting project!!!
Thanks for sharing your experience with all of us👍😀
Thanks for watching!
Great presentation. Thank you for your time and effort to make this video and share it with us. Greetings from Croatia
You’re very welcome my friend from Croatia. I had the pleasure of visiting your country a few years ago. We stayed in Trogir. Absolute paradise.
Great video. Thanks
Glad you liked it!
Could you add another sensor and get a higher res image? Depth perception?
Are you going to look at the Lepton sensors? Would be a great ‘follow up’ project.
Try using the TFT_ESPI library by Bodmer. You'll need to modify it slightly (or I can share my library config). I also like that red SPI ili9341. I have the SPI bus at 60MHZ (was able to push it to 80mhz with some errors) with the ili9341 on an ESP32. Super fast. Thanks for this upload. I'll be using your code to run the thermal cam. I'm just curious as to the effective range for spotting a person. Thanks a bunch!
I'll give that a try someday.
great work! I am interested in trying a previous thermal camera project using amg8833. But I'm using raspberry pi 3 and confused about rewriting the code to python. Do you have a reference to the RPI code like the project you made 3 years earlier? Thankyou!
I've never used an Raspberry PI and have no knowledge of their use.
do you think could be possible to stream incoming data to the sd at full speed? I know the screen is not too speedy, but maybe data could be dumped raw and elaborated to a nice video ofline :D
Are you trying to stream the temperature measurements or screen captures? If the former, maybe 320x240 points x 2 color bytes per pixel = 153600 bytes x 4 times per second = 614,400 bytes/second to an SD card? probably not possible without some special optimizations. if you want to grab screen pixels, and send images, forget that...screen capture takes around 7 seconds per screen capture
@@KrisKasprzak thanks for the answer. Just the i2c data coming from the sensor ... 24*32*2bytes at frame x FPS ... Bandwith could be adjusted on the FPS i suppose
@@KrisKasprzak yes, dump data sampled by sensor and process them offline to obtain a better video. Maybe also a quick RLE algorithm on data streamed to the sd card could lower the bandwidth.
Good afternoon! I've been struggling with this camera for two months already ... It needs to be run under Linux on the Jetson Nano, the library you specified is perfect, please tell me where to run the code from and where can I find it?
I found a lib here: github.com/sparkfun/SparkFun_MLX90640_Arduino_Example
It works perfectly with the Teensy (I use a Teensy 4.0).
@@KrisKasprzak Thank you so much!!!
10:30 Wait, so is the actual camera not as low FPS as it showed previously? Does it actually look like what you showed later in person?
With my interpellation routine I only get about five frames per second.
@@KrisKasprzak oh alright
Hi, which FOV version of MLX9040 used in this project 110x75 or 55x35?
110 degree unit
@@KrisKasprzak Thanks
I have no budget to buy a thermal camera ....Can you help me to make thermal camera if I face any problem to make it...
How far can it detect objects? I mean, the distance from the thermal camera to the object. Thanks.
depends on the resolution. The thumbnail shows the fingers of my hand and is about 2 feet away. 10 Feet, you will see very little detail--looking at a window will show a blob.
can a raspberry pi 4 be used instead of the teensy 4.0 board?
Sure not. the display is specific to a teensy and probably other things.
@@KrisKasprzak I mean the cameras SDA and SCL pins to the Pi4 and display through the Pi to a monitor.
@@bakayaro117 I honestly don't know. I've never used a Pi--and never will :)
you have updated version? with MLX90641
No, and I won't be 16x12 pixels is not too exciting for me.
@@KrisKasprzak jaja
@KrisKasprzak >>> 👍👍
Is it possible without the LCD DISPLAY?
Can you be more specific on what you mean?
Can that be used to look at PCBs or motherboards for hot spots? Tell-tale shorts? 🤔 Can a sharper (higher resolution) screen be used? Thanks
You might be able to get general heat spots but not sure how detailed or accurate will be. Display resolution has nothing to do with it remember this is a 24 x 32 pixel there’s not a lot of resolution that to begin with
@@KrisKasprzak thanks for the reply! What if you used a higher resolution camera & screen? 🤔 Thanks
@@j.lietka9406 Have you been able to find a Hi-Rez thermal camera?
@@KrisKasprzak well no, have not looked! Some of the pre-built quality thermal cameras are a bit expensive!
Flipping us off there at the end?
nope
My 8 pixel by 8 pixel Panasonic AMG8833 thermal sensor has better image and refresh rate dude,
Uh ok….
@@KrisKasprzak it sounds strange but my grid- eye looks more smooth.