https://github.com/tderflinger/arduino-aeration-indicator
LED glows when the CO2 and TVOC levels in the room are too high.
https://github.com/tderflinger/arduino-aeration-indicator
arduino arduino-uno ccs811 co2 tvoc
Last synced: 2 months ago
JSON representation
LED glows when the CO2 and TVOC levels in the room are too high.
- Host: GitHub
- URL: https://github.com/tderflinger/arduino-aeration-indicator
- Owner: tderflinger
- License: mit
- Created: 2020-01-13T22:54:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-23T20:49:07.000Z (over 6 years ago)
- Last Synced: 2025-10-31T04:42:57.007Z (8 months ago)
- Topics: arduino, arduino-uno, ccs811, co2, tvoc
- Language: C++
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arduino-Aeration-Indicator
## Description
The [CCS811 sensor](https://ams.com/ccs811) from [ams](https://ams.com) is used to measure indoor air quality.
It can sense CO2 and TVOC. This simple project uses the [CCS811 sensor breakout board](https://www.joy-it.net/en/products/SEN-CCS811V1) from Joy-it
and the Arduino Uno to light an LED when the CO2 and TVOC levels
surpass a certain configurable threshold.
This signals that the room should be aerated.
## Installation
Install the *Adafruit CCS811 Library* from the Arduino IDE Library Manager.
Open the ccs811-voc/ccs811-voc.ino file in the Arduino IDE and upload sketch.
## Installation with Arduino-cli
```bash
arduino-cli core install arduino:avr
arduino-cli compile --fqbn arduino:avr:uno ccs811-voc/ccs811-voc
arduino-cli upload -p /dev/ttyUSB0 --fqbn arduino:avr:uno ccs811-voc
```
Replace /dev/ttyUSB0 with whatever port your Arduino Uno is connected to.
## Permission Denied Problem
If you get USB permission error in the Arduino IDE when uploading the sketch under Linux,
try the following:
```bash
sudo usermod -a -G dialout $USER
sudo chmod a+rw /dev/ttyUSB0
```
## Components
* [CCS811 sensor on Joy-it breakout board](https://www.joy-it.net/en/products/SEN-CCS811V1)
* Arduino Uno
* Led
* Cables
## License
MIT License