Open rafalmag opened 6 years ago
Hi , rafalmag Thank you for your message. co2sensor is my first code published at github. I'm very glad to know my work can contribute to you. I have no experience for PWM and your information "serial data is stable" is helpful.
Measuring CO2 concentration is really fun ,I have added dust/smoke/air pressure/himidity sensors and published as https://github.com/coniferconifer/AIR-BENTO
Hi,
Not really an issue, just a thank you note. I was inspired by your code and I tried to clean it up a little by moving the library part to cpp class. In addition I implemented the PWM and ADC modes. Here are my efforts: https://github.com/rafalmag/ESP32-MH-Z14A
I use Platformio as IDE, but I think those files should work as well in Arduino IDE. If you would have to take a look - I am open to any feedback.
I wonder if you researched the PWM and ADC as well. It looks like the serial values are most stable.
PS: In my project I already use second "serial" for pms5003 - air quality detection sensor.