{"id":13613087,"url":"https://github.com/mcauser/micropython-mlx90614","last_synced_at":"2025-07-18T07:07:00.290Z","repository":{"id":52879928,"uuid":"69108515","full_name":"mcauser/micropython-mlx90614","owner":"mcauser","description":"MicroPython driver for the MLX90614 IR temperature sensor","archived":false,"fork":false,"pushed_at":"2024-04-16T21:53:22.000Z","size":60,"stargazers_count":35,"open_issues_count":6,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-04T08:51:43.861Z","etag":null,"topics":["infrared","micropython","mlx90614","temperature"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcauser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-24T14:54:48.000Z","updated_at":"2024-12-29T20:30:21.000Z","dependencies_parsed_at":"2022-09-06T02:40:29.628Z","dependency_job_id":null,"html_url":"https://github.com/mcauser/micropython-mlx90614","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mcauser/micropython-mlx90614","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fmicropython-mlx90614","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fmicropython-mlx90614/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fmicropython-mlx90614/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fmicropython-mlx90614/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcauser","download_url":"https://codeload.github.com/mcauser/micropython-mlx90614/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcauser%2Fmicropython-mlx90614/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265716306,"owners_count":23816354,"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":["infrared","micropython","mlx90614","temperature"],"created_at":"2024-08-01T20:00:39.523Z","updated_at":"2025-07-18T07:07:00.263Z","avatar_url":"https://github.com/mcauser.png","language":"Python","funding_links":[],"categories":["精选驱动库","Libraries"],"sub_categories":["传感器","Sensors"],"readme":"# MicroPython MLX90614\n\nA MicroPython library for interfacing with a Melexis MLX90614 IR temperature sensor.\n\nFor example, the [GY-906 module](https://www.aliexpress.com/item/GY-906-MLX90614ESF-New-MLX90614-Contactless-Temperature-Sensor-Module-For-Arduino-Compatible/32474869821.html).\n\n![demo](docs/GY-906-MLX90614.jpg)\n\n## Examples\n\nCopy the file to your device, using ampy, webrepl or compiling and deploying. eg.\n\n```bash\n$ ampy put mlx90614.py\n```\n\n**Basic measurement**\n\n```python\nimport mlx90614\nfrom machine import I2C, Pin\n\ni2c = I2C(scl=Pin(5), sda=Pin(4))\nsensor = mlx90614.MLX90614(i2c)\n\nprint(sensor.read_ambient_temp())\nprint(sensor.read_object_temp())\nif sensor.dual_zone:\n    print(sensor.object2_temp)\n```\n\n**Continuous measurement**\n\n```python\nimport time\nimport mlx90614\nfrom machine import I2C, Pin\n\ni2c = I2C(scl=Pin(5), sda=Pin(4))\nsensor = mlx90614.MLX90614(i2c)\n\nwhile True:\n\tprint(sensor.read_ambient_temp(), sensor.read_object_temp())\n\ttime.sleep_ms(500)\n```\n\nFor full documentation see http://micropython-mlx90614.rtfd.io/.\n\n## Parts\n\n* [WeMos D1 Mini](https://www.aliexpress.com/store/product/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/1331105_32529101036.html) $3.50 USD\n* [GY-906 module](https://www.aliexpress.com/item/GY-906-MLX90614ESF-New-MLX90614-Contactless-Temperature-Sensor-Module-For-Arduino-Compatible/32474869821.html) $4.05 USD\n\n## Connections\n\nWeMos D1 Mini | GY-906 module\n------------- | ----------\nD1 (GPIO5)    | SCL\nD2 (GPIO4)    | SDA\n3V3           | VCC\nG             | GND\n\n## Links\n\n* [MLX90614 product page](https://www.melexis.com/en/product/MLX90614/Digital-Plug-Play-Infrared-Thermometer-TO-Can)\n* [MLX90614 datasheet](https://www.melexis.com/-/media/files/documents/datasheets/mlx90614-datasheet-melexis.pdf)\n* [WeMos D1 Mini](https://wiki.wemos.cc/products:d1:d1_mini)\n* [micropython.org](http://micropython.org)\n* [Adafruit Ampy](https://learn.adafruit.com/micropython-basics-load-files-and-run-code/install-ampy)\n\n## License\n\nLicensed under the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcauser%2Fmicropython-mlx90614","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcauser%2Fmicropython-mlx90614","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcauser%2Fmicropython-mlx90614/lists"}