This flame sensor can be used to detect fire or other lights whose wavelength stands at 760 nm ~ 1100 nm. 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.
Specification:
- Supply Voltage: 3.3V to 5V
- Detection range: 20cm (4.8V) ~ 100cm (1V)
- Rang of Spectral Bandwidth: 760nm to 1100nm
- Operating temperature: -25℃to 85℃
- Interface: digital
- Size: 44*16.7mm
- Weight: 4g
Connection Diagram:
Sample Code:
const int flamePin = 2; // the number of the flame pin const int ledPin = 13; // the number of the LED pin // variables will change: int State = 0; // variable for reading status void setup() { // initialize the LED pin as an output: pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: pinMode(flamePin, INPUT); } void loop(){ // read the state of the value: State = digitalRead(flamePin); if (State == HIGH) { // turn LED on: digitalWrite(ledPin, HIGH); } else { // turn LED off: digitalWrite(ledPin, LOW); } }
Project List
- Arduino Mega 2560 Project 1: Piranha LED Module
- Arduino Mega 2560 Project 2:Digital white LED module
- Arduino Mega 2560 Project 3: Passive Buzzer module
- Arduino Mega 2560 Project 4: Hall Magnetic Sensor
- Arduino Mega 2560 Project 5: LM35 Linear Temperature Sensor
- Arduino Mega 2560 Project 6: DS18B20 Temperature Sensor
- Arduino Mega 2560 Project 7: Digital Tilt Sensor
- Arduino Mega 2560 Project 8: Photocell sensor
- Arduino Mega 2560 Project 9: Digital Push Button
- Arduino Mega 2560 Project 10: Capacitive Touch Sensor
- Arduino Mega 2560 Project 11: DHT11 Temperature and Humidity Sensor
- Arduino Mega 2560 Project 12: Analog Sound Sensor
- Arduino Mega 2560 Project 13: Flame Sensor
- Arduino Mega 2560 Project 14: DS3231 Clock Module
- Arduino Mega 2560 Project 15: Analog Gas Sensor
- Arduino Mega 2560 Project 16: Analog Alcohol Sensor
- Arduino Mega 2560 Project 17: Water Sensor
- Arduino Mega 2560 Project 18: Soil Humidity Sensor
- Arduino Mega 2560 Project 19: Infrared Obstacle Avoidance Sensor
- Arduino Mega 2560 Project 20: PIR Motion Sensor
- Arduino Mega 2560 Project 21: Joystick Module
- Arduino Mega 2560 Project 22: Photo interrupter module
- Arduino Mega 2560 Project 23: 5V Relay Module
- Arduino Mega Project 24: ADXL345 Three Axis Acceleration Module
- Arduino Mega 2560 Project 25: Rotary Encoder module
- Arduino Mega 2560 Project 26: Analog Rotation Sensor
- Arduino Mega 2560 Project 27: HC-SR04 Ultrasonic Sensor
- Arduino Mega 2560 Project 28: Pulse Rate Monitor
- Arduino Mega 2560 Project 29: Reed Switch Module
- Arduino Mega 2560 Project 30: TEMT6000 ambient light sensor