I am sharing interfacing of this Flame Sensor with Arduino today, but soon I will also post a tutorial on Interfacing of Flame Sensor with PIC Microcontroller. If you guys have any questions then ask in comments. I have also given the Simulation file and the Programming code below to download. But I would recommend you to design this proejct on your own so that you make mistakes and then learn from them. So, let's get started with Interfacing of Flame Sensor with Arduino:
#include <LiquidCrystal.h> LiquidCrystal lcd(13, 12, 11, 10, 9, 8); int Flame = 7; void setup() { Serial.begin(9600); pinMode(Flame, INPUT_PULLUP); lcd.begin(20, 4); lcd.setCursor(0,0); lcd.print("Flame : "); lcd.setCursor(1,2); lcd.print("www.TheEngineering"); lcd.setCursor(4,3); lcd.print("Projects.com"); } void loop() { if(digitalRead(Flame) == HIGH){lcd.setCursor(8,0);lcd.print("Detected ");} if(digitalRead(Flame) == LOW ){lcd.setCursor(8,0);lcd.print("Not Detected");} }
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w