Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
October 2012
Index
1. Introduction 2. Specification 3. Packing List 4. Requirements 5. Pin Assignment 6. Hardware Interface/Setup 7. Example Code 3 3 3 3 4 5 6
1.0 Introduction The flame sensor module comes with flame sensor, adjustable digital filter for digital output and it also reserve the original analog output. The flame sensor can be used to detect fire or other light source with wavelength of 760 nm ~ 1100 nm light. In the fire-fighting robot game, the flame plays an important role in the probe, which can be used as the robot's eyes to find fire source or football with special light source. It can make use of fire-fighting robots, soccer robots. Minimum 3 wires interface, but user may always use 4 wires and uses both digital and analog.
2.0 Specification Detects fire, it detecst light source and sensitive to light with wavelength of 940nm Interface: Analog or digital Supply Voltage: +5 V Detection range: 20cm (4.8V) ~ 100cm (1V) Interface with microcontrollers and logic circuits
3.0 Packing List Flame sensor module 4 x Female to female jumper wire
4.0 Requirements It can be interface to any microcontroller such as PIC, Arduino, SK40C, SK28A, SK18B or even logic circuit such as relay board. Necessary hardware to follow this guide: Arduino Duemilanove or other Arduino compatible board or others controller board SK40C, SK28A. Flame sensor module Jumper wires
5.0 Pin Assignment Minimum 3 wires interface, but user may use 4 wires and uses both digital and analog. 1. 2. 3. 4. VCC GND Digital Output (DO) Analog Output (AO)
6.0 Hardware Interface/Setup Here is sample connection to Arduino Duemilanove board. The analog output can be connected to any analog input pin on Arduino.
7.0 Example Code Now, the circuit is wired and ready. Its time to write some very basic Arduino code. This code is almost exactly the same as Arduino's standard AnalogReadSerial example. Arduino will send the analog value from sensor to serial terminal windows.
Prepared by Cytron Technologies Sdn. Bhd. 19, Jalan Kebudayaan 1A, Taman Universiti, 81300 Skudai, Johor, Malaysia. Tel: Fax: +607-521 3178 +607-521 1861