Skip to content

Reads sensor data from Bosch BME280 and periodically sends it to the cloud

Notifications You must be signed in to change notification settings

xtrinch/ESP-BME280-reader

Repository files navigation

sensor-dashboard-ESP-bme280-reader

Sends periodic bme280 humidity, temperature, gas, pressure and altitude data from esp32/esp8266 development board to sensor dashboard backend.

Built with PlatformIO.

See also backend and frontend, or see it live with some sensor data from my living room.

Setup

  1. Make sure to clone with git clone --recursive REPO-URL to make sure ESP-make-easy submodule is cloned along (if you forget the recursive flag, you can always run git submodule update --init --recursive in the root directory later)
  2. Have a sensor dashboard backend running (see https://github.com/xtrinch/sensor-dashboard-nestjs-backend)
  3. Copy import_env.example.py to import_env.py and define your sensor dashboard url.
  4. When board boots connect to its WiFi called beetleAP with password beetleAP
  5. Input your WiFi's SSID, password and sensor access token with visiting this URL 192.168.4.1/?ssid=mySSID&password=myPassword&access_token=mysensoraccesstoken

Components

  • Firebeetle ESP8266, devkit v1 ESP32 or devkit v1 ESP32S2 (with minimal changes would work for other esp boards also)
  • Bosch BME280 sensor module
  • pushbutton (for resetting credentials & token)
  • capacitor
  • resistor
  • 3.7V LiPo battery (or other)

Schematic

Schematic below is made for Firebeetle ESP8266.

Image of Yaktocat

Troubleshooting

If you cannot upload to your board on linux, input sudo chmod a+rw /dev/ttyUSB0.

About

Reads sensor data from Bosch BME280 and periodically sends it to the cloud

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published