Home Code Arduino and mics-5524 gas sensor example

Arduino and mics-5524 gas sensor example

by shedboy71

In this example we look at a MICS 5524 gas module

The MiCS-5524 is a robust MEMS sensor for indoor carbon monoxide and natural gas leakage detection; suitable also for indoor air quality monitoring; breath checker and early fire detection.

Detectable gases

• Carbon monoxide CO 1 – 1000ppm
• Ethanol C2H5OH 10 – 500ppm
• Hydrogen H2 1 – 1000ppm
• Ammonia NH3 1 – 500ppm
• Methane CH4 >1000ppm

One thing to note is that this sensor is sensitive to multiple gasses, as you can see above – but does not know which gas it is

Connection

 

Arduino Uno MICS 5524 module
5v 5v
Gnd Gnd
A0 A0

 

arduino and mics5524

arduino and mics5524

 

Parts List

Here are the parts I used

Part name Link
Arduino Uno UNO R3 CH340G/ATmega328P, compatible for Arduino UNO
MICS 5524 module 1PCS MiCS5524 CO Alcohol and VOC Gas Sensor Breakout Detector
Dupont cable Free shipping Dupont line 120pcs 20cm male to male + male to female and female to female jumper wire Dupont cablefor Arduino

 

Code

void setup() 
{
  Serial.begin(9600);
  Serial.println("MiCS-5524 demo!");
}
 
void loop() 
{
  int reading = analogRead(A0);
  Serial.println(reading);
  delay(100);
}

Output

OPen the serial monitor, if you have a gas source such as alcohol then you could test this further

MiCS-5524 demo!
61
57
57
56
56
56
57
56
56
56
56
55
54

 

Serial plotter example

 

Links

 

Share

You may also like

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More