{"id":13613048,"url":"https://github.com/kfricke/micropython-mcp9808","last_synced_at":"2026-02-06T14:50:17.605Z","repository":{"id":54219857,"uuid":"51284322","full_name":"kfricke/micropython-mcp9808","owner":"kfricke","description":"MicroPython driver for the Microchip MCP9808 temperature sensor","archived":false,"fork":false,"pushed_at":"2023-01-16T21:39:15.000Z","size":10,"stargazers_count":7,"open_issues_count":3,"forks_count":13,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T15:41:54.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/kfricke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-08T07:28:13.000Z","updated_at":"2024-10-15T06:51:42.000Z","dependencies_parsed_at":"2023-02-10T06:30:33.737Z","dependency_job_id":null,"html_url":"https://github.com/kfricke/micropython-mcp9808","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kfricke/micropython-mcp9808","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-mcp9808","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-mcp9808/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-mcp9808/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-mcp9808/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kfricke","download_url":"https://codeload.github.com/kfricke/micropython-mcp9808/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-mcp9808/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29165211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T14:37:12.680Z","status":"ssl_error","status_checked_at":"2026-02-06T14:36:22.973Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-08-01T20:00:38.483Z","updated_at":"2026-02-06T14:50:17.564Z","avatar_url":"https://github.com/kfricke.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Sensors","传感器"],"readme":"# micropython-mcp9808\nThis repository contains a MicroPython \"driver\" implementation for the MCP9808\ntemperature sensor from Microchip.\n\n## Implemented\n* Reading the temperature value in degree celsius. The `get_temp()` method supports floating point values and the `get_temp_int()` method does not use floating point arythmetic at all and does return a tuple of decimal and fraction parts of the temperature reading.\n* Shutdown mode to save power. When not in shutdown mode the sensor\ndoes draw 200-400 uA. Data acquisition can only be stopped in the so called\n\"shutdown mode\". In this mode communication is still possible using I2C.\n* Changing the data acquisition resolution and duration. On power up the sensor\nis set to maximum resolution.\n\n    | Mode Name | Resolution  | Duration | Samples / sec |\n    | --------- | ----------- | -------- | ------------- |\n    | T_RES_MIN | +-0.5 °C    |    30 ms | 33            |\n    | T_RES_LOW | +-0.25 °C   |    65 ms | 15            |\n    | T_RES_AVG | +-0.125 °C  |   130 ms |  7            |\n    | T_RES_MAX | +-0.0625 °C |   250 ms |  4            |\n* Alert mode: boundaries are defined by using\n`set_alert_boundary_temp()`. `set_alert_mode(self, enable_alert, output_mode, polarity, selector)`\nallows to enable/disable alert functionality, set the desired output mode to\ncomparator or interrupt, switch te polarity between active-low or active-high\n(pull-up resistor required!) as well as what boundaries should trigger an alert.\n\n## Not yet implemented\n* hysteresis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfricke%2Fmicropython-mcp9808","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkfricke%2Fmicropython-mcp9808","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfricke%2Fmicropython-mcp9808/lists"}