weatherstation coding for: esp8266 DHT11 sensor BMP280 sensor
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.
ported 4df6b5ceb8 Update 'README.md' 2 years ago
README.md Update 'README.md' 2 years ago

README.md

Weatherstation setup with ESP8266, and BME280

weatherstation coding for:

  • esp8266
  • BME280 sensor

This weatherstation will connect to a wifi network, then start a webserver, and serve up the data it collects. 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.

weatherstation pinouts esp8266MOD and bme280 the setup is pretty simple

I am using an esp8266-MOD

esp8266 pinouts

the bme280 sensor is connected like this:

  • sensor + ---> esp 3.3v
  • sensor gnd ---> esp gnd
  • sensor SCL ---> esp SCL (d1/gpio 5)
  • sensor SDA ---> esp SDA (d2/gpio 4)

For the solar charging i wanted to stay as close to a gardenlight as possible - so i am using a 5v 500mAh solar panel and a lm4056 breakout board to charge 4x 1.2v NIMH rechargable batteries, which powers the station. Here is a schematic i got off the net: esp8266 solar charge schematic

I didnt end up using the dc/dc converter because the esp8266 runs on 3.3v

download the .ino file and alter to your specification