Project tutorial

CO2 Monitoring with K30 Sensor © MIT

Measure CO2 levels.

  • 7,944 views
  • 1 comment
  • 20 respects

Components and supplies

About this project

Overview

This project is about monitoring CO2 levels at home, in the greenhouse, in that small office, etc.

Some time ago I started working on an open source Raspberry Pi indoor air quality monitor called LiV Pi. I tried a number of analog CO2 sensors for that project, but I ran into calibration issues - until I got a K30 CO2 module. This is a NDIR, digital, auto-calibrating sensor, so it's pretty easy to use.

I am now starting a new open source project, this time using Arduino. I uploaded a I2C library for this sensor on Github: K30_CO2_I2C_Arduino. This photo shows K30 connected to Arduino. CO2 measurements are displayed on LCD1602 screen.

And here is a close-up of the sensor. It can also be connected over serial and it has a 400 ppm calibration switch.

Instructions

  • Connect the parts according to the diagram.
  • Download library .zip file and add it to your Arduino IDE.
  • Open "k30_LCD_I2C_lib_test" sketch from examples section.
  • Compile and download code on your Arduino.

Code

K30_CO2_I2C_Arduino
Arduino library

Schematics

Connection Diagram
How to connect K30 and LCD1602 to Arduino
K30 lcd conn diagram sowtmn5ijz
Github repository for K30 I2C library
Github library

Comments

Similar projects you might like

Arduino Tutorial: JARVIS v1 | How to make a Home Automation

Project tutorial by rahulkhanna

  • 5,475 views
  • 7 comments
  • 42 respects

Retro 1980s LED Clock/Count Up Timer

Project in progress by randtekk

  • 1,063 views
  • 3 comments
  • 6 respects

Arduino MEGA Guitar Pedal

Project tutorial by electrosmash

  • 6,485 views
  • 1 comment
  • 31 respects

Play Polyphonic Tones!

by nathan_ramanathan

  • 2,470 views
  • 1 comment
  • 8 respects

Control the Speed of Brushless DC Motor Using Bluetooth

Project tutorial by mohitmehlawat

  • 1,062 views
  • 0 comments
  • 5 respects
Add projectSign up / Login