DIY high-er res Thermal Camera for $100

  Рет қаралды 37,353

Kris Kasprzak

Kris Kasprzak

3 жыл бұрын

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...

Пікірлер: 51
@avejst
@avejst 3 жыл бұрын
Wow, great find! Interesting project!!! Thanks for sharing your experience with all of us👍😀
@KrisKasprzak
@KrisKasprzak 3 жыл бұрын
Thanks for watching!
@mijalic1
@mijalic1 Жыл бұрын
Great presentation. Thank you for your time and effort to make this video and share it with us. Greetings from Croatia
@KrisKasprzak
@KrisKasprzak Жыл бұрын
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.
@miriamramstudio3982
@miriamramstudio3982 Жыл бұрын
Great video. Thanks
@KrisKasprzak
@KrisKasprzak Жыл бұрын
Glad you liked it!
@josephrossman1600
@josephrossman1600 2 жыл бұрын
Could you add another sensor and get a higher res image? Depth perception?
@en2oh
@en2oh 4 ай бұрын
Are you going to look at the Lepton sensors? Would be a great ‘follow up’ project.
@billybbob18
@billybbob18 Жыл бұрын
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!
@KrisKasprzak
@KrisKasprzak Жыл бұрын
I'll give that a try someday.
@apriandirahmanhakimipb5186
@apriandirahmanhakimipb5186 3 жыл бұрын
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!
@KrisKasprzak
@KrisKasprzak 3 жыл бұрын
I've never used an Raspberry PI and have no knowledge of their use.
@Allan_aka_RocKITEman
@Allan_aka_RocKITEman Жыл бұрын
@KrisKasprzak >>> 👍👍
@FedericoAllegretti
@FedericoAllegretti 2 жыл бұрын
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
@KrisKasprzak
@KrisKasprzak 2 жыл бұрын
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
@FedericoAllegretti
@FedericoAllegretti 2 жыл бұрын
@@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
@FedericoAllegretti
@FedericoAllegretti 2 жыл бұрын
@@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.
@user-jz2bu9on7m
@user-jz2bu9on7m 3 жыл бұрын
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?
@KrisKasprzak
@KrisKasprzak 3 жыл бұрын
I found a lib here: github.com/sparkfun/SparkFun_MLX90640_Arduino_Example It works perfectly with the Teensy (I use a Teensy 4.0).
@user-jz2bu9on7m
@user-jz2bu9on7m 3 жыл бұрын
@@KrisKasprzak Thank you so much!!!
@sskdll
@sskdll 2 жыл бұрын
Hi, which FOV version of MLX9040 used in this project 110x75 or 55x35?
@KrisKasprzak
@KrisKasprzak 2 жыл бұрын
110 degree unit
@sskdll
@sskdll 2 жыл бұрын
@@KrisKasprzak Thanks
@genericuser-1
@genericuser-1 Жыл бұрын
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?
@KrisKasprzak
@KrisKasprzak Жыл бұрын
With my interpellation routine I only get about five frames per second.
@genericuser-1
@genericuser-1 Жыл бұрын
@@KrisKasprzak oh alright
@jashking2665
@jashking2665 Жыл бұрын
How far can it detect objects? I mean, the distance from the thermal camera to the object. Thanks.
@KrisKasprzak
@KrisKasprzak Жыл бұрын
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.
@bakayaro117
@bakayaro117 2 жыл бұрын
can a raspberry pi 4 be used instead of the teensy 4.0 board?
@KrisKasprzak
@KrisKasprzak 2 жыл бұрын
Sure not. the display is specific to a teensy and probably other things.
@bakayaro117
@bakayaro117 2 жыл бұрын
@@KrisKasprzak I mean the cameras SDA and SCL pins to the Pi4 and display through the Pi to a monitor.
@KrisKasprzak
@KrisKasprzak 2 жыл бұрын
@@bakayaro117 I honestly don't know. I've never used a Pi--and never will :)
@milannaskar8575
@milannaskar8575 3 жыл бұрын
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...
@j.lietka9406
@j.lietka9406 2 жыл бұрын
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
@KrisKasprzak
@KrisKasprzak 2 жыл бұрын
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
@j.lietka9406
@j.lietka9406 2 жыл бұрын
@@KrisKasprzak thanks for the reply! What if you used a higher resolution camera & screen? 🤔 Thanks
@KrisKasprzak
@KrisKasprzak 2 жыл бұрын
@@j.lietka9406 Have you been able to find a Hi-Rez thermal camera?
@j.lietka9406
@j.lietka9406 2 жыл бұрын
@@KrisKasprzak well no, have not looked! Some of the pre-built quality thermal cameras are a bit expensive!
@agredo
@agredo 2 жыл бұрын
you have updated version? with MLX90641
@KrisKasprzak
@KrisKasprzak 2 жыл бұрын
No, and I won't be 16x12 pixels is not too exciting for me.
@agredo
@agredo 2 жыл бұрын
@@KrisKasprzak jaja
@vincentnatividad8957
@vincentnatividad8957 3 ай бұрын
Is it possible without the LCD DISPLAY?
@KrisKasprzak
@KrisKasprzak 3 ай бұрын
Can you be more specific on what you mean?
@leakedazaz
@leakedazaz Жыл бұрын
Flipping us off there at the end?
@KrisKasprzak
@KrisKasprzak Жыл бұрын
nope
@ruiamaral1974
@ruiamaral1974 8 ай бұрын
My 8 pixel by 8 pixel Panasonic AMG8833 thermal sensor has better image and refresh rate dude,
@KrisKasprzak
@KrisKasprzak 8 ай бұрын
Uh ok….
@ruiamaral1974
@ruiamaral1974 8 ай бұрын
@@KrisKasprzak it sounds strange but my grid- eye looks more smooth.
ThunderStruck played by a STEPPER motor
0:51
Kris Kasprzak
Рет қаралды 2,4 М.
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 65 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 104 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 44 МЛН
Thermal Imaging Camera DIY $110 VS Buy $530 || DIY or Buy
11:07
GreatScott!
Рет қаралды 294 М.
Melexis MLX90640 Thermal Camera // budget thermal infrared
7:02
NEWTech Creative
Рет қаралды 23 М.
DIY High-Resolution Thermal Imaging Camera using MLX90640 & Raspberry Pi
12:10
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 67 М.
InfiRay P2 Pro Thermal Camera Review
19:51
Branchus Creations
Рет қаралды 27 М.
DIY Thermal Camera with AMG8833
19:19
EEforEveryone
Рет қаралды 51 М.
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Рет қаралды 499 М.
How to make your own Night Vision Device!
11:46
GreatScott!
Рет қаралды 450 М.
How to Make a Night Vision Camera From a Regular Digital Camera (Infrared IR)
11:15
Rickvanman - Variety Channel
Рет қаралды 747 М.
The poor girl couldn't take care of the cat 😢😔
0:38
Ben Meryem
Рет қаралды 11 МЛН
Nutella-Kinder burrito bomb ! 🤤🎉
0:47
adrian ghervan
Рет қаралды 11 МЛН
Водитель на каблуках
0:10
РОФЛОТЮБ
Рет қаралды 1 МЛН