Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tobiasschuerg/MH-Z19B
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasschuerg committed Sep 4, 2018
2 parents 1195942 + 6d827d6 commit ff4ff3f
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ 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.

## Resources:

Datasheet:
http://www.winsen-sensor.com/d/files/infrared-gas-sensor/mh-z19b-co2-ver1_0.pdf

More info about the sensor:
https://revspace.nl/MHZ19
## Implementation
See example.

> PPMuart: 602, PPMpwm: 595, Temperature: 23
## Implementation
### Implementation details

```
C ppm = 5000 * (T_high - 2 ms) / (T_high + T_low - 4ms)
Expand All @@ -22,6 +18,15 @@ 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:
http://www.winsen-sensor.com/d/files/infrared-gas-sensor/mh-z19b-co2-ver1_0.pdf

More info about the sensor:
https://revspace.nl/MHZ19


## Further reading:
- http://ihormelnyk.com/Page/mh-z19_co2_meter

Expand Down

0 comments on commit ff4ff3f

Please sign in to comment.