MQ7一酸化炭素センサーは一酸化炭素を検出し、アナログあるいはデジタルの信号(0/1)をArduinoに輸出できます。 一酸化炭を検出した時、TTL pinから低電位信号を出力し、アナログpinは一酸化炭素密度関連の電位信号を出力します。
このプロジェクトではMQ7一酸化炭素センサーを使って、一酸化炭素を検出し、Arduinoの serial windowで一酸化炭素の密度数値を表示します。
2) 必要な部品:
1 x Arduino UNO R3ボード
1 x LED ライト;
1 x MQ7一酸化炭素センサー
ジャンパー ワイヤー
3) 回路図 (画像をクリックして拡大イメージを表示)
4) サンプル コード をダウンロードして、Arduino IDEにロードしてくださいませ。
5) Arduino IDEで Serial Windowを開いて、一酸化炭素を検出しない場合、1(高電位信号)を出力して、LEDも点灯します。
DownLoad Url osoyoo.com
Hey, please how did you heat and calibrate the mq7
how to get ppm reading?
pls follow the manual: https://cdn.sparkfun.com/datasheets/Sensors/Biometric/MQ-7%20Ver1.3%20-%20Manual.pdf, pls try to change the voltage value as PPM in the code