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...
  • ХоббиХобби

Комментарии • 51

  • @avejst
    @avejst 3 года назад +5

    Wow, great find!
    Interesting project!!!
    Thanks for sharing your experience with all of us👍😀

  • @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 Год назад +1

    Great video. Thanks

  • @josephrossman1600
    @josephrossman1600 2 года назад +1

    Could you add another sensor and get a higher res image? Depth perception?

  • @en2oh
    @en2oh 3 месяца назад

    Are you going to look at the Lepton sensors? Would be a great ‘follow up’ project.

  • @billybbob18
    @billybbob18 Год назад +2

    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!

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

  • @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 года назад +1

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

  • @genericuser-1
    @genericuser-1 Год назад +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  Год назад +1

      With my interpellation routine I only get about five frames per second.

    • @genericuser-1
      @genericuser-1 Год назад +1

      @@KrisKasprzak oh alright

  • @sskdll
    @sskdll 2 года назад +1

    Hi, which FOV version of MLX9040 used in this project 110x75 or 55x35?

    • @KrisKasprzak
      @KrisKasprzak  2 года назад +2

      110 degree unit

    • @sskdll
      @sskdll 2 года назад +1

      @@KrisKasprzak Thanks

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

  • @sungwoomoon2665
    @sungwoomoon2665 Год назад

    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 :)

  • @agredo
    @agredo 2 года назад

    you have updated version? with MLX90641

    • @KrisKasprzak
      @KrisKasprzak  2 года назад +1

      No, and I won't be 16x12 pixels is not too exciting for me.

    • @agredo
      @agredo 2 года назад

      @@KrisKasprzak jaja

  • @Allan_aka_RocKITEman
    @Allan_aka_RocKITEman Год назад +1

    @KrisKasprzak >>> 👍👍

  • @vincentnatividad8957
    @vincentnatividad8957 3 месяца назад

    Is it possible without the LCD DISPLAY?

    • @KrisKasprzak
      @KrisKasprzak  3 месяца назад

      Can you be more specific on what you mean?

  • @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 года назад +1

      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 года назад +1

      @@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!

  • @leakedazaz
    @leakedazaz Год назад

    Flipping us off there at the end?

  • @ruiamaral1974
    @ruiamaral1974 7 месяцев назад

    My 8 pixel by 8 pixel Panasonic AMG8833 thermal sensor has better image and refresh rate dude,

    • @KrisKasprzak
      @KrisKasprzak  7 месяцев назад

      Uh ok….

    • @ruiamaral1974
      @ruiamaral1974 7 месяцев назад

      @@KrisKasprzak it sounds strange but my grid- eye looks more smooth.