Wetterstation v2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
2.3 KiB

5 years ago
# esp32-weatherstation
5 years ago
Wetterstation v2 with ESP32 and various sensors
## Hardware
* ESP32 µC
## Wiring
5 years ago
### Display
Connect to TFT LCD Port with 10P SH1.0 cable
E-Paper pin | ESP32 pin | Notes
------------|-----------|------------
3V3 | |
BUSY | nc |
CS | IO14 |
SCK | IO18 |
MOSI | IO23 | MISO: IO19
DC | IO27 |
RST | IO33 |
GND | |
### BME680
I2C
BME680 pin | ESP32 pin | Notes
-----------|-----------|----------
VCC | |
GND | |
SCL | IO22 |
SDA | IO21 |
SDO | nc | SPI only
CS | nc | SPI only
5 years ago
5 years ago
### BH1750 (GY-30)
I2C
GY-30 pin | ESP32 pin | Notes
-----------|-----------|----------
GND | |
AD0 | nc |
SDA | IO21 |
SCL | IO22 |
VCC | |
### VEML6075
I2C
GY-30 pin | ESP32 pin | Notes
-----------|-----------|----------
VIN | |
GND | |
SCL | IO22 |
SDA | IO21 |
5 years ago
### SDS011
Serial (HardwareSerial2)
SDS011 pin | ESP32 pin | Notes
-----------|-----------|----------
TXD | IO16 |
RXD | IO17 |
GND | GND |
25µm | nc |
5V | VUSB |
1µm | nc |
NC | nc |
5 years ago
## Build & Install
```bash
git clone https://dev.xd0.de/hendrik/esp32-weatherstation.git
cd esp32-weatherstation
virtualenv .
source bin/activate
pip install -U platformio
pio run
platformio run -t upload && platformio device monitor -b 115200
5 years ago
```
## Authors
* **Hendrik** - *Initial work* - [hendrik](https://dev.xd0.de/hendrik)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
* [PlatformIO](https://platformio.org) - Cross-platform IDE
* [GxEPD2](https://github.com/ZinggJM/GxEPD2) - E-Paper display library
* [Adafruit BME680](https://github.com/adafruit/Adafruit_BME680) - BME680 sensor library
* [Nova Fitness SDS dust sensors arduino library](https://github.com/lewapek/sds-dust-sensors-arduino-library.git) - SDS011 Laser dust sensor library
5 years ago
* [BH1750](https://github.com/claws/BH1750/) - BH1750 sensor library
* [VEML6075](https://github.com/adafruit/Adafruit_VEML6075) - VEML6075 sensor library