crisap94 / MHZ19

MH-Z19 CO2 sensor library for ESP8266 or Arduino
Other
68 stars 24 forks source link

Need help with setup #3

Closed ghost closed 5 years ago

ghost commented 5 years ago

I have just got my sensor and after uploading the example nothing works. I dont think it is my sensor or arduino, so i think the library needs updating or something. The sensor responds to none of the functions used in the code. Help me pleeeease!!! I really hope my sensor works.

crisap94 commented 5 years ago

Hey.... Welll... the sensor Works, Calm down, the example is outdated... As i forked the library and implemented new features but the owner did not like it.... i will upload the exaple code soon.

crisap94 commented 5 years ago

Example updated and Readme updated.... se last changes from the library to know how to use it.

ghost commented 5 years ago

wow thanks for the quick fix!

ghost commented 5 years ago

The new code works and is uploaded to my arduino and is connected to the sensor but after 10 minutes of warming the status is still 0. Is my sensor broken? am i missing something? does it take longer to warm up?

Kumalix commented 5 years ago

I have the same problem. After 1 hour it is still warming up? Is this a liberary issue? or wiring?

ghost commented 5 years ago

I removed the warming loop and replaced it with a loop that counts down from 100. i have found that 100 seconds is enough time for it to warm up and function properly.

Mh-Z19_working.zip