Flame Sensor Pin and Working Details with Arduino Uno
Flame Detection Sensor Module is sensitive to the flame, but also can detect ordinary light. The flame sensor module comes with flame sensor, adjustable digital filter for digital output and it also reserve the original analog output. So you can choose to interface it to your favourite either as digital input or analog input sensor.
The flame sensor can be used to detect fire or other light source with wavelength of 760 nm ~ 1100 nm light. Flame sensor probe angle of 60 degrees, the special sensitivity of the flame spectrum. The flame sensor’s operating temperature is -25 degrees Celsius to 85 degrees Celsius.
FLAME SENSOR PIN DETAILS:
SENSOR PIN | DESCRIPTION |
VCC | +5 V DC |
GND | Ground of Arduino Uno |
Do | Digital Output |
Ao | Analog output |
FUTURES OF THE FLAME SENSOR:
1. Detect fire, detect light source and sensitive to light with wavelenghth of 940nm.
2. Interface:Analog or digital.
3. Supply Voltage: +5 V.
4. Detection range: 20cm (1V) ~ 100cm (4.8V).
ALL SENSOR DETAILS:
1. HC-05 – Bluetooth
2. Mpu 6050 accelerometer-gyroscope- -module
3. Flame-sensor
4. Rotary-encoder
5. Force-sensor-fsr400
6. Current-sensor-acs712
7. Flex-sensor
8. IR-sensor-tcrt5000
9. Pulse-sensor-pin
10. Color-sensor-tcs230
11. SD-card-module
12. Oled-with-arduino
13. Addressable-rgb-led-strip-ws1812
14. Relay-module
15. TFT-1-8-display-st7735r
16. 8×8-dot-matrix-display-max7219
17. Smoke-sensor-mq-2
18. Ultrasonic-sensor-HC-sr04
19. PIR-motion-sensor-hc-sr501
20. Tilt-sensor-sw-520d
21. Microphone-sound-sensor
22. Reed-switch-reed-sensor
23. Rfid-reader-Em18
24. Rfid-tag
25. RTC-real-time-clock-ds1307
26. Temperature-sensor-ds18b20
27. Moisture-sensor
28. Rain-sensor
29. Pressure-sensor
30. Accelerometer
31. MOC-3021-circuit
32. DHT11-DHT22-temperature-and-humidity-sensor
APPLICATIONS OF THE FLAME SENSOR:
1. Hydrogen stations.
2. Combustion monitors for burners.
3. Oil and gas pipelines.
4. Automotive manufacturing facilities.
5. Nuclear facilities.
6. Aircraft hangars.
7. Turbine enclosures.
FLAME SENSOR WITH ARDUINO UNO CIRCUIT DIAGRAM:FLAME SENSOR WITH ARDUINO UNO CODE:
Copy and paste below given code with Arduino Uno sketch or download via bottom given link:
//Circuito.io is an automatic generator of schematics and code.
//Copyright (C) 2016 Roboplan Technologies Ltd.
// Include Libraries
#include “Arduino.h”
#include “LiquidCrystal.h”
#include “Relay.h”
// Pin Definitions
#define IRFLAME5V_PIN_AOUT A3
#define LCD_PIN_RS 7
#define LCD_PIN_E 6
#define LCD_PIN_DB4 2
#define LCD_PIN_DB5 3
#define LCD_PIN_DB6 4
#define LCD_PIN_DB7 5
#define RELAYMODULE_PIN_SIGNAL 8
LiquidCrystal lcd(LCD_PIN_RS,LCD_PIN_E,LCD_PIN_DB4,LCD_PIN_DB5,LCD_PIN_DB6,LCD_PIN_DB7);
Relay relayModule(RELAYMODULE_PIN_SIGNAL);
// define vars for testing menu
const int timeout = 10000; //define timeout of 10 sec
char menuOption = 0;
long time0;
// Setup the essentials for your circuit to work. It runs first every time your circuit is powered with electricity.
void setup()
{
// Setup Serial which is useful for debugging
// Use the Serial Monitor to view printed messages
Serial.begin(9600);
while (!Serial) ; // wait for serial port to connect. Needed for native USB
Serial.println(“start”);
// set up the LCD’s number of columns and rows
lcd.begin(16, 2);
menuOption = menu();
}
void loop()
{
if(menuOption == ‘1’) {}
else if(menuOption == ‘2’)
{
// LCD 16×2 – Test Code
// Print a message to the LCD.
lcd.setCursor(0, 0);
lcd.print(“Circuito Rocks !”);
// Turn off the display:
lcd.noDisplay();
delay(500);
// Turn on the display:
lcd.display();
delay(500);
}
else if(menuOption == ‘3’)
{
// Relay Module – Test Code
// The relay will turn on and off for 500ms (0.5 sec)
relayModule.on(); // 1. turns on
delay(500); // 2. waits 500 milliseconds (0.5 sec). Change the value in the brackets (500) for a longer or shorter delay in milliseconds.
relayModule.off(); // 3. turns off.
delay(500); // 4. waits 500 milliseconds (0.5 sec). Change the value in the brackets (500) for a longer or shorter delay in milliseconds.
}
if (millis() – time0 > timeout)
{
menuOption = menu();
}
}
char menu()
{
Serial.println(F(“\nWhich component would you like to test?”));
Serial.println(F(“(1) Infrared Flame Detection Sensor”));
Serial.println(F(“(2) LCD 16×2”));
Serial.println(F(“(3) Relay Module”));
Serial.println(F(“(menu) send anything else or press on board reset button\n”));
while (!Serial.available());
// Read data from serial monitor if received
while (Serial.available())
{
char c = Serial.read();
if (isAlphaNumeric(c))
{
if(c == ‘1’)
{
Serial.println(F(“Now Testing Infrared Flame Detection Sensor – note that this component doesn’t have a test code”));
else if(c == ‘2’)
Serial.println(F(“Now Testing LCD 16×2”));
else if(c == ‘3’)
Serial.println(F(“Now Testing Relay Module”));
else
{
Serial.println(F(“illegal input!”));
return 0;
}
time0 = millis();
return c;
}
}
}
Download Full Arduino Sketch Here.Flame sensor with Arduino code