1.Product Introduction
The flame sensor can detect light sources with wavelengths ranging from 760 nm to 1100 nm to detect fire sources or other radiation sources. Its working principle is based on the flame in the combustion process, will emit a specific frequency of infrared radiation and visible light, using a special infrared receiver tube to capture the infrared wavelength in the flame to detect the existence of flame.
Application reference: fire extinguishing robot, flame alarm, etc.
2.Parameter Specification
Parameter | Value/Representation |
---|---|
Operating voltage | 3.3~5V |
Operating temperature | -10°C~+60°C |
Wavelength | 760nm~1100nm |
Default output level | High level |
Output signal | Digital signal |
Size | 3.16cm*2.38cm |
3.Wiring Diagram
Flame Sensor | UNO |
---|---|
VCC | 5V |
GND | GND |
S | Digital Pin 7 |
4.Sample Code
1void setup() {
2 pinMode(7,INPUT);//The signal pin of the flame sensor is connected to the 7-pin of the arduino controller board
3 Serial.begin(9600);//Serial port initialization, baud rate 9600
4}
5void loop() {
6 Serial.println(digitalRead(7));//The serial port displays the detection value of the flame sensor in real time
7}
5.Test Result
After uploading the code to the controller board, open the serial port monitor of the Arduino IDE, set the baud rate to 9600, and switch to the scroll mode.
When there is a flame in front of the flame sensor, the sensor returns data 1; When there is no flame in front of the flame sensor, the sensor returns the data 0.
6.Related Resources
7.Get One Now
B2B Business: info@acebott.com