amc2021:groupl:extras:mq-135:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
amc2021:groupl:extras:mq-135:start [2021/09/05 04:46] – kshama001 | amc2021:groupl:extras:mq-135:start [2023/01/05 14:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== M_Q135.h ====== | ====== M_Q135.h ====== | ||
- | *Rzero is the value of the resistor in the MQ-135 sensor in the presence of clean air. Where the CO < | + | Rzero is the value of the resistor in the MQ-135 sensor in the presence of clean air. Where the CO < |
*RLOAD meanwhile is the external resistor value that is connected to the MQ-135 sensor, which in this case is 10kΩ. | *RLOAD meanwhile is the external resistor value that is connected to the MQ-135 sensor, which in this case is 10kΩ. | ||
*Important parameters are for calculating CO< | *Important parameters are for calculating CO< | ||
{{ : | {{ : | ||
+ | |||
+ | From the below code, we replace the Rzero value(which we get with the function getRzero()) and use the float getPPM() to get the level of CO< | ||
<file - M_Q135.h> | <file - M_Q135.h> |
amc2021/groupl/extras/mq-135/start.1630810004.txt.gz · Last modified: 2023/01/05 14:38 (external edit)