Skip to content

Latest commit

 

History

History
75 lines (61 loc) · 2.88 KB

File metadata and controls

75 lines (61 loc) · 2.88 KB

Microclimate Measurement System

Microclimate measurement system with the esp32 microcontroller usage and graphical data visualisation.

Getting Started

These instructions will get you a copy of the project, it will make it up and running on your local machine for development or usage.

Microclimate measuring device construction

The device contains of:

  • ESP-WROOM-32 DevKit
  • DHT11 Temperature-Humidity Sensor
  • Ssd1306 oled

Wiring diagram:

Prerequisites

  1. Install Docker on your system.
  2. Install sketch for device.
  3. Open sketch in Arduino IDE.
  4. Set up your wifi SSID and password.
#define WIFI_SSID "<your wifi name>"
#define WIFI_PASSWORD "<your wifi password>"
  1. Set up your influxdb url, token, organization and bucket.
#define INFLUXDB_URL "http://<your influx server ip>:8086"
#define INFLUXDB_TOKEN "<your influx token>"
#define INFLUXDB_ORG "<your org name>"
#define INFLUXDB_BUCKET "<your bucket name>"
  1. Upload a sketch to an Esp32.

Installing

To download a copy of the project click here.

Running the project

  1. Optionally, change default credentials or Grafana provisioning.
  2. Run the following command from the root of the installed project:
docker-compose up -d
  1. Open InfluxDB via http://localhost:8086 or from docker and create API tokens for esp32 and Grafana.
    If you don't know how - read the documentation.
  2. Open Grafana via http://localhost:3000 and enter login and password:
    Login: admin
    Password: admin
  1. Open dashboard in dashboards menu

Outcome

results

Built With

  • Docker - An application containerizer for automating the deployment and management of applications in containerized environments
  • InfluxDB - Time-series database
  • Grafana - Data visualisation system

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.