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.

103 lines
2.4 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
-----------|-----------|----------
5 years ago
VCC | 3V |
GND | GND |
5 years ago
SCL | IO22 |
SDA | IO21 |
SDO | nc | SPI only
CS | nc | SPI only
5 years ago
5 years ago
### BH1750 (GY-302)
5 years ago
I2C
5 years ago
GY-302 pin | ESP32 pin | Notes
5 years ago
-----------|-----------|----------
5 years ago
VCC | 3V |
GND | GND |
5 years ago
SCL | IO22 |
5 years ago
SDA | IO21 |
ADDR | nc | select addr: GND: 0x23 or VCC: 0x5C
5 years ago
### VEML6075
I2C
5 years ago
GY-VEML6075 pin | ESP32 pin | Notes
5 years ago
-----------|-----------|----------
5 years ago
VIN | 3V |
GND | GND |
5 years ago
SCL | IO22 |
SDA | IO21 |
5 years ago
### SDS011
Serial (HardwareSerial2)
SDS011 pin | ESP32 pin | Notes
-----------|-----------|----------
TXD | IO15 | (don't use IO16 together with PSRAM)
RXD | IO2 | (don't use IO17 together with PSRAM)
5 years ago
GND | GND |
25µm | nc |
5 years ago
5V | VUSB | 5V
5 years ago
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