MQ-7 Breakout Arduino Library

MQ-7 Breakout Arduino Library

I can finally put this breakout to a rest — I am releasing a library for the breakout board today. Titled CS_MQ7, you can instantiate as many carbon monoxide sensors as you’d like to one Arduino. Simply add ” #include <CS_MQ7.h> ” to the top of your sketch and create an instance by declaring the Tog pin and LED Indicator pin, and you are ready to go.

You can download the library here, obviously released to the public domain under creative commons.  To install, unzip the folder to the libraries folder of Arduino and open up the included example. You’re ready to go!

To order a Citizen Sensor MQ-7 Carbon Monoxide Sensor breakout kit from me, please email me. They are $15 + shipping (includes everything except an Arduino, and is compatible with any microcontroller with an ADC).

More info about the kit is available in the Make/Resources section of this site.