|
|
|
# ESP8266 WeatherStation
|
|
|
|
|
|
|
|
![Weatherstation](cad/img/weatherstation.jpg)
|
|
|
|
|
|
|
|
| geiger counter and DHT22 | particle sensor and ESP8266 |
|
|
|
|
|---------------------------------------|-----------------------------------------|
|
|
|
|
| ![Weatherstation](cad/img/geiger.jpg) | ![Weatherstation](cad/img/particle.jpg) |
|
|
|
|
|
|
|
|
## Installation Instructions
|
|
|
|
|
|
|
|
1. git clone https://dev.xd0.de/hendrik/esp-weatherstation.git
|
|
|
|
2. cd esp-weatherstation
|
|
|
|
3. virtualenv -p python --no-site-packages .
|
|
|
|
4. source bin/activate
|
|
|
|
5. pip install -U platformio
|
|
|
|
6. platformio run --target upload && platformio device monitor -b 115200
|
|
|
|
|
|
|
|
## Wiring
|
|
|
|
|
|
|
|
NodeMCU v0.9
|
|
|
|
SDS011
|
|
|
|
A0 D0
|
|
|
|
RSV (5)D1 ----------------------- TXD
|
|
|
|
RSV (4)D2 ----------------------- RXD
|
|
|
|
RSV (0)D3 -- BMP_SDA .---- GND
|
|
|
|
RSV (2)D4 -- BMP_SCL | ...
|
|
|
|
RSV 3V3 -- BMP_VCC | .--- 5V
|
|
|
|
RSV GND -- BMP_GND | | ...
|
|
|
|
GND D5 | | ...
|
|
|
|
3V3 D6 ------------. | |
|
|
|
|
GND D7 -- DHT_DATA \ +-| --------- GND
|
|
|
|
3V3 D8 \ | +---------- 5V
|
|
|
|
EN RX '- | ----------- VIN
|
|
|
|
RST TX | |
|
|
|
|
GND -. GND - DHT_GND | | GeigerCnt
|
|
|
|
.-- 5V | 3V3 - DHT_VDD | |
|
|
|
|
| '------------------------' |
|
|
|
|
'-----------------------------------'
|
|
|
|
|
|
|
|
SDS011:
|
|
|
|
- TXD -> D1
|
|
|
|
- RXD -> D2
|
|
|
|
- GND -> GND
|
|
|
|
-
|
|
|
|
- 5V -> 5V
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
|
|
DHT22:
|
|
|
|
- VDD -> 3V3
|
|
|
|
- DATA -> D7
|
|
|
|
- ->
|
|
|
|
- GND -> GND
|
|
|
|
|
|
|
|
RadiationD-v1.1(CAJOE):
|
|
|
|
- GND -> GND
|
|
|
|
- 5V -> 5V
|
|
|
|
- VIN -> D6
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
### Code
|
|
|
|
WTFPL: http://www.wtfpl.net/about/
|
|
|
|
|
|
|
|
### Sensor Data
|
|
|
|
Public Domain: https://opendatacommons.org/licenses/pddl/summary/
|