Skip to content

Code for reading various sensors attached to a Arduino ESP32, data is uploaded via WiFi to an InfluxDB or displayed.

License

Notifications You must be signed in to change notification settings

entorb/arduino-sensorics

Repository files navigation

Arduino-sensorics

  • Arduino ESP32 micro-controller programming
  • Provides simple and clean library for
    • reading of various sensors
    • export data via WiFi to InfluxDB for visualization in Grafana, see my raspi-sensorics repository
    • writing to various displays
    • using a device_setup.h file to select the devices attached to that specific Arduino ESP32

Devices implemented so far

Arduino Package Requirements

Achievements

  • Learning basics of C++: inheritance, templates, ...
  • Using pre compiler #define in device_setup.h file to select which classes are compiled to save time and memory
  • Power reduction from 1W to 0.3W by
  • OLED display: implemented bar chart
  • Standalone CO2 traffic light for our kindergarden and school
    • offline
    • in proper case
    • using display and traffic light for visualization
    • see German Bauanleitung
  • Experiment with display devices

Next steps

  • Design and build cases via CAD and CNC
  • Add more sensors

Photos and screenshots

CO2 Traffic Light V1.2: Massproduction and added history bar chart via OLED display (Bauanleitung) 4xCO2-in-Holz

CO2 Traffic Light V1 for our School (Bauanleitung) ASGS-V1.jpg

CO2 Traffic Light Prototype for our Kindergarten: Display of CO2 level (measured by MH-Z19B) on a 7-segment display and RGB-LED KiTa-V1.jpg

Experimenting with different displays Display-Test.jpg

Display of CO2 level on small OLED display (measured by MH-Z19B) ESP32-MHZ19-OLED128x32.jpg

Display of CO2 in Grafana (measured by MH-Z1B9) Grafana-CO2.png

Display of temperature, humidity and pressure in Grafana (measured by BME280) Grafana-T-H-P.png

Similar projects