まず、sudo pip3 install mh-z19 コマンドを実行して、パッケージをインストールします。 $ sudo pip3 install mh-z19 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting mh-z19 Downloading https://www.piwheels.org/simple/mh-z19/mh_z19-0.4.1-py3-none-any.whl Collecting getrpimodel (from mh-z19) Downloading https://www.piwheels.org/simple/getrpimodel/getrpimodel-0.1.15-py3-none-any.whl Requirement a
![Raspberry PiにCO2センサーを付け二酸化炭素濃度を測定してみる](https://cdn-ak-scissors.b.st-hatena.com/image/square/f2f0519fd1803e5b0beb41464678231cf6432455/height=288;version=1;width=512/https%3A%2F%2Fblog.ko31.com%2Fwp-content%2Fuploads%2FIMG_0235.jpeg)