Flame Detection Sensor Module (HCARDU0024)

Modules for various types of sensors including accelerometers. gyro's, IR motion, etc
Post Reply
admin
Site Admin
Posts: 866
Joined: Sun Aug 05, 2012 4:02 pm

Flame Detection Sensor Module (HCARDU0024)

Post by admin » Tue Nov 06, 2012 6:20 pm

Image

Model N/A
Quantity 1
Material PCB
Features Sensor for flame wavelengths between 760 nm to 1100 nm infrared is most sensitive; Module has two outputs: 1, AO, analog output, real-time output voltage signal on the thermal resistance; 2, DO, when the temperature reaches a certain threshold, the output high and low signal threshold adjustable via potentiometer; 60 degree detection sensor
Application Arduino DIY project
Other Voltage: DC 3~5.5V


PINOUT
PIN DESCRIPTION
1 Analogue out
2 GND
3 VCC (+5V)
4 Digital out

Example Arduino Sketch:

Code: Select all

/* FILE:    ARD_Flame_Detector_Sensor_HCARDU0024_Example
   DATE:    03/07/12
   VERSION: 0.1

This is a simple example of how to use the Hobby Components flame detection
module (HCARDU0024). The sensor has two outputs, an analogue output that is 
dependent on how strong a flame is detected, or a digital output that will go high if
a flame is detected above a threshold set by the modules potentiometer.

This example program reads the status of both sensor outputs and outputs the result
to the UART.

SENSOR PINOUT:

PIN 1: Analogue out
PIN 2: Ground
PIN 3: +5V
PIN 4: Digital out

You may copy, alter and reuse this code in any way you like, but please leave 
reference to HobbyComponents.com in your comments if you redistribute this code. 
This software may not be used directly for the purpose of selling products that 
directly compete with Hobby Components Ltd's own range of products. 

THIS SOFTWARE IS PROVIDED "AS IS". HOBBY COMPONENTS MAKES NO WARRANTIES, WHETHER 
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF 
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR LACK OF NEGLIGENCE.
HOBBY COMPONENTS SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR ANY DAMAGES, 
INCLUDING, BUT NOT LIMITED TO, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY 
REASON WHATSOEVER.

*/


/* Select the input pin for the flame detectors analogue output. */
#define FLAME_DETECT_ANA A0     
                                  
/* Select the input pin for the flame detectors digital output. */
#define FLAME_DETC_DIO 2       
                                  


/* Initialise serial and DIO */
void setup()
{
  /* Setup the serial port for displaying the status of the sensor */
  Serial.begin(9600);
  
  /* Configure the DIO pin the sensors digital output will be connected to */
  pinMode(FLAME_DETC_DIO, INPUT); 
}


/* Main program loop */
void loop()
{
  /* Read the sensors analogue output and send it to the serial port */
  Serial.print("Sensor Value: ");
  Serial.print(analogRead(FLAME_DETECT_ANA));
  
  /* Read the status of the sensors digital output and if it is high 
     then send an alert to the UART */
  if (digitalRead(FLAME_DETC_DIO))
  {
    Serial.println(" FLAME DETECTED!");
  }else
  {
    Serial.println();
  }
    
}

Post Reply

Return to “Sensors”