Taking a break

 We're taking a break moving shop and hope to be back soon. We hope to start shipping orders in Nov 2018. 

The MQ4 is used in gas leakage detecting equipment in consumer and industry markets,this sensor is suitable for detecting CH4, Natural gas, LPG, alcohol, cooking fumes, and cigarette smoke. The sensitivity can be adjusted by the potentiometer.


  • Standard assembling structure (Times-of-5mm Center distance between two 3mm mounting holes)
  • Easily recognitive interfaces of sensors ("A" for analog and "D" for digital)
  • Icons to simplely illustrate sensor function 
  • High quality connector
  • Immersion gold surface


  • Power supply: 5V
  • Interface type: Analog
  • Pin Definition:  1-Output  2-GND  3-VCC
  • High sensitivity to CH4,Natural gas
  • Small sensitivity to alcohol, smoke
  • Fast response
  • Stable and long life
  • Simple drive circuit
  • Size: 40 x 20 mm

Parts List

  • Analog Gas sensor (MQ4) 1x unit





Notice:The new version of analog sensor port pin mapping has been changed as the following two features. Please check the tips for changing sensor cable pin mapping while using the I/O Expansion shield. We will continue to update. For the inconvenience caused, please understand.


///Arduino Sample Code

void setup() {
  Serial.begin(9600); //Set serial baud rate to 9600 bps

void loop() {
  int val;
  val=analogRead(0);Read Gas value from analog 0
  Serial.println(val,DEC);//Print the value to serial port

Gas Sensor (MQ4) - Alcohol, CO, CH4, LPG, Natural Gas, Smoke - Analog

  • Brand: DFRobot
  • Product Code: DFR-SEN0129
  • Reward Points: 8
  • Availability: 1
  • £9.97

  • Ex Tax: £8.31
  • Price in reward points: 100

Gas Multichannel Sensor (Xadow)

Gas Multichannel Sensor (Xadow)


The MiCS-6814 is a robust MEMS sensor for the detection of pollution from automobile exhausts and ...


Air Quality Sensor (Grove) v1.3

Air Quality Sensor (Grove) v1.3


The sensor is designed for indoor air quality testing detecting carbon monoxide, alcohol, acetone, ...

Qty: 5

Gas Multichannel Sensor (Grove)

Gas Multichannel Sensor (Grove)


Grove – Multichannel Gas sensor is a environment detecting sensor with a built in MiCS-6814 which c ...

Qty: 2

CO, Alcohol and VOC MICS5524 Gas Sensor Breakout [3199]

CO, Alcohol and VOC MICS5524 Gas Sensor Breakout [3199]


The MiCS-5524 is a robust MEMS sensor for indoor carbon monoxide and natural gas leakage detection, ...

Qty: 1

CO2 UART Infrared Sensor: 0 - 50000ppm (Gravity)

CO2 UART Infrared Sensor: 0 - 50000ppm (Gravity)


Based on non-dispersive infrared (NDIR) technology and has good selectivity and oxygen-free ...