Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Miceuz/sht25-micropython
Micropython implementation of API of SHT25 Humidity and Temperature Sensor
https://github.com/Miceuz/sht25-micropython
Last synced: about 16 hours ago
JSON representation
Micropython implementation of API of SHT25 Humidity and Temperature Sensor
- Host: GitHub
- URL: https://github.com/Miceuz/sht25-micropython
- Owner: Miceuz
- License: apache-2.0
- Created: 2016-11-22T21:59:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-22T19:54:26.000Z (almost 7 years ago)
- Last Synced: 2024-04-22T13:30:43.830Z (7 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - sht25-micropython - Driver for SHT25 temperature and humidity sensor. (Libraries / Sensors)
- awesome-mpython - sht25-micropython - Driver for SHT25 temperature and humidity sensor. (精选驱动库 / 传感器)
README
# sht25-micropython
[Micropython](https://micropython.org) implementation of API of [SHT25](https://www.sensirion.com/sht25) Humidity and Temperature Sensor## Usage
```python
import time
from machine import I2C
from machine import Pin
from sht25 import SHT25sensor = SHT25(I2C(scl=Pin(5), sda=Pin(4)))
while True:
print(str(sensor.getTemperature()) + ", " + str(sensor.getHumidity()))
time.sleep(1)
```