Skip to content
/ mh-z19 Public

Python3 readout of mh-z19 CO2 concetration sensor

License

Notifications You must be signed in to change notification settings

FoxVK/mh-z19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

mh-z19.py

Python3 readout of mh-z19 CO2 concentration sensor

Just call it with serial line as argument and you will get back CO2 concentration in PPM

NTB:~$ python3 mh-z19.py /dev/ttyUSB0 
2746

(Datasheet of sensor)[https://www.winsen-sensor.com/d/files/infrared-gas-sensor/mh-z19b-co2-ver1_0.pdf]

Note:

  • Outdoor concentration is 300-400 PPM
  • Recomended limit for human beings is 1500PPM

Sensor needs to be powered with 5V 150mA but it's logic is 3.3V

About

Python3 readout of mh-z19 CO2 concetration sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages