Arduino alev sensörünü inceliyoruz ve deneme yapıyoruz detaylar ve video konu içerğinde..
Arduino Flame (Alev) Sensörü
#include<SoftwareSerial.h>
int sensorPin = A0; // select the input pin for the LDR
int sensorValue = 0; // variable to store the value coming from the sensor
void setup() {
Serial.begin(9600);
}
void loop()
{
sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
delay(10);
}
delay(sensorValue);
}
