Ks0036 keyestudio Flame Sensor: Difference between revisions
Jump to navigation
Jump to search
Keyestudio (talk | contribs) No edit summary |
Keyestudio (talk | contribs) No edit summary |
||
Line 43: | Line 43: | ||
}</pre> | }</pre> | ||
== | ==Resources == | ||
'''Video''' | |||
http://www.keyestudio.com/wp/2016/05/ks0036-keyestudio-flame-sensor-module/ | http://www.keyestudio.com/wp/2016/05/ks0036-keyestudio-flame-sensor-module/ | ||
'''Datasheet''' | |||
http://www.keyestudio.com/files/index/download/id/1463650865/ | |||
==Buy from == | |||
http://www.keyestudio.com/keyestudio-flame-sensor-for-arduino.html | |||
https://www.amazon.com/Keyestudio-Flame-Sensor-Arduino-raspberry/dp/B0172UM4RC/ref=sr_1_1?ie=UTF8&qid=1479956399&sr=8-1&keywords=keyestudio+Flame+Sensor+for+Arduino | |||
[[Category: Sensor]] | [[Category: Sensor]] |
Revision as of 11:06, 24 November 2016
Introduction
This flame sensor can be used to detect fire or other lights whose wavelength stands at 760 nm ~ 1100 nm. 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.
Specification
- Supply Voltage: 3.3V to 5V
- Detection Range: 20cm (4.8V) ~ 100cm (1V)
- Rang of Spectral Bandwidth: 760nm to 1100nm
- Operating Temperature: -25℃to 85℃
- Interface: Digital
- Size: 44*16.7mm
- Weight: 4g
Connection Diagram
Sample Code
const int flamePin = 2; // the number of the flame pin const int ledPin = 13; // the number of the LED pin // variables will change: int State = 0; // variable for reading status void setup() { // initialize the LED pin as an output: pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: pinMode(flamePin, INPUT); } void loop(){ // read the state of the value: State = digitalRead(flamePin); if (State == HIGH) { // turn LED on: digitalWrite(ledPin, HIGH); } else { // turn LED off: digitalWrite(ledPin, LOW); }
Resources
Video
http://www.keyestudio.com/wp/2016/05/ks0036-keyestudio-flame-sensor-module/
Datasheet
http://www.keyestudio.com/files/index/download/id/1463650865/
Buy from
http://www.keyestudio.com/keyestudio-flame-sensor-for-arduino.html