Project tutorial

CO2 Monitoring with K30 Sensor © MIT

Measure CO2 levels.

  • 4,703 views
  • 1 comment
  • 16 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.

Schematics

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

Code

K30_CO2_I2C_Arduino
Arduino library

Comments

Similar projects you might like

Pac-Man LED Pixel Panel Costume

Project tutorial by Ben Muller

  • 4,296 views
  • 3 comments
  • 76 respects

LoRa Gateway for DeviceHive

Project tutorial by DeviceHive IoT team

  • 1,051 views
  • 2 comments
  • 16 respects

IoT Bird Feeder with Sigfox and Tweeter

Project showcase by Gaël Porté

  • 313 views
  • 0 comments
  • 7 respects

SmartWay

Project tutorial by Universum

  • 163 views
  • 0 comments
  • 4 respects

Raspberry Pi and Arduino Laptop

Project tutorial by Dante Roumega

  • 17,507 views
  • 6 comments
  • 44 respects

Arduino-Based Automatic Guitar Tuner

Project tutorial by Ben Overzat

  • 2,875 views
  • 0 comments
  • 10 respects
Add projectSign up / Login