Skip to content

Commit a31e89d

Browse files
committed
improve part reference
1 parent bf07d9f commit a31e89d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/parts/wokwi-gas-sensor.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ MQ2 Gas Sensor module
1818

1919
## Attributes
2020

21-
| Name | Description | Default value |
22-
| --------- | ------------------------------------- | ------------- |
23-
| ppm | part per million | "400" |
24-
| threshold | Digital output threshold voltage | "4.4" |
21+
| Name | Description | Default value |
22+
| --------- | ------------------------------------------------ | ------------- |
23+
| ppm | Initial gas concentration (in parts per million) | "400" |
24+
| threshold | Digital output threshold voltage | "4.4" |
2525

2626
## Operation
2727

2828
The MQ2 Gas Sensor is a semiconductor sensor that can detect the presence of various combustible gases including LPG, Propane, Hydrogen, Methane, and Carbon Monoxide. The sensor has both analog and digital outputs:
2929

30-
- The analog output (AO) provides a continuous voltage reading that corresponds to the gas concentration(ppm). Higher gas concentration results in higher voltage output.
30+
- The analog output (AO) provides a continuous voltage reading that corresponds to the gas concentration (ppm). Higher gas concentration results in higher voltage output.
3131
- The digital output (DO) acts as a threshold detector - it goes LOW when gas concentration exceeds the threshold set by the potentiometer.
3232

3333
To use the MQ2 sensor:

0 commit comments

Comments
 (0)