{"id":13613057,"url":"https://github.com/kfricke/micropython-sht31","last_synced_at":"2025-04-13T15:32:24.757Z","repository":{"id":54219919,"uuid":"51332697","full_name":"kfricke/micropython-sht31","owner":"kfricke","description":"Micropython \"driver\" for the SHT31 temperature and humidity sensor","archived":false,"fork":false,"pushed_at":"2023-07-16T10:16:17.000Z","size":8,"stargazers_count":21,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T12:36:35.594Z","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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-02-08T22:43:34.000Z","updated_at":"2023-12-31T00:37:09.000Z","dependencies_parsed_at":"2024-01-07T21:53:43.279Z","dependency_job_id":"aaa86f84-9d43-4b67-a7ac-4a055df0a8f4","html_url":"https://github.com/kfricke/micropython-sht31","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-sht31","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-sht31/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-sht31/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfricke%2Fmicropython-sht31/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kfricke","download_url":"https://codeload.github.com/kfricke/micropython-sht31/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248735877,"owners_count":21153491,"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":[],"created_at":"2024-08-01T20:00:38.684Z","updated_at":"2025-04-13T15:32:24.522Z","avatar_url":"https://github.com/kfricke.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Sensors","传感器"],"readme":"# micropython-sht31\nThis repository contains a MicroPython \"driver\" implementationforo the SHT31\ntemperature and humidity sensor from Sensirion.\n\nCurrently only a reasonably small subset of the features the sensor is\nimplemented.\n\n## Implemented\n* Read the temperature and humidity at different \"repeatability\" (accuracy)\nsettings. With celsius and fahrenheit values.\n* Only single shot data acquisition mode\n\n## Not yet implemented\n* Continous (periodic) temperature acquisition and the corresponding\nbreak/stop command\n* CRC check of the sensor readings\n* Temperature alerts\n* Resetting the sensor (nRESET pin)\n\n## Example code:\n```\nfrom machine import Pin, I2C\nimport sht31\n\ni2c = I2C(scl=Pin(5), sda=Pin(4), freq =400000)\nsensor = sht31.SHT31(i2c, addr=0x44)\n\nsensor.get_temp_humi()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfricke%2Fmicropython-sht31","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkfricke%2Fmicropython-sht31","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfricke%2Fmicropython-sht31/lists"}