Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.94 KB

ReadMe.md

File metadata and controls

55 lines (37 loc) · 1.94 KB

ESP8266 Weather Station Hits

Reads the temperature and humidity values from BME280 sensor, create a beautiful chart of the data on a webserver whose data is stored on SPIFFS memory.

Change these lines as per yours:

const char *ssid = "REPLACE_WITH_YOUR_SSID"; //replace with your SSID
const char *password = "REPLACE_WITH_YOUR_PASSWORD"; // replace with your Password

For SPI Communication- Uncomment the following lines:

/*#include <SPI.h>
#define BME_SCK 14
#define BME_MISO 12
#define BME_MOSI 13
#define BME_CS 15*/

For Hardware SPI Communication- Uncomment the following lines:

Adafruit_BME280 bme(BME_CS); // use this for hardware SPI

For Software SPI Communication- Uncomment the following lines:

Adafruit_BME280 bme(BME_CS, BME_MOSI, BME_MISO, BME_SCK); // use this for software SPI

Comment the following lines for SPI:

#include <Wire.h>    // use this for I2C
Adafruit_BME280 bme; // use this for I2C

Parts list:

NodeMCU
BME280 Sensor
Jumper Wires

Download ESPAsyncWebServer library

Download ESPAsyncTCP library

Download ESP8266 Filesystem Uploader

Download Project file

Project made and maintained by Kumar Aditya