This commit is contained in:
Tobias Schürg 2018-09-04 23:45:59 +02:00
commit ff4ff3f8b6

View file

@ -4,6 +4,20 @@ Arduino implementation for MH-Z CO2 sensors such as **MH-Z14A**, **MH-Z18B** (as
The sensor is available for ~20 bucks at the usual places.
## Implementation
See example.
> PPMuart: 602, PPMpwm: 595, Temperature: 23
### Implementation details
```
C ppm = 5000 * (T_high - 2 ms) / (T_high + T_low - 4ms)
```
The implementation is mostly based on https://forum.arduino.cc/index.php?topic=525459.msg3587557#msg3587557
## Resources:
Datasheet:
@ -13,15 +27,6 @@ More info about the sensor:
https://revspace.nl/MHZ19
## Implementation
```
C ppm = 5000 * (T_high - 2 ms) / (T_high + T_low - 4ms)
```
The implementation is mostly based on https://forum.arduino.cc/index.php?topic=525459.msg3587557#msg3587557
## Further reading:
- http://ihormelnyk.com/Page/mh-z19_co2_meter