Gas
Gas Sensor
- Overview
- Driver
- Tethered
- Standalone
This gas sensor ships with MQ-7 (carbon monoxide) installed. However, the module uses a socket allowing the sensor be be easily swapped with other gas sensors, like MQ-3 alcohol gas sensor.
Key features • Gas Sensing | Resources PID: 0x06000A |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
Heater(s) | Sets the heater s state (1 on, 0 off). |
Read() | Reads the current voltage level in Volts. |
DVer() | This driver version. |
The Code!
Gas Driver
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- MicroPython
- JavaScript
- .NET
Python Sample
loading...
MicroPython Sample
loading...
JavaScript Sample
loading...
.NET Sample
loading...
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
Standalone Script Sample
loading...
See Arduino page for more info.
Standalone Arduino Sample
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink Gas (MQ7 CO) | GDL-SEGAS-B-MQ7 | $14.95 |