ROBOT . HEAD to TOE
Getting Started Guide – Flame Sensor module
Flame Sensor Module
GETTING STARTED
GUIDE
V1.0
October 2012
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved 1
ROBOT . HEAD to TOE
Getting Started Guide – Flame Sensor module
Index
1. Introduction 3
2. Specification 3
3. Packing List 3
4. Requirements 3
5. Pin Assignment 4
6. Hardware Interface/Setup 5
7. Example Code 6
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved 2
ROBOT . HEAD to TOE
Getting Started Guide – Flame Sensor module
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
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved 3
ROBOT . HEAD to TOE
Getting Started Guide – Flame Sensor module
5.0 Pin Assignment
Minimum 3 wires interface, but user may use 4 wires and uses both digital and analog.
1. VCC
2. GND
3. Digital Output (DO)
4. Analog Output (AO)
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved 4
ROBOT . HEAD to TOE
Getting Started Guide – Flame Sensor module
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.
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved 5
ROBOT . HEAD to TOE
Getting Started Guide – Flame Sensor module
7.0 Example Code
Now, the circuit is wired and ready. It’s 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.
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved 6
ROBOT . HEAD to TOE
Getting Started Guide – Flame Sensor module
Prepared by
Cytron Technologies Sdn. Bhd.19, Jalan Kebudayaan 1A,
Taman Universiti,81300 Skudai,
Johor, Malaysia.
Tel: +607-521 3178
Fax: +607-521 1861
URL: www.cytron.com.myEmail: [email protected]
Created by Cytron Technologies Sdn. Bhd. – All Rights Reserved 7