Repo for BME280/DHT22 sensors on RaspbeeyPi 4/400
Supported Sensors:
Dependencies:
- libgpiod2
- RPi.bme280
- adafruit-circuitpython-dht
You can install dependencies by run setup.hs on RPis.
- SCL -> I2C SCL
- SDA -> I2C SDA
- DATA -> GPIO4
Both sensors run through 3.3v. Additionally, DHT22 is connected with a 2K resistor (10K recommended).
Start logging with command:
- python3 sensor.py [fequency]
where [fequency] is the time between each measurments.
Onec the logging starts, you can find a SensorLog.csv Under the same directory.
Columns from left to right are:
SystemTimestamp---BME280_Temperature---DHT22_Temperature---DHT22_Humidity---BME280_Pressure