# Python I2C Driver for Sensirion SHT3X
This repository contains the Python driver to communicate with a Sensirion sensor of the SHT3X family over I2C.
<img src="https://raw.githubusercontent.com/Sensirion/python-i2c-sht3x/master/images/SHT3x.png"
width="300px" alt="SHT3X picture">
Click [here](https://sensirion.com/products/catalog/SHT30-DIS-B) to learn more about the Sensirion SHT3X sensor family.
Not all sensors of this driver family support all measurements.
In case a measurement is not supported by all sensors, the products that
support it are listed in the API description.
## Supported sensor types
| Sensor name | I²C Addresses |
| ------------- | -------------- |
|[SHT30A](https://sensirion.com/products/catalog/SHT30A-DIS-B)| **0x44**, 0x45|
|[SHT30](https://sensirion.com/products/catalog/SHT30-DIS-B)| **0x44**, 0x45|
|[SHT31A](https://sensirion.com/products/catalog/SHT31A-DIS-B)| **0x44**, 0x45|
|[SHT31](https://sensirion.com/products/catalog/SHT31-DIS-B)| **0x44**, 0x45|
|[SHT33](https://sensirion.com/products/catalog/SHT33-DIS)| **0x44**, 0x45|
|[SHT35A](https://sensirion.com/products/catalog/SHT35A-DIS-B)| **0x44**, 0x45|
|[SHT35](https://sensirion.com/products/catalog/SHT35-DIS-B)| **0x44**, 0x45|
The following instructions and examples use a *SHT30*.
## Connect the sensor
You can connect your sensor over a [SEK-SensorBridge](https://developer.sensirion.com/sensirion-products/sek-sensorbridge/).
For special setups you find the sensor pinout in the section below.
<details><summary>Sensor pinout</summary>
<p>
<img src="https://raw.githubusercontent.com/Sensirion/python-i2c-sht3x/master/images/SHT3x_pinout.png"
width="300px" alt="sensor wiring picture">
| *Pin* | *Cable Color* | *Name* | *Description* | *Comments* |
|-------|---------------|:------:|----------------|------------|
| 1 | green | SDA | I2C: Serial data input / output |
| 2 | black | GND | Ground |
| 3 | yellow | SCL | I2C: Serial clock input |
| 4 | red | VDD | Supply Voltage | 2.15V to 5.5V
</p>
</details>
## Documentation & Quickstart
See the [documentation page](https://sensirion.github.io/python-i2c-sht3x) for an API description and a
[quickstart](https://sensirion.github.io/python-i2c-sht3x/execute-measurements.html) example.
## Contributing
We develop and test this driver using our company internal tools (version
control, continuous integration, code review etc.) and automatically
synchronize the `master` branch with GitHub. But this doesn't mean that we
don't respond to issues or don't accept pull requests on GitHub. In fact,
you're very welcome to open issues or create pull requests :-)
### Check coding style
The coding style can be checked with [`flake8`](http://flake8.pycqa.org/):
```bash
pip install -e .[test] # Install requirements
flake8 # Run style check
```
In addition, we check the formatting of files with
[`editorconfig-checker`](https://editorconfig-checker.github.io/):
```bash
pip install editorconfig-checker==2.0.3 # Install requirements
editorconfig-checker # Run check
```
## License
See [LICENSE](LICENSE).
Raw data
{
"_id": null,
"home_page": "",
"name": "sensirion-i2c-sht3x",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6, <4",
"maintainer_email": "",
"keywords": "Sensirion SHT3X I2C SHT30A SHT30 SHT31A SHT31 SHT33 SHT35A SHT35",
"author": "Sensirion",
"author_email": "info@sensirion.com",
"download_url": "https://files.pythonhosted.org/packages/2a/d0/d1321ffe941f6cb0815023bef5ee02e8fc43d602606d63dd26796e6ca4fc/sensirion_i2c_sht3x-1.0.0.tar.gz",
"platform": null,
"description": "# Python I2C Driver for Sensirion SHT3X\n\nThis repository contains the Python driver to communicate with a Sensirion sensor of the SHT3X family over I2C. \n\n<img src=\"https://raw.githubusercontent.com/Sensirion/python-i2c-sht3x/master/images/SHT3x.png\"\n width=\"300px\" alt=\"SHT3X picture\">\n\n\nClick [here](https://sensirion.com/products/catalog/SHT30-DIS-B) to learn more about the Sensirion SHT3X sensor family.\n\n\nNot all sensors of this driver family support all measurements.\nIn case a measurement is not supported by all sensors, the products that\nsupport it are listed in the API description.\n\n\n\n## Supported sensor types\n\n| Sensor name | I\u00c2\u00b2C Addresses |\n| ------------- | -------------- |\n|[SHT30A](https://sensirion.com/products/catalog/SHT30A-DIS-B)| **0x44**, 0x45|\n|[SHT30](https://sensirion.com/products/catalog/SHT30-DIS-B)| **0x44**, 0x45|\n|[SHT31A](https://sensirion.com/products/catalog/SHT31A-DIS-B)| **0x44**, 0x45|\n|[SHT31](https://sensirion.com/products/catalog/SHT31-DIS-B)| **0x44**, 0x45|\n|[SHT33](https://sensirion.com/products/catalog/SHT33-DIS)| **0x44**, 0x45|\n|[SHT35A](https://sensirion.com/products/catalog/SHT35A-DIS-B)| **0x44**, 0x45|\n|[SHT35](https://sensirion.com/products/catalog/SHT35-DIS-B)| **0x44**, 0x45|\n\nThe following instructions and examples use a *SHT30*.\n\n\n\n## Connect the sensor\n\nYou can connect your sensor over a [SEK-SensorBridge](https://developer.sensirion.com/sensirion-products/sek-sensorbridge/).\nFor special setups you find the sensor pinout in the section below.\n\n<details><summary>Sensor pinout</summary>\n<p>\n<img src=\"https://raw.githubusercontent.com/Sensirion/python-i2c-sht3x/master/images/SHT3x_pinout.png\"\n width=\"300px\" alt=\"sensor wiring picture\">\n\n| *Pin* | *Cable Color* | *Name* | *Description* | *Comments* |\n|-------|---------------|:------:|----------------|------------|\n| 1 | green | SDA | I2C: Serial data input / output | \n| 2 | black | GND | Ground | \n| 3 | yellow | SCL | I2C: Serial clock input | \n| 4 | red | VDD | Supply Voltage | 2.15V to 5.5V\n\n\n</p>\n</details>\n\n\n## Documentation & Quickstart\n\nSee the [documentation page](https://sensirion.github.io/python-i2c-sht3x) for an API description and a \n[quickstart](https://sensirion.github.io/python-i2c-sht3x/execute-measurements.html) example.\n\n\n## Contributing\n\nWe develop and test this driver using our company internal tools (version\ncontrol, continuous integration, code review etc.) and automatically\nsynchronize the `master` branch with GitHub. But this doesn't mean that we\ndon't respond to issues or don't accept pull requests on GitHub. In fact,\nyou're very welcome to open issues or create pull requests :-)\n\n### Check coding style\n\nThe coding style can be checked with [`flake8`](http://flake8.pycqa.org/):\n\n```bash\npip install -e .[test] # Install requirements\nflake8 # Run style check\n```\n\nIn addition, we check the formatting of files with\n[`editorconfig-checker`](https://editorconfig-checker.github.io/):\n\n```bash\npip install editorconfig-checker==2.0.3 # Install requirements\neditorconfig-checker # Run check\n```\n\n## License\n\nSee [LICENSE](LICENSE).\n\n\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "I2C driver for the Sensirion SHT3X sensor family",
"version": "1.0.0",
"project_urls": {
"Changelog": "https://github.com/Sensirion/python-i2c-sht3x/blob/master/CHANGELOG.rst",
"Documentation": "https://sensirion.github.io/python-i2c-sht3x",
"Repository": "https://github.com/Sensirion/python-i2c-sht3x"
},
"split_keywords": [
"sensirion",
"sht3x",
"i2c",
"sht30a",
"sht30",
"sht31a",
"sht31",
"sht33",
"sht35a",
"sht35"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fc57adf4534348412b55e0a5ddf93f27502130c18fdd4912405872fbc841c41b",
"md5": "a9bb3bb662ddfb661f58796b1fa87791",
"sha256": "06aa7fcf943938259a614a78a737d884d3e7f694d21665cc4020dbddb440c40b"
},
"downloads": -1,
"filename": "sensirion_i2c_sht3x-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a9bb3bb662ddfb661f58796b1fa87791",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6, <4",
"size": 10412,
"upload_time": "2023-10-27T15:00:36",
"upload_time_iso_8601": "2023-10-27T15:00:36.592720Z",
"url": "https://files.pythonhosted.org/packages/fc/57/adf4534348412b55e0a5ddf93f27502130c18fdd4912405872fbc841c41b/sensirion_i2c_sht3x-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2ad0d1321ffe941f6cb0815023bef5ee02e8fc43d602606d63dd26796e6ca4fc",
"md5": "e6f2f0afb31d02935a8b6e9b60ad0169",
"sha256": "02914d0a7b70b8e1353c846d716ee997cc025cd21ed9aee4ad1b919dc8a67db8"
},
"downloads": -1,
"filename": "sensirion_i2c_sht3x-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "e6f2f0afb31d02935a8b6e9b60ad0169",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6, <4",
"size": 9910,
"upload_time": "2023-10-27T15:00:37",
"upload_time_iso_8601": "2023-10-27T15:00:37.954138Z",
"url": "https://files.pythonhosted.org/packages/2a/d0/d1321ffe941f6cb0815023bef5ee02e8fc43d602606d63dd26796e6ca4fc/sensirion_i2c_sht3x-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-27 15:00:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Sensirion",
"github_project": "python-i2c-sht3x",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "sensirion-i2c-sht3x"
}