Home     Contact     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home      Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   


<< Back to INDEX

CO2 meter using NDIR infrared MH-Z14 sensor library for AVR ATmega [Project]
posted January 17 2014 10:53.44 by spic0m




MH-Z14 NDIR Infrared gas module is a common type, small size sensor, using non-dispersive infrared (NDIR) principle to detect the existence of CO2 in the air, with good selectivity, non-oxygen defendant and long life.
MH-Z14 has a PWM output, with a sensitivity range of 0ppm to 2000ppm CO2, an accurancy of ±200ppm.
The cycle is 1004ms±5%, given the duty cicle Th (pulse high), Tl is 1004-Th, we can convert it to CO2 value using the formula:
CO2ppm = 2000 * (Th - 2ms) /(Th + Tl - 4ms)

This library read PWM output, and convert it to CO2ppm.

This library was developed on Eclipse, built with avr-gcc on Atmega8 @ 8MHz



[Link: Davide Gironi]
 
Share



You might also like...


The 10 most ridiculous hacks shown on movies [Hack]

The riddle of the day #25 - Do the dishes

What Does Earth Look Like? [Education]

Robots Get Their Own Network Called RoboEarth [News]

Balance 11 nails on a single nail! [Trick]

This awesome 'replicator' combines industrial machining with laser 3D printing to create just about anything [Innovation]

A comet is on a collision course with Mars [Space]

Unemployment in Europe vs Minimum EU Wages [Infographic]


<< Back to INDEX



Comments

  Name

  Email (shall not be published)

  Website

Notify me of new posts via email


Write your comments below:
BEFORE you post a comment:You are welcome to comment for corrections and suggestions on this page. But if you have questions please use the forum instead to post it. Thank you.


      

No comment yet...

Be the first to comment on this page!












 Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS   

Site design: Giorgos Lazaridis
© Copyright 2008
Please read the Terms of services and the Privacy policy