Grove - Air quality sensor

What is this?

The sensor is designed for indoor air quality testing. The main gas detected is carbon monoxide, alcohol, acetone, thinner, formaldehyde and other slightly toxic gases.


Status: Completed
Tags: sensor, grove, gas sensor


This sensor is designed for comprehensive monitor over indoor air condition. It's responsive to a wide scope of harmful gases, as carbon monixide, alcohol, acetone, thinner, formaldehyde and so on. Due to the measuring mechanism, this sensor can not output specific data to describe target gases' concentrations quantitatively. But it's still competent enough to be used in applications that require only qualitative results, like auto refresher sprayers and auto air cycling systems.


  • Responsive to a wide scope of target gases
  • Cost efficient
  • Durable
  • Low power consumption 
  • High sensitivity 
  • Tiny outline 

Application Ideas

  • Automatic air ventilation 
  • Indoor air quality detector 


  • Require relatively clean air as an initial condition. 
  • Long time exposure to highly polluted air can significantly weaken its sensitivity.


As described in Introduction, this sensor does better in providing qualitative results over a wide scope of target gases. In this demo, we difine 4 statuses for reference in the .cpp file. They are:

  1. air fresh -- indicating a good air condition
  2. low pollution -- indicating a rather low concentration of target gases exist.
  3. high pollution(without "Force signal active" messeage printed on serial monitor) -- you should be aware of the pollution level and think if some measures should be taken.
  4. high pollution(with "Force signal active" messeage printed on serial monitor) -- instant measures should be taken to improve the air quality.

We encapsulated the judge structure in .cpp file. You can find your way to modify the threholds in it.

Try it out!

File name Annotation
No files
No insights.


Loading comments. Hold tight.