|
|
|
# ESP8266 WeatherStation
|
|
|
|
|
|
|
|
## Installation Instructions
|
|
|
|
|
|
|
|
1. git clone ...
|
|
|
|
2. cd ...
|
|
|
|
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/
|