KY-026 Flame sensor module
Original price was: R$ 39,37.R$ 32,81Current price is: R$ 32,81.
Em estoque
Camila / Dúvidas sobre o produto? Precisa de ajuda? Fale comigo.Descrição
KEYES ARDUINO flame moduleFlame module Interface module and number 13 comes with LED build a simple circuit to produce flame warning lamp 13 comes with digital interfaces of the LED, the flame sensor connected digital three interfaces, when the flame sensor senses There are key signal detected, LED lights, otherwise off.Sensor for flame wavelengths between 760 nm to 1100 nm infrared is most sensitive 60 degree detection sensor Two outputs mode: AO: analog output- real-time output voltage signal on the thermal resistance DO: when the temperature reaches a certain threshold- the output high and low signal threshold adjustable via potentiometerSchematicArduino GND –> Module GArduino +5V –> Module +Arduino digital 4 –> Module D0Arduino A3 –> Module A0 Example Code //Example for KY-026//TkkrLabint Led = 13 ;// define LED Interfaceint buttonpin = 3; // define the flame sensor interfaceint analoog = A3; // define the flame sensor interface int val ;// define numeric variables valfloat sensor; //read analoog value void setup (){ pinMode (Led, OUTPUT) ;// define LED as output interface pinMode (buttonpin, INPUT) ;// output interface defines the flame sensor pinMode (analoog, INPUT) ;// output interface defines the flame sensor Serial.begin(9600);} void loop (){ sensor = analogRead(analoog); Serial.println(sensor); // display tempature val = digitalRead (buttonpin) ;// digital interface will be assigned a value of 3 to read val if (val == HIGH) // When the flame sensor detects a signal, LED flashes { digitalWrite (Led, HIGH); } else { digitalWrite (Led, LOW); } delay(1000);}
Informação adicional
Peso | 0,0000 kg |
---|---|
Dimensões | 0,0000 × 0,0000 cm |