The MQ-2 Gas Sensor is a board I/O module in the LabWired part catalog. Its catalog type is mq-2. It connects to the MCU over GPIO. The catalog gives a supply range of 4.5–5.5 V. It has 4 pins. This part is its pins. There is no separate device model because the MCU’s own GPIO/PWM/ADC model already is the simulation.
From the catalog: A0 is an ADC level; gas concentration is host-driven via SimInput, not a chemical model.
| Category | Board I/O modules |
|---|---|
| Catalog type | mq-2 |
| Interface | GPIO |
| Supply range | 4.5–5.5 V |
| Pins | 4 |
| Datasheet | Winsen MQ-2 flammable gas sensor manual |
Pins only, by design
Not applicable. No device model to validate — see what is simulated, above.
| Pin | Electrical type | Function |
|---|---|---|
VCC | Power input | Supply |
GND | Power input | Supply |
A0 | Passive | — |
D0 | Output | GPIO |
All Board I/O modules · All parts
Modelled from Winsen MQ-2 flammable gas sensor manual.