{"id":19738517,"url":"https://github.com/sensirion/embedded-sht","last_synced_at":"2025-04-30T05:31:29.242Z","repository":{"id":48900258,"uuid":"115524005","full_name":"Sensirion/embedded-sht","owner":"Sensirion","description":"Embedded SHT Drivers for Sensirion Temperature and Humidity Sensors - Download the Zip Package from the Release Page","archived":false,"fork":false,"pushed_at":"2024-04-19T14:16:00.000Z","size":391,"stargazers_count":96,"open_issues_count":0,"forks_count":39,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-05T22:51:13.845Z","etag":null,"topics":["driver","embedded","humidity","humidity-sens","i2c","raspberry-pi","raspberrypi","relative-humidity-sensors","sensirion","sensirion-embedded-drivers","sensor","sht31","sht35","sht3x","sht4x","shtc3","shtw2","temperature","temperature-sensor"],"latest_commit_sha":null,"homepage":"https://github.com/Sensirion/embedded-sht/releases","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sensirion.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2017-12-27T13:30:33.000Z","updated_at":"2025-02-25T06:37:22.000Z","dependencies_parsed_at":"2024-04-19T15:35:10.999Z","dependency_job_id":"8bda6d84-83e2-428a-aa4b-8289f79d6ae8","html_url":"https://github.com/Sensirion/embedded-sht","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fembedded-sht","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fembedded-sht/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fembedded-sht/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fembedded-sht/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sensirion","download_url":"https://codeload.github.com/Sensirion/embedded-sht/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251648824,"owners_count":21621421,"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":["driver","embedded","humidity","humidity-sens","i2c","raspberry-pi","raspberrypi","relative-humidity-sensors","sensirion","sensirion-embedded-drivers","sensor","sht31","sht35","sht3x","sht4x","shtc3","shtw2","temperature","temperature-sensor"],"created_at":"2024-11-12T01:14:25.033Z","updated_at":"2025-04-30T05:31:28.915Z","avatar_url":"https://github.com/Sensirion.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# embedded-sht [![CircleCI](https://circleci.com/gh/Sensirion/embedded-sht.svg?style=shield)](https://circleci.com/gh/Sensirion/embedded-sht) [![GitHub license](https://img.shields.io/badge/license-BSD3-blue.svg)](https://raw.githubusercontent.com/Sensirion/embedded-sht/master/LICENSE)\nThis repository contains the embedded driver sources for Sensirion's\nSHT product line.\n\n## Download the Latest Driver Release\n**Download the latest ready-to-use driver bundle from the [releases\npage](https://github.com/Sensirion/embedded-sht/releases/)**\n\nWe strongly recommend to use the driver from the release bundle instead of\ncloning the repository.\n\n## Clone this repository\n```\n git clone --recursive https://github.com/Sensirion/embedded-sht.git\n```\n\n## Repository content\n* `embedded-common` submodule repository for the common embedded driver HAL\n* `sht-common` common files for all SHTxx drivers, humidity conversion functions\n* `sht4x` SHT4 driver\n* `sht3x` SHT3x/SHT8x driver\n* `shtc1` SHTC3/SHTC1/SHTW1/SHTW2 driver\n* `utils` Conversion functions (Centigrade to Fahrenheit, %RH relative humidity\n          to aboslute humidity)\n  \nFor \u003ccode\u003e\u003ca href=\"https://github.com/Sensirion/embedded-i2c-sht3x\"\u003esht3x\u003c/a\u003e\u003c/code\u003e and \u003ccode\u003e\u003ca href=\"https://github.com/Sensirion/embedded-i2c-sht4x\"\u003esht4x\u003c/a\u003e\u003c/code\u003e there are also updated drivers available in separate repositories.\n\n## Collecting resources\n```\nmake release\n```\nThis will create the `release` folder with the necessary driver files in it,\nincluding a Makefile. That way, you have just ONE folder with all the sources\nready to build your driver for your platform.\n\n## Files to adjust (from embedded-common)\nYou only need to touch the following files:\n\n* `sensirion_arch_config.h` (architecture specifics, you need to specify\n  the integer sizes)\n\nand depending on your i2c implementation either of the following:\n\n* `embedded-common/hw_i2c/sensirion_hw_i2c_implementation.c`\n  functions for hardware i2c communication if your platform supports that\n* `embedded-common/sw_i2c/sensirion_sw_i2c_implementation.c`\n  functions for software i2c communication via GPIOs\n\n## Building the driver\n1. Adjust `sensirion_arch_config.h` if you don't have the `\u003cstdint.h\u003e` header\n   file available\n2. Implement necessary functions in one of the `*_implementation.c` files\n   described above\n3. make\n\n---\n\nPlease check the [embedded-common](https://github.com/Sensirion/embedded-common)\nrepository for further information and sample implementations.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensirion%2Fembedded-sht","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensirion%2Fembedded-sht","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensirion%2Fembedded-sht/lists"}