Browse Source

Update 'README.md'

master
ported 2 years ago
parent
commit
96ec74ebc5
  1. 14
      README.md

14
README.md

@ -1,13 +1,12 @@
## Weatherstation setup with ESP8266, DHT11, and BMP280 ## Weatherstation setup with ESP8266, and BME280
### first the facts: I didnt write this code. I altered existing code with a link to author and original code in the .ino ### first the facts: I didnt write this code. I altered existing code with a link to author and original code in the .ino
weatherstation coding for: weatherstation coding for:
* esp8266 * esp8266
* DHT11 sensor * BME280 sensor
* BMP280 sensor
This weatherstation will connect to a wifi network, then start a webserver, and serve up the data it collects. This weatherstation will connect to a wifi network, then start a webserver, and serve up the data it collects.
The DHT11 sensor provides temperature and humidity. The BME280 sensor provides temperature, barometric pressure, and altitude. I have the DHT sensor serving temperature data in celcius and faharenheit. On the BME sensor altitude is reckoned using barometric pressure and sealevel pressure - i didnt want to mess with that because my sensors will be distrubuted. Because of that I set altitude as a contant for the location im setting up for. The DHT11 sensor provides temperature and humidity. The BME280 sensor provides temperature, barometric pressure, and altitude. On the BME sensor altitude is reckoned using barometric pressure and sealevel pressure - i didnt want to mess with that because my sensors will be distrubuted. Because of that I set altitude as a contant for the location im setting up for.
photo/schematic will be posted soon photo/schematic will be posted soon
![weatherstation pinouts esp8266MOD and bme280](http://dkc-hvac.com/images/projects/esp8266MOD-pins-from-underside.jpg) ![weatherstation pinouts esp8266MOD and bme280](http://dkc-hvac.com/images/projects/esp8266MOD-pins-from-underside.jpg)
@ -15,12 +14,7 @@ the setup is pretty simple
### I am using an esp8266-MOD ### I am using an esp8266-MOD
the dht11 sensor is connected like this: the bme280 sensor is connected like this:
* sensor + ---> esp 3.3v
* sensor gnd ---> esp gnd
* sensor sense ---> esp D3 (gpio 0)
the bmp280 sensor is connected like this:
* sensor + ---> esp 3.3v * sensor + ---> esp 3.3v
* sensor gnd ---> esp gnd * sensor gnd ---> esp gnd
* sensor SCL ---> esp SCL (d1/gpio 5) * sensor SCL ---> esp SCL (d1/gpio 5)

Loading…
Cancel
Save