Description
What it is
The MQ-131 MQ131 is a gas sensor designed to detect the concentration of various gases in an environment.
Features
- Type: Gas Sensor
- Model: MQ-131 MQ131
- SKU: ARD009130
- Price: 21.88 €
- Categories: Gas, Sensors
What it is for
The MQ-131 sensor is particularly suitable for detecting carbon monoxide (CO) in domestic environments. It can be used by beginners and intermediate makers for projects such as building a CO warning device with an LCD display. Compatibility with Arduino and other microcontrollers should be verified in the datasheet.
Tutorial: How to use MQ-131
The MQ-131 sensor is ideal for measuring carbon monoxide (CO) in domestic environments. Useful for beginners and intermediate makers.
What you need
- MQ-131
- Arduino
- 10kΩ resistor
- Connection cable
Steps
- 1. Mount the MQ-131 sensor on a protoboard circuit.
- 2. Connect the VCC pin to the 5V of Arduino.
- 3. Connect the GND pin to the GND of Arduino.
- 4. Connect the OUT pin to a digital pin on the Arduino.
- 5. Connect a 10kΩ resistor between the OUT pin and GND.
- 6. Load the Arduino code.
- 7. Check the datasheet for correct configuration.
- 8. Test the sensor with various levels of CO.
Example code
```
#include <MQ131.h>
MQ131 sensor;
void setup() {
Serial.begin(9600);
}
void loop() {
float CO = sensor.getPPM();
Serial.println(CO);
delay(1000);
}
```
Mini project
Build a CO warning device using the MQ-131 sensor and an LCD display.
Common mistakes
- Forget to connect the resistor correctly.
- Use a voltage other than 5V on VCC.
- Fail to properly configure the digital pin.
- Ignore the reading from the datasheet.
Recommended accessories
- LCD Display
- Arduino Uno
- Connection cable
- 10kΩ resistor
Frequently asked questions
Does the sensor work with other microcontrollers?
Yes, the MQ-131 sensor works with any microcontroller that supports digital and analog pins.
What is the measurement range of the sensor?
The CO measurement range is from 100 to 2000 PPM.
Does the sensor work in humid environments?
The sensor performs better in dry environments. Check the datasheet for further details.
Can I use a different power supply than 5V?
Check the datasheet for the correct power supply.





Reviews
There are no reviews yet.