Flame Detection Module

아두위키 : Arduwiki
ArduWiki (토론 | 기여)님의 2024년 3월 24일 (일) 11:47 판 (Created page with "{{#seo:|title=아두위키 : 불꽃 감지 모듈|keywords=아두이노,불꽃감지모듈,아두이노 불꽃감지모듈, 아두이노 센서 예제, 불꽃감지모듈 예제|description=아두이노에서 불꽃감지모듈을 사용하는 방법과 예제 코드입니다.}} center|class=coders100 The Flame Detection Module is a specialized sensor designed to detect the presence of flames or fire within its proximity. This module is highl...")
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)


The Flame Detection Module is a specialized sensor designed to detect the presence of flames or fire within its proximity. This module is highly sensitive to the wavelengths of light produced by flames, typically in the range of 760nm to 1100nm, allowing it to distinguish fire from other light sources.

Specifications

  • Operating Voltage: 3.3V ~ 5V
  • Detection Angle: 60 degrees
  • Sensing Distance: Up to 17cm ~ 18cm
  • Detection Wavelength: 760nm ~ 1100nm

Connection

The circuit used in the example code below.

An LED can be replaced with another module or omitted entirely.

Resistor Flame Detection Module LED Arduino
VCC 5V
GND - GND
Connection +
DO D8
Connection D7

Example Code

// Code to turn on the LED when a flame is detected.
#define led 7
#define fire 8

int state = 0;

void setup() {
  pinMode(fire, INPUT);
  pinMode(led, OUTPUT);
  digitalWrite(led, LOW);
}

void loop() {
  state = digitalRead(fire);
  if (state == 0) digitalWrite(led, HIGH);  // Flame detection outputs 0
  else digitalWrite(led, LOW);
}

Execution Result