Skip to content

tonibois/Arduino-Nano-with-CCS-811-CO2-sensor

Repository files navigation

Arduino-Nano-with-CCS-811-CO2-sensor

CO2 sensor wired to Arduino Nano that outputs CO2 concentration values in serial monitor and plotter of arduino. Also a buzzer sounds when high level concentrations are detected and an RGB light changes its colour when it is below some concentration.

  • CO2 sensor (CCS811)
  • Buzzer sounds when CO2 concentration is bigger than 800
  • RGB LED is red when CO2 > 1000 ppm
  • RGB LED is blue color when (800 < CO2 < 1000) ppm
  • RGB LED is off when concentration is below 800
  • Optionally uncoment code lines to obtain blue (600 < CO2 < 800) ppm and green (CO2 < 600 ppm)

Required Material

1.CO2 sensor (CCS-811)

  1. Arduino Nano

  1. Breadboard

  1. Buzzer

  1. RGB LED

  1. Computer with Arduino IDE installed
  2. Cables
  3. Resistances (0.2k, Optional)

Required Libraries

Adafruit_CCS811

Sketch

alt text

Real circuit

alt text alt text alt text alt text

Acknowledgements

Thanks to mighelangelcasanova for sharing initial code:

https://github.com/miguelangelcasanova/codos/blob/master/dev/arduino/plotter/plotter.ino

About

CO2 sensor with arduino nano with RGB LED and buzzer alarms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages