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.
|
|
|
# esp32-weatherstation
|
|
|
|
|
|
|
|
Wetterstation v2 with ESP32 and various sensors
|
|
|
|
|
|
|
|
## Hardware
|
|
|
|
* ESP32 µC
|
|
|
|
|
|
|
|
## Wiring
|
|
|
|
|
|
|
|
### 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
|
|
|
|
|
|
|
|
### SDS011
|
|
|
|
|
|
|
|
Serial (HardwareSerial2)
|
|
|
|
|
|
|
|
SDS011 pin | ESP32 pin | Notes
|
|
|
|
-----------|-----------|----------
|
|
|
|
TXD | IO16 |
|
|
|
|
RXD | IO17 |
|
|
|
|
GND | GND |
|
|
|
|
25µm | nc |
|
|
|
|
5V | VUSB |
|
|
|
|
1µm | nc |
|
|
|
|
NC | nc |
|
|
|
|
|
|
|
|
## Build & Install
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://dev.xd0.de/hendrik/esp32-weatherstation.git
|
|
|
|
cd esp32-weatherstation
|
|
|
|
virtualenv .
|
|
|
|
source bin/activate
|
|
|
|
pip install -U platformio
|
|
|
|
platformio run -t upload && platformio device monitor -b 115200
|
|
|
|
pio run
|
|
|
|
```
|
|
|
|
|
|
|
|
## 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
|