• Em promoção!
  • -2,00 €

Sensor de Chama com saída digital e analógica

: SEN05043
3,98 €
1,98 € Poupe 2,00 €

Com este sensor de chama consegue detetar uma chama até 60cm de distância.

Este sensor de chama pode emitir um sinal analógico (valor em tempo real) e um sinal digital (alto/baixo).

Quantidade

DESCRIÇÃO EM PORTUGUÊS BREVEMENTE DISPONÍVEL

Se tiver alguma dúvida neste produto não hesite em contactar-nos.

*Atenção: as imagens são meramente ilustrativas.

Flame Sensor Module Pinout

The flame sensor module has a total of 4 pins. Two power pins and two signal pins. The pinout of a flame sensor module is as follows:

Flame Sensor Module Pinout

VCC Provides power for the module, Connect to the 5V pin of the Arduino.

GND Ground Connected to Ground pin of the Arduino.

DO Digital Output Pin.

AO Analog Output Pin.

Flame Sensor Module Parts

The flame sensor module has only very few components, which include an IR photodiode, an LM393 comparator IC, and some complimentary passive components. The power LED will light up when the module is powered and the D0 LED will turn off, when a flame is detected. The sensitivity can be adjusted with the trimmer resistor onboard.

Flame Sensor Module Parts and Components


Connecting your Flame Detector to an Arduino

arduino-infrared-flame-sensor-wiring-diagram.jpg

 

A very simple Arduino Sketch is shown below:

Arduino code - READ value from DO pin ( digital )

#define DO_PIN 2  // Arduino's pin connected to DO pin of the flame sensor

void setup() {
  // initialize serial communication
  Serial.begin(9600);
  // initialize the Arduino's pin as an input
  pinMode(DO_PIN, INPUT);
}

void loop() {
  int flame_state = digitalRead(DO_PIN);

  if (flame_state == HIGH)
    Serial.println("The flame is NOT present => The fire is NOT detected");
  else
    Serial.println("The flame is present => The fire is detected");
}

 

Arduino code - READ value from AO pin ( analogue )

#define AO_PIN A0  // Arduino's pin connected to AO pin of the flame sensor

void setup() {
  // initialize serial communication
  Serial.begin(9600);
}

void loop() {
  int flameValue = analogRead(AO_PIN);

  Serial.println(flameValue);
}

 

SEN05043

Produtos Associados