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 |
Parts List
Here are the parts I used
Code
[codesyntax lang=”cpp”]
void setup() { Serial.begin(9600); Serial.println("MiCS-5524 demo!"); } void loop() { int reading = analogRead(A0); Serial.println(reading); delay(100); }
[/codesyntax]
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