The MKE-S04 IR Infrared Flame Sensor is a specialized electronic module designed to detect the presence of flames using infrared (IR) radiation. This sensor is particularly useful in fire alarm systems, safety automation in industrial environments, and robotics where fire detection is crucial. Its sensitivity to IR wavelengths allows it to identify flames from a distance, making it an essential component for early fire detection and prevention strategies.
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V to 5V DC) |
2 | GND | Ground |
3 | DOUT | Digital output; HIGH when flame is detected |
4 | AOUT | Analog output (optional, not always used) |
To use the MKE-S04 IR Infrared Flame Sensor in a circuit:
// Define the digital input pin connected to the sensor's DOUT pin
const int flameSensorPin = 2;
void setup() {
pinMode(flameSensorPin, INPUT); // Set the flame sensor pin as an input
Serial.begin(9600); // Start serial communication at 9600 baud
}
void loop() {
int flameDetected = digitalRead(flameSensorPin); // Read the sensor's output
if (flameDetected == HIGH) {
// Flame has been detected
Serial.println("Flame detected!");
// Implement additional actions like activating an alarm or safety measures
} else {
// No flame detected
Serial.println("No flame detected.");
}
delay(1000); // Wait for 1 second before reading the sensor again
}
Q: Can the sensor detect flames through glass or other materials? A: No, the sensor requires a direct line of sight to the flame as most materials will block or filter the IR radiation.
Q: How far can the sensor detect a flame? A: The detection range depends on the size of the flame and environmental conditions but typically is within a few meters.
Q: Is the sensor waterproof? A: No, the MKE-S04 IR Infrared Flame Sensor is not waterproof and should be protected from moisture and water exposure.
Q: Can the sensor differentiate between different types of flames? A: The sensor detects IR radiation within a certain wavelength range and cannot differentiate between different flame sources.
For further assistance or technical support, please contact the manufacturer or your local distributor.