Flame sensor (SKU: DFR0076)
From Robot Wiki
Introduction
The Flame Sensor can be used to detect fire or other wavelength at 760 nm ~ 1100 nm light. In the fire-fighting robot game, the flame plays an important role in the probe, which can be used as the robot's eyes to find fire source or football. It can make use of fire-fighting robots, soccer robots.
Flame sensor probe angle of 60 degrees, the special sensitivity of the flame spectrum, two M3 mounting holes to stabilize the module will not spin.
The flame sensor's operating temperature is -25 degrees Celsius to 85 degrees Celsius, in the course of the flame it should be noted that the probe distance from the flame should not be too close inorder to avoid damage.
Specifications
- Interface:Analog
- Supply Voltage: +5 V
- Detection range: 20cm (4.8V) ~ 100cm (1V)
Sample Code
/*
# Product: Flame sensor
# SKU : DFR0076
# Description:
# When flame sensor detected flame, the data will be read by the serial.
*/
int val;
void setup()
{
Serial.begin(9600);
}
void loop()
{
val=analogRead(5); // Signal wire(green one) connect to analog pin 5. Red one connect to VCC and black one connect to GND.
Serial.println(val ,DEC);
delay(100);
}
Go Shopping Flame sensor (SKU: DFR0076)