The CO2-ampel software. This is our fork of https://transfer.hft-stuttgart.de/gitlab/co2ampel/ampel-firmware
Find a file
2021-05-10 08:37:25 +02:00
ampel-firmware added corect values to config.public.h 2021-05-10 08:37:25 +02:00
.gitignore Initial commit 2021-05-09 20:45:59 +02:00
.gitlab-ci.yml Update ampel-firmware/config.public.h, .gitlab-ci.yml files 2021-05-09 19:05:35 +00:00
LICENSE Initial commit 2021-05-09 20:45:59 +02:00
Makefile Initial commit 2021-05-09 20:45:59 +02:00
platformio.ini Initial commit 2021-05-09 20:45:59 +02:00
README.md Initial commit 2021-05-09 20:45:59 +02:00

CO2 Ampel

CO2 Ampel is an open-source project, written in C++ for ESP8266 or ESP32.

It measures the current CO2 concentration (in ppm), and displays it on an LED ring.

The room should be ventilated as soon as one LED turns red.

Features

The CO2 Ampel can:

  • Display CO2 concentration on LED ring.
  • Allow calibration.
  • Get current time over NTP
  • Send data over MQTT.
  • Send data over LoRaWAN.
  • Display measurements and configuration on a small website.
  • Log data to a CSV file, directly on the ESP flash memory.

Hardware Requirements

See the original documentation for more info. Or our Wiki MakerLab Wiki CO2 Ampel.

Software Requirements

Installation

  • If config.h does not exist, copy it from config.public.h
  • Modify config.h, e.g. for measurement time-steps, WiFi access, MQTT, NTP and web-server.

PlatformIO

PlatformIO can be run from VSCODE, Eclipse CDT or console:

make upload board=esp8266 && make monitor # For ESP8266
make upload board=esp32 && make monitor # For ESP32

Arduino IDE

  • All the libraries are included in this repository. No need to install anything via Library Manager.

  • Add your board to the board manager. Either ESP8266:

      http://arduino.esp8266.com/stable/package_esp8266com_index.json
    

    or ESP32:

      https://dl.espressif.com/dl/package_esp32_index.json
    
  • Choose the correct board in Tools > Board > ...

  • Choose the correct Flash size (e.g. "Flash Size : 4MB (1MB FS, OTA:~1019kB)" for ESP8266 ESP-12 WIFI)

  • Verify

  • Upload

  • Tools > Serial Monitor

Authors

  • Eric Duminil
  • Robert Otto
  • Myriam Guedey
  • Tobias Gabriel Erhart
  • Jonas Stave

Hochschule für Technik Stuttgart

Modifications by

  • Jens Noack

MakerLab Murnau e.V.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Copyright © 2020, HfT Stuttgart

GPLv3