Grove - CO2 Sensor


I have bought this MH-Z16 CO2 sensor and now I have problems to receive data from the sensor, I have connected this sensor with Arduino MEGA (I used Grove - Mega Shield v1.2).

I have run the code from and get the output but all the 9 values get the same output at a time and they don’t change. After refreshing the serial monitor output I get the another result but all are same.

I have attached the output page below.

Please help me out from this problem as soon as possible.

do you calibrate the sensor according the wiki documents ?

Yes, I did. Maybe sensor is defective? I tested other code and sensor does not respond… Would you have another code (different from wiki code) to test the sensor?

Is the connection correct? You can take a picture. I’ll check it for you.