{"id":13613073,"url":"https://github.com/billyrayvalentine/micropython-Si70xx","last_synced_at":"2025-04-13T15:32:30.662Z","repository":{"id":98186974,"uuid":"78772556","full_name":"billyrayvalentine/micropython-Si70xx","owner":"billyrayvalentine","description":"A MicroPython library for the I2C Silicon Labs Si70xx series of relative humidity and temperature sensors","archived":false,"fork":false,"pushed_at":"2017-01-12T18:12:23.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-22T13:30:45.004Z","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/billyrayvalentine.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-12T18:04:54.000Z","updated_at":"2024-08-01T20:44:29.560Z","dependencies_parsed_at":"2023-06-29T18:01:09.160Z","dependency_job_id":null,"html_url":"https://github.com/billyrayvalentine/micropython-Si70xx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrayvalentine%2Fmicropython-Si70xx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrayvalentine%2Fmicropython-Si70xx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrayvalentine%2Fmicropython-Si70xx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billyrayvalentine%2Fmicropython-Si70xx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billyrayvalentine","download_url":"https://codeload.github.com/billyrayvalentine/micropython-Si70xx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248735922,"owners_count":21153501,"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:39.152Z","updated_at":"2025-04-13T15:32:30.445Z","avatar_url":"https://github.com/billyrayvalentine.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Sensors","传感器"],"readme":"README.md\n# micropython-Si70xx\nA MicroPython library for the I2C [Silicon Labs Si70xx](http://www.silabs.com/products/sensors/humidity-sensors/Pages/default.aspx) series of relative humidity and temperature sensors.  \nThis library should work with the Si7006 Si7013 Si7020 Si7021 Si7034\n\nThis class is a subclass of the [billyrayvalentine/micropython-Si705x] (https://github.com/billyrayvalentine/micropython-Si705x) and must therefor be available to Micropython.\n\n**This module has currently only been tested on the Si7021.  Please report your milage**\n\n# Methods\nThere are only four methods:\n\n```get_temperature``` - Perform a measurement and return the temperature in Celsius\n\n```get_humidity``` - Perform a measurement and return the relative humidity percentage\n\n```get_model``` - Return the hardware model e.g. Si7021\n\n```get_firmware_version``` - Return the hex value of the firmware version\n\n# Example in REPL\n```python\n\u003e\u003e\u003e from machine import Pin, I2C\n\u003e\u003e\u003e from Si70xx import Si70xx\n\u003e\u003e\u003e i2c = I2C(scl=Pin(5), sda=Pin(4))\n\u003e\u003e\u003e sensor = Si70xx(i2c)\n\u003e\u003e\u003e sensor.get_temperature()\n23.64604\n\u003e\u003e\u003e sensor.get_humidity()\n41.74857\n\u003e\u003e\u003e sensor.get_model()\n'Si7021'\n\u003e\u003e\u003e sensor.get_firmware_version()\n'0x20'\n\n```\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillyrayvalentine%2Fmicropython-Si70xx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillyrayvalentine%2Fmicropython-Si70xx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillyrayvalentine%2Fmicropython-Si70xx/lists"}