{"repo":"UedaTakeyuki/mh-z19","free":true,"listed":false,"github":"https://github.com/UedaTakeyuki/mh-z19","clone":"git clone https://github.com/UedaTakeyuki/mh-z19.git","description":"Read CO2 concentration from mh-z19 sensor on the Raspberry Pi & handle it. Detect Raspberry Pi model automatically and read the value from an appropriate serial device.","language":"Python","stars":198,"topics":["mh-z19","monitor","raspberry-pi","rpi","calibration","python","sensor-handler","web-application","web-app"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"mh-z19 Read CO 2 concentration from mh-z19 sensor and handle it. cabling Connect RPi & mh-z19 as: - 5V on RPi and Vin on mh-z19 - GND(0v) on RPi and GND on mh-z19 - TxD and RxD are connected to cross between RPi and mh-z18 Followings are example of cabling, but you can free to use other 5v and 0v Pin on the RPi. Install & Setup Full Set Install Full Set include followings: - Setup script: Install & Setup following useful stuffs as: - mh-z19: A python module to read mh-z19 sensor. - PondSlider: A multipurpose versatile sensor handler for python, which read mh-z19 value and handle it. - autostart.sh: Utility making mh-z19 as system service to act periodically. Install Full Set, download from release Then, got to the folder and issue setup.sh Necessary settings including serial port enabling are taken place in this script. Install only sensor module For python 2.x For python 3.x In case you would use it witout root permission, call pip without sudo as follows: For python 2.x For python 3.x The differences of the interface between each Raspberry Pi model are resolved inside this module. For example, serial device name is difference between Raspberry Pi 3 and older model, but mh-z19 module automatically detect the model and read from appropriate serial device. To use mh-z19, once you need to set up enabling serial port device on the Raspberry Pi. Following Wiki page might be informative. Also, please refer PyPi top page for detail. read CO2 Sensor value As above, sudo might be nec","default_branch":null,"files":null,"tree":[],"storefront":"/r/UedaTakeyuki","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/UedaTakeyuki/mh-z19/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}