-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# sensors-control-gpio | ||
This is a repository desgined for the arduino 37 sensors bundle for raspberry pi 4. This package implemented in raspberry pi 4B GPIO with RPi.GPIO. | ||
# Get started | ||
```bash | ||
pip install sensors-control-gpio-xzf8971 | ||
``` | ||
# AHT20 | ||
AHT20 CRC8/MAXIM is still work in proress. | ||
## How to | ||
For help infromation | ||
```bash | ||
python -m AHT20_sensor_control --help | ||
``` | ||
```bash | ||
# Open I2C bus1. Save data into example.log. Measure data every 60s. | ||
python -m AHT20_sensor_control -n 1 -o example.log -t 60 | ||
# Enable CRC8 check. Only save data when crc check is OK | ||
python -m AHT20_sensor_control -n 1 -o example.log -t 60 -c | ||
``` | ||
# DHT11 | ||
## How to | ||
```bash | ||
python -m DHT11_sensor_control -p pin -b adafruit | ||
``` |