Building a CO₂ monitor – AirCue
A while ago, a colleague brought a CO₂ monitor into our tiny, overcrowded office. It had a simple semaphore warning system: green meant the air was fresh, orange meant the air was getting stale, and red meant open the fucking window. :D
There are usually 4–6 of us in the office, but it's quite small, so CO₂ levels were rising quickly. After closing the window, it wouldn't take long before the monitor turned orange, and soon after – red. No wonder I often felt sleepy in our office.
Anyway, I found that little device interesting, so I looked up the exact model online. It cost 120 euros (plus shipping and customs). For a tiny device with three LEDs that doesn't even have a screen? I don't think so.
I've already made a temperature and humidity monitor with Arduino and DHT22, so I figured it was time to upgrade it with CO₂ measurement, or better yet, build a whole new monitor.
I went with an ESP32, an SCD40 sensor, a small OLED display and 4 LEDs. The display shows CO₂ concentration, temperature and humidity, while the LEDs give me a quick indication of the CO₂ level.
- Green – below 800 ppm
- Yellow – 800–999 ppm
- Orange – 1000–1499 ppm
- Red – 1500 ppm and above
After a bit of tinkering, I finally have a working prototype.

I've decided to name the device AirCue. The next step is to get a 3D printer, design an enclosure and turn this mess of wires into a proper little device.
If it turns out well, I might even try making a few more and selling them. But that's a story for another time.