Skip to content

Commit fb2d67a

Browse files
authored
fix(wokwi-gas-sensor): wrong page name (#239)
1 parent 842ceda commit fb2d67a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/parts/wokwi-mq2-gas-sensor.md renamed to docs/parts/wokwi-gas-sensor.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: wokwi-mq2-gas-sensor Reference
3-
sidebar_label: wokwi-mq2-gas-sensor
2+
title: wokwi-gas-sensor Reference
3+
sidebar_label: wokwi-gas-sensor
44
---
55

66
MQ2 Gas Sensor module
@@ -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:

docs/parts/wokwi-mq2-gas-sensor.svg renamed to docs/parts/wokwi-gas-sensor.svg

Lines changed: 1 addition & 1 deletion
Loading

sidebars.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ module.exports = {
3636
'parts/wokwi-dip-switch-8',
3737
'parts/wokwi-ds1307',
3838
'parts/wokwi-franzininho',
39+
'parts/wokwi-gas-sensor',
3940
'parts/wokwi-hc-sr04',
4041
'parts/wokwi-hx711',
4142
'parts/wokwi-ili9341',
4243
'parts/wokwi-ir-receiver',
4344
'parts/wokwi-ir-remote',
44-
'parts/wokwi-relay-module',
4545
'parts/wokwi-ks2e-m-dc5',
4646
'parts/wokwi-ky-040',
4747
'parts/wokwi-lcd1602',
@@ -53,7 +53,6 @@ module.exports = {
5353
'parts/wokwi-membrane-keypad',
5454
'parts/wokwi-microsd-card',
5555
'parts/wokwi-mpu6050',
56-
'parts/wokwi-mq2-gas-sensor',
5756
'parts/wokwi-nlsf595',
5857
'parts/wokwi-nokia-5110-screen',
5958
'parts/wokwi-ntc-temperature-sensor',
@@ -63,8 +62,9 @@ module.exports = {
6362
'parts/wokwi-potentiometer',
6463
'parts/wokwi-pushbutton',
6564
'parts/wokwi-pushbutton-6mm',
66-
'parts/wokwi-rgb-led',
65+
'parts/wokwi-relay-module',
6766
'parts/wokwi-resistor',
67+
'parts/wokwi-rgb-led',
6868
'parts/wokwi-servo',
6969
'parts/wokwi-slide-potentiometer',
7070
'parts/wokwi-slide-switch',

0 commit comments

Comments
 (0)