The MIcS-4514, manufactured by DFRobot (Part ID: SEN0377), is a versatile gas sensor designed for air quality monitoring. It can detect various gases, including carbon monoxide (CO), nitrogen dioxide (NO2), and ammonia (NH3). This sensor is commonly used in environmental monitoring systems, smart home applications, and industrial safety systems to ensure air quality and safety.
Parameter | Value |
---|---|
Operating Voltage | 5V DC |
Power Consumption | < 200 mW |
Detection Range | CO: 1-1000 ppm |
NO2: 0.05-10 ppm | |
NH3: 1-500 ppm | |
Response Time | < 60 seconds |
Operating Temperature | -10°C to 50°C |
Humidity Range | 5% to 95% RH (non-condensing) |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (5V) |
2 | GND | Ground |
3 | CO | Analog output for CO concentration |
4 | NO2 | Analog output for NO2 concentration |
5 | NH3 | Analog output for NH3 concentration |
6 | NC | Not connected |
// MIcS-4514 Gas Sensor Example Code
// This code reads the analog values from the CO, NO2, and NH3 pins and
// prints the gas concentrations to the Serial Monitor.
const int pinCO = A0; // Analog pin for CO
const int pinNO2 = A1; // Analog pin for NO2
const int pinNH3 = A2; // Analog pin for NH3
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
int valueCO = analogRead(pinCO); // Read analog value from CO pin
int valueNO2 = analogRead(pinNO2); // Read analog value from NO2 pin
int valueNH3 = analogRead(pinNH3); // Read analog value from NH3 pin
// Convert analog values to voltage (assuming 5V reference)
float voltageCO = valueCO * (5.0 / 1023.0);
float voltageNO2 = valueNO2 * (5.0 / 1023.0);
float voltageNH3 = valueNH3 * (5.0 / 1023.0);
// Print the gas concentrations to the Serial Monitor
Serial.print("CO Voltage: ");
Serial.print(voltageCO);
Serial.println(" V");
Serial.print("NO2 Voltage: ");
Serial.print(voltageNO2);
Serial.println(" V");
Serial.print("NH3 Voltage: ");
Serial.print(voltageNH3);
Serial.println(" V");
delay(1000); // Wait for 1 second before taking the next reading
}
By following these guidelines and best practices, you can effectively use the MIcS-4514 gas sensor for accurate air quality monitoring in various applications.