[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-691516-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-691516-en":130,"doc-similar-691516":178},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","mlx90640-thermal-camera-image-recording","MLX90640 Thermal Camera - Image Recording","","The guide explains how to build a Feather-based MLX90640 IR thermal imaging “mini thermal recording camera” that captures sensed temperatures and stores them as modified BMP files on flash media. It covers the hardware foundation, including the sensor and required supporting boards, then walks through enabling libraries and uploading sketches. The documentation further describes how images are processed in Processing, including the main loop, menu options, inspector and conversion sketches, and steps to turn image sequences into movies.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/mlx90640-thermal-camera-image-recording/691516/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/mlx90640-thermal-camera-image-recording/691516.png","ImageObject",300,407,{"name":42,"@type":43},"Blue Pony","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-01","2026-11-08",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What does the MLX90640 thermal camera project record and how is the data stored?","Question",{"text":63,"@type":64},"It captures and records thermal images by saving temperature data as modified BMP files onto onboard flash media, then later downloading to a computer for visualization and processing.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What additional hardware and software support are required for the project?",{"text":68,"@type":64},"A Feather-based setup with an MLX90640 breakout plus support for Arcada (with a TFT LCD screen and STEMMA connectors) is used, and the workflow relies on uploaded sketches and Processing tools to process the downloaded data.",{"name":70,"@type":61,"acceptedAnswer":71},"How do the Processing sketches transform recorded images into sequences and movies?",{"text":72,"@type":64},"The guide uses conversion sketches (such as ConvertBMPtoSeq01) to build sequences from recorded BMP frames, then applies movie creation steps and color adjustments based on the processing workflow described in the guide.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},691516,1794174822,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":110,"preview_urls":145},962090760266,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","MLX90640 Thermal Camera with Image  \nRecording  \nCreated by Eduardo Blume  \n[https://learn.adafruit.com/mlx90640-thermal-image-recording](https://learn.adafruit.com/mlx90640-thermal-image-recording)  \nLast updated on 2024-06-03 02:59:07 PM EDT  \n©Adafruit Industries Page 1 of 76  \nTable of Contents  \nOverview 3  \n\n| • Parts\u003Cbr>Adafruit Assemble! | 6 |\n| --- | --- |\n| Support Libraries | 8 |\n| • Test the Circuit\u003Cbr>• Enabling TinyUSB\u003Cbr>Uploading the Sketch | 11 |\n| Pixels on a Screen! | 25 |\n| • Capturing Images\u003Cbr>• The Settings Menu\u003Cbr>Code Walkthrough: Setting Up | 29 |\n| The Main Loop | 32 |\n| • The Interactive Stuff\u003Cbr>Supporting Functions | 37 |\n| • The Augmented BMP Files\u003Cbr>What's on the Menu? | 44 |\n| The Processing Language | 48 |\n| • The Inspector Sketch\u003Cbr>More Processing Sketches | 54 |\n| • Sketch 3: ConvertBMPtoSeq01\u003Cbr>Getting the Pictures | 66 |\n| • Using ConvertBMPinspector01\u003Cbr>Putting It in Motion | 69 |\n| • Using ConvertBMPto8bit\u003Cbr>• Modifying the Colors\u003Cbr>• Using ConvertBMPtoSeq01\u003Cbr>• Images into Movies\u003Cbr>• Digging the Data\u003Cbr>• Modify Your Movies\u003Cbr>Where Do We Go from Here? | 75 |\n\n©Adafruit Industries Page 2 of 76  \nOverview  \nAren't thermal imaging cameras amazing? They can reveal the heat in circuits, engines, plumbing, home insulation, firefighting, medicine, forensics, environmental science, search and rescue, energy monitoring, chemical reactions, detecting wildlife, detecting trespassers. What could you do with one? Find the cold spots in your house? Fine-tune the cooling system in your overclocked game machine? Investigate whether Rover was sitting in your recliner? Too bad the price puts these cameras out of reach   or it used to, until now.  \nThe Adafruit MLX90640 IR Thermal Camera Breakout ([http://adafru.it/4407](http://adafru.it/4407)) makes low resolution thermal imaging affordable. It can detect a 32 by 24 pixel grid of temperatures within a 55 degree field of view, or a 110 degree field of view ([http://](http://)[ ](http://)[adafru.it/4469](adafru.it/4469)). With a few extra goodies from Adafruit, you can turn it into your own mini thermal recording camera.  \nYour Feather-based thermal camera will be able to capture and store the images it senses as modified BMP files on flash media. These can be downloaded to a full-sized computer where the temperature data can be visualized and set in motion using opensource tools written in the Processing ([https://adafru.it/ldI](https://adafru.it/ldI)) language.  \nAnd don't miss the 3D printing guide, PyBadge Thermal Camera Case ([https://](https://)[ ](https://)[adafru.it/LIa](adafru.it/LIa)), for a project that will enhance your camera's protection, ergonomics, and style.  \nLearn Guide: PyBadge Thermal Camera Case  \n[https://adafru.it/LIa](https://adafru.it/LIa)  \n©Adafruit Industries Page 3 of 76  \nParts  \nThe project is based on the MLX90640 from Melexis ([https://adafru.it/JD2](https://adafru.it/JD2)), a low cost  \nsensor that uses thermopile ([https://adafru.it/JD3](https://adafru.it/JD3)) technology.  \nAdafruit MLX90640 IR Thermal Camera Breakout  \nYou can now add affordable heat-vision to your project and with an Adafruit MLX90640 Thermal Camera Breakout. This sensor contains a 24x32 array of IR thermal sensors. When connected    \n[https://www.adafruit.com/product/4407](https://www.adafruit.com/product/4407)  \nYou'll need a board with Adafruit Arcada ([https://adafru.it/EUk](https://adafru.it/EUk)) support + a TFT LCD screen and STEMMA connectors.  \nAdafruit PyBadge for MakeCode Arcade, CircuitPython, or Arduino  \nWhat's the size of a credit card and can run CircuitPython, MakeCode Arcade or Arduino? That's right, its the Adafruit PyBadge! We wanted to see how much we    \n[https://www.adafruit.com/product/4200](https://www.adafruit.com/product/4200)  \n[4-pin JST PH to JST SH Cable-STEMMA](4-pin JST PH to JST SH Cable-STEMMA)to QT / Qwiic  \nAre you a maker in the midst of a STEMMA dilemma? This 200mm long 4-wire    \n[https://www.adafruit.c","cbCaijmvJTdEKqPF","https://ap.wps.com/l/cbCaijmvJTdEKqPF","pdf",2520815,76,"English","# Overview\n# Parts\n## Support Libraries\n## Test the Circuit\n## Enabling TinyUSB\n# Capturing Images\n## The Settings Menu\n## Code Walkthrough: Setting Up\n# The Main Loop\n## The Interactive Stuff\n## Supporting Functions\n# The Augmented BMP Files\n## What's on the Menu?\n# The Processing Language\n## The Inspector Sketch\n## More Processing Sketches\n# Sketches and Conversion Workflow\n## Sketch 3: ConvertBMPtoSeq01\n## Using ConvertBMPinspector01\n## Putting It in Motion\n# Images into Movies\n## Digging the Data\n## Modify Your Movies\n# Where Do We Go from Here?","[{\"question\":\"What does the MLX90640 thermal camera project record and how is the data stored?\",\"answer\":\"It captures and records thermal images by saving temperature data as modified BMP files onto onboard flash media, then later downloading to a computer for visualization and processing.\"},{\"question\":\"What additional hardware and software support are required for the project?\",\"answer\":\"A Feather-based setup with an MLX90640 breakout plus support for Arcada (with a TFT LCD screen and STEMMA connectors) is used, and the workflow relies on uploaded sketches and Processing tools to process the downloaded data.\"},{\"question\":\"How do the Processing sketches transform recorded images into sequences and movies?\",\"answer\":\"The guide uses conversion sketches (such as ConvertBMPtoSeq01) to build sequences from recorded BMP frames, then applies movie creation steps and color adjustments based on the processing workflow described in the guide.\"}]","MLX90640 Thermal Camera - Image Recording | PDF",192,[146,150,154,158,162,166,170,174],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/fb1f4eb5b0a1ae2be31745da6b630e0d.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e0e66fd089b26be9b46ad289771c25da.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/cd63e17ad859df620722e614773ada38.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1776ff73de8d85870af12a94c1775d06.webp",980,1385,{"page_no":55,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/6053591ac591a130ffb5d7bbc7779195.webp",979,1384,{"page_no":101,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9b14c1c6676419591d488a309cb2db12.webp",978,1383,{"page_no":105,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/195e2f2140889c87f624be89241817a5.webp",977,1381,{"page_no":110,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1fde2ced43a7ddccb3d556ec4c664fec.webp",976,1380,{"list":179,"token":11},[180,186,192,198,204,211,218,225,232,239],{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":105,"category_name":29,"create_tm":185},691520,"Adafruit MLX90640 IR Thermal Camera - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002048763/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=NZQW2%2BNsHsPEHvrP2jG7gnSfy8o%3D","adafruit-mlx90640-ir-thermal-camera-guide",1794174824,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":105,"category_name":29,"create_tm":191},691511,"Adafruit MLX90640 IR Thermal Camera","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002678685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=0DGgckY4Iz8gfrbmEN%2B%2F63ThAwY%3D","adafruit-mlx90640-ir-thermal-camera",1794174814,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":33,"category_name":29,"create_tm":197},691512,"MLX90640 32x24 IR array - Datasheet - Key Features and Applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002048740/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=novC49iCfPyFSkB7UjoK40kEOoE%3D","mlx90640-32x24-ir-array-datasheet-key-features-and-applications",1794174816,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":33,"category_name":29,"create_tm":203},720846,"Lesson 16 - Controlling Stepper Motor With Remote","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024411401/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=g61fOyqiQyZ5LsOMxGJBmlo8LJ0%3D","lesson-16-controlling-stepper-motor-with-remote",1795040336,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},561484,"DAP202UM - Data Sheet - Switching Diode","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947648510/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=pXfzo2Uj0VEORto%2BnZLrsrb4h7c%3D","dap202um-data-sheet-switching-diode",11,1791805979,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=17egVcJsgu74fD8Ut09Rma%2FauCg%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":29,"create_tm":224},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=%2BHag3LLU9Bhzuk6RGFHL5j0%2FyBc%3D","xnx-universal-transmitter-installation-manual",855,1776135954,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":29,"create_tm":231},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=2usywsySlg9Ch%2FW8wBKZIBxgxms%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":233,"doc_title":234,"file_type":137,"home_preview_img_url":235,"slug":236,"view_count":237,"category_name":29,"create_tm":238},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=xKq6mP9cLzR5Yik%2B%2FuOfLe5acZg%3D","free-fire-proxy-server",565,1776135932,{"doc_id":240,"doc_title":241,"file_type":137,"home_preview_img_url":242,"slug":243,"view_count":244,"category_name":29,"create_tm":245},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=9oJ%2FCTxdZ5IZR7kG4iSQY1xL5OE%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",498,1786012506]