

The SHT113 Flame Sensor is an electronic device designed to detect the presence of fire or other sources of heat. It is commonly used in safety systems for homes, offices, and industrial environments to trigger alarms or other safety measures when flames are detected. The sensor operates by detecting infrared (IR) radiation typically emitted by flames, allowing for quick and reliable fire detection.








| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power supply (3.3V to 5V DC) |
| 2 | GND | Ground |
| 3 | D0 | Digital output (0 or 1) |
| 4 | A0 | Analog output (0V to VCC, proportional to flame intensity) |
// Define the digital and analog pins connected to the sensor
const int flameSensorDigitalPin = 2;
const int flameSensorAnalogPin = A0;
void setup() {
pinMode(flameSensorDigitalPin, INPUT);
Serial.begin(9600);
}
void loop() {
int flameDetected = digitalRead(flameSensorDigitalPin);
int flameIntensity = analogRead(flameSensorAnalogPin);
if (flameDetected == LOW) { // Assuming active-low signal
Serial.println("Flame detected!");
} else {
Serial.println("No flame detected.");
}
// Print the flame intensity value
Serial.print("Flame intensity: ");
Serial.println(flameIntensity);
delay(500); // Delay for half a second
}
Q: Can the SHT113 Flame Sensor detect smoke? A: No, the sensor is designed to detect IR radiation from flames, not smoke particles.
Q: What is the maximum detection distance of the sensor? A: The maximum detection distance can be up to 100cm, but it depends on the flame size and the sensitivity setting.
Q: How do I adjust the sensitivity of the sensor? A: Turn the onboard potentiometer clockwise or counterclockwise to increase or decrease the sensitivity, respectively.
Q: Can the sensor differentiate between different types of flames? A: The sensor does not differentiate between flame types; it detects the presence of IR radiation characteristic of flames.
Remember, this documentation is a starting point for using the SHT113 Flame Sensor. Always conduct thorough testing in the intended application environment to ensure proper operation and safety.