This is an MHZ14 NDIR Infrared Gas sensor, design specialize to detect an existence of Carbon Dioxide (C02) in air and non-oxygen defendant. This sensor has a non-dispersive infrared or NDIR principle design in a tight integration of infrared absorbing gas detection technology & it has a built-in temperature sensor and digital/analog output, designed for indoor air quality monitoring, industrial process, safety and protection monitoring, agriculture and animal farming production process monitoring.
The MH-14 uses SC16IS7XX i2C Slave SPI interface. The SC16IS is a slave i2C SPI interface to a single channel HIGH performance UART, it offers data rates up to 5 Mbit/s running at low power with sleeping current and also provide the application with 8 programmable IO pins. The SC16I enables seamless protocol conversion from i2C us or SPI, and RS232 or RS485 and fully bidirectional for more details please refer to the datasheet below.
Required Components
- Arduino Microcontroller, ESP8266 12, 12E, ESP8266 NodeMCU, ESPDuino, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, ATMEGA250 16 MHz, ATSAM3x8E, ATSAM21D, ATTINY85 16/8 MHz (Note: The Diagram below is using NANO. (please refer to the respective pin-outs)
- MH-Z14 CO2 Sensor
- Solder Less Bread Board
- Jumper Wire / DuPont Wire
Wiring Guide
Schematics Diagram
Sketch Code
[crayon-67500d8d9a56f868676131/]
Source Code for AVR
[crayon-67500d8d9a57e893076897/]
Downloads