Your EasyEDA usage duration is brief. In order to avoid advertising information, this action is not supported at present. Please extend your EasyEDA usage duration and try again.
Editor Version×
Standard
1.Easy to use and quick to get started
2.The process supports design scales of 300 devices or 1000 pads
3.Supports simple circuit simulation
4.For students, teachers, creators
Profession
1.Brand new interactions and interfaces
2.Smooth support for design sizes of over 5,000 devices or 10,000 pads
3.More rigorous design constraints, more standardized processes
4.For enterprises, more professional users
Ongoing
STD
Flame Sensor
License:
Mode:Editors' pick
2.6k
0
0
0
Update time:
2021-04-09 20:57:11
Creation time:
2016-01-15 09:51:13
Description
Flame Sensor
------------
The Grove - Flame Sensor can be used to detect fire source or other light sources of the wavelength in the range of 760nm - 1100 nm. It is based on the YG1006 sensor which is a high speed and high sensitive NPN silicon phototransistor. Due to its black epoxy, the sensor is sensitive to infrared radiation. In fire fighting robot game, The sensor plays a very important role, it can be used as a robot eyes to find the fire source.
Features
Grove Interface
High Photo Sensitivity
Fast Response Time
Easy to use
Sensitivity can adjustable
Usage
The module is mainly used to detect the infrared light. It outputs digital signal 0 and 1 through a Comparator output. The output value will be 0 when infrared light is detected. And the sensitivity is adjustable by the precision potentiometer.
Let's use it to control. When the output value is 0, the led will light up.
1. Connect the module to the D3 of Grove - Base Shield using the 4-pin grove cable.
2. Plug the Grove - Base Shield into Arduino.
3. Connect Arduino to PC by using a USB cable.
4. Copy and paste code below to a new Arduino sketch. Please click here if you do not know how to upload.
/******************************************************************************/
#define SENSOR 3 //connect SENSOR to digital pin3
#define LED 2//connect Grove - LED to pin2
void setup()
{
pinsInit();
}
void loop()
{
if(isFlameDetected())
turnOnLED();
else turnOffLED();
}
/********************************/
void pinsInit()
{
pinMode(FLAME_SENSOR, INPUT);
pinMode(LED,OUTPUT);
digitalWrite(LED,LOW);
}
void turnOnLED()
{
digitalWrite(LED,HIGH);
}
void turnOffLED()
{
digitalWrite(LED,LOW);
}
boolean isFlameDetected()
{
if(digitalRead(FLAME_SENSOR))
return false;
else return true;
}
Reference
The sensor can detect the light source whose wavelength is in the range of 760nm - 1100 nm. The below picture shows the spectral sensitivity.
![enter image description here][1]
For more detail, please visit: http://www.seeedstudio.com/item_detail.html?p_id=1450
[1]: /editor/20160115/5698c20c16298.png
Forked project will be set private in personal workspace. Do you continue?
Clone
Project
The Pro editor is about to be opened to save as. Do you want to continue?
private message
Send message to seeedstudio
Delete
Comment
Are you sure to delete the comment?
Report
Flame Sensor
No Profile
Announcer: seeedstudio
Creation time: 2016-01-15 09:51:13
Published time:
2021-04-09 20:57:11
*
Report type:
Please select report type
*
Report reason:
Please fill in the reason for your report and the content is 2-1000
words
*
Upload image:
+
Upload image
*
Email address:
Please fill in your email address
Report
*
Report type:
Please select report type
*
Report reason:
Please fill in the reason for your report and the content is 2-1000
words
*
Upload image:
+
Upload image
*
Email address:
Please fill in your email address
Report
Submitted successfully! The review result can be viewed in the personal
center, review notification.
Kind tips
Your EasyEDA usage duration is brief. In order to avoid advertising information, this action is
not supported at present. Please extend your EasyEDA usage duration and try again.
Share
Project
Copy
Copy
Scan the QR code and open it on the mobile terminal