{"id":20587154,"url":"https://github.com/sparkfun/sparkfun_mlx90640_arduino_example","last_synced_at":"2025-09-10T16:46:10.866Z","repository":{"id":47428763,"uuid":"136083018","full_name":"sparkfun/SparkFun_MLX90640_Arduino_Example","owner":"sparkfun","description":"Controlling and reading from the MLX90640 IR array thermal imaging sensor","archived":false,"fork":false,"pushed_at":"2024-06-15T03:38:31.000Z","size":6423,"stargazers_count":134,"open_issues_count":11,"forks_count":37,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-04-06T09:05:47.279Z","etag":null,"topics":["arduino","processing","sensor","sparkfun","temperature","thermopile"],"latest_commit_sha":null,"homepage":"https://www.sparkfun.com/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sparkfun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-04T21:08:01.000Z","updated_at":"2025-03-06T10:48:12.000Z","dependencies_parsed_at":"2022-09-15T19:20:44.520Z","dependency_job_id":null,"html_url":"https://github.com/sparkfun/SparkFun_MLX90640_Arduino_Example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sparkfun/SparkFun_MLX90640_Arduino_Example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_MLX90640_Arduino_Example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_MLX90640_Arduino_Example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_MLX90640_Arduino_Example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_MLX90640_Arduino_Example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparkfun","download_url":"https://codeload.github.com/sparkfun/SparkFun_MLX90640_Arduino_Example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_MLX90640_Arduino_Example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266255244,"owners_count":23900098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","processing","sensor","sparkfun","temperature","thermopile"],"created_at":"2024-11-16T07:16:15.291Z","updated_at":"2025-07-21T07:03:40.797Z","avatar_url":"https://github.com/sparkfun.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"SparkFun MLX90640 Arduino Example\n========================================\n\n\u003ctable class=\"table table-hover table-striped table-bordered\"\u003e\n  \u003ctr align=\"center\"\u003e\n   \u003ctd\u003e\u003ca href=\"https://www.sparkfun.com/products/14843\"\u003e\u003cimg src=\"https://cdn.sparkfun.com/r/500-500/assets/parts/1/3/1/1/3/14843-SparkFun_IR_Array_Breakout_-_110_Degree_FOV__MLX90640__Qwiic_-01.jpg\" alt=\"Qwiic IR Array (MLX90640-110x75 FOV)\"\u003e\u003c/a\u003e\u003c/td\u003e\n   \u003ctd\u003e\u003ca href=\"https://www.sparkfun.com/products/14844\"\u003e\u003cimg src=\"https://cdn.sparkfun.com/r/500-500/assets/parts/1/3/1/1/4/14844-SparkFun_IR_Array_Breakout_-_55_Degree_FOV__MLX90640__Qwiic_-01.jpg\" alt=\"Qwiic IR Array (MLX90640-55x35 FOV)\"\u003e\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr align=\"center\"\u003e\n    \u003ctd\u003eQwiic IR Array (MLX90640-110x75 FOV) [\u003ca href=\"https://www.sparkfun.com/products/14843\"\u003eSEN-14843\u003c/a\u003e]\u003c/td\u003e\n    \u003ctd\u003eQwiic IR Array (MLX90640-55x35 FOV) [\u003ca href=\"https://www.sparkfun.com/products/14844\"\u003eSEN-14844\u003c/a\u003e]\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\nThis repo contains Arduino sketches that show how to output temperature data from the MLX90640 sensor. We've also included a Processing app in Example 2 to read in the values over the serial port and visualize them.\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.sparkfun.com//assets/parts/1/3/0/1/5/SparkFun-MLX90640-Waving.png\"\u003e\u003cimg src=\"https://cdn.sparkfun.com//assets/parts/1/3/0/1/5/SparkFun-MLX90640-Waving.png\" alt=\"SparkFun Qwiic IR Array - MLX90640\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThe MLX90640 contains a 32x24 array of thermopile sensors creating, in essence, a low resolution thermal imaging camera. As the images show you can detect surface temperatures from many feet away with an accuracy of ±1.5°C (best case). We’ve packaged the MLX90640 on an easy to use Qwiic board with mounting holes and a smattering of decoupling caps. We’ve written an example Arduino sketch and Processing app to get started with the sensor quickly!\n\nThe MLX90640 occupies a very interesting spot in the thermal imaging space. It is much higher resolution than the Panasonic Grid-EYE and much lower cost than the FLiR Lepton cameras. A very exciting advancement!\n\n**Not Uno Compatible:** The MLX90640 requires complex calculations by the host platform. A regular Uno doesn't have enough RAM or flash to complete the complex computations required to turn the raw pixel data into temperature data. You will need a microcontroller with 20,000 bytes or more of RAM. We recommend a Teensy 3.1 or above.\n\nSparkFun labored with love to create this code. Feel like supporting open source hardware? \nBuy the Melexis MLX90640 breakout board ([110\u0026deg;](https://www.sparkfun.com/products/14843) and [55\u0026deg;](https://www.sparkfun.com/products/14844) FOV) from SparkFun!\n\nRepository Contents\n-------------------\n\n* **/Documents** - Datasheets\n* **/Firmware** - Contains the sketches that Processing app to implement the visualizer\n\nDocumentation\n--------------\n* **[Hookup Guide](https://learn.sparkfun.com/tutorials/qwiic-ir-array-mlx90640-hookup-guide)** - Basic hookup guide for the Qwiic IR Array.\n* Product Repos\n  * **[Qwiic IR Array (MLX90640-110x75 FOV)](https://github.com/sparkfun/Qwiic_IR_Array_MLX90640_110)**\n  * **[Qwiic IR Array (MLX90640-55x35 FOV)](https://github.com/sparkfun/Qwiic_IR_Array_MLX90640_55)**\n\nProducts that use this Library\n----------------\n* [SEN-14843](https://www.sparkfun.com/products/14843)- SparkFun red version w/ 110\u0026deg; FOV\n* [SPX-14768](https://www.sparkfun.com/products/14768)- SparkX version w/ 110\u0026deg; FOV\n* [SEN-14844](https://www.sparkfun.com/products/14844)- SparkFun red version w/ 55\u0026deg; FOV\n* [SPX-14769](https://www.sparkfun.com/products/14769)- SparkX version w/ 55\u0026deg; FOV\n\nLicense Information\n-------------------\n\nThis product is _**open source**_! \n\nPlease review the LICENSE.md file for license information. \n\nIf you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.\n\nPlease use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release any derivative under the same license.\n\nDistributed as-is; no warranty is given.\n\n- Your friends at SparkFun.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkfun%2Fsparkfun_mlx90640_arduino_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkfun%2Fsparkfun_mlx90640_arduino_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkfun%2Fsparkfun_mlx90640_arduino_example/lists"}