Skip to content

LED glows when the CO2 and TVOC levels in the room are too high.

License

Notifications You must be signed in to change notification settings

tderflinger/arduino-aeration-indicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino-Aeration-Indicator

Description

The CCS811 sensor from ams is used to measure indoor air quality. It can sense CO2 and TVOC. This simple project uses the CCS811 sensor breakout board 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

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:

sudo usermod -a -G dialout $USER

sudo chmod a+rw /dev/ttyUSB0

Components

License

MIT License

About

LED glows when the CO2 and TVOC levels in the room are too high.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages