Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO Based Multi-Flame Sensor Monitoring System

View and Edit Project In Cirkit DesignerImage of Arduino UNO Based Multi-Flame Sensor Monitoring System

Circuit Documentation

Summary

This circuit integrates an Arduino UNO microcontroller with three flame sensors to detect the presence of flames in different locations. The flame sensors are connected to the Arduino UNO to read analog values representing the intensity of the detected flames. The Arduino UNO is programmed to read the analog inputs from the flame sensors and output the readings through the serial interface.

Component List

Arduino UNO

Flame Sensor (x3)

Wiring Details

Arduino UNO

Flame Sensor 1

Flame Sensor 2

Flame Sensor 3

Documented Code

void setup() {
  // Initialize serial communication at 9600 bits per second:
  Serial.begin(9600);
  
  // Set up the analog pins for input:
  pinMode(A0, INPUT);
  pinMode(A1, INPUT);
  pinMode(A2, INPUT);
}

void loop() {
  // Read the input on analog pins A0, A1, and A2:
  int sensorValue0 = analogRead(A0);
  int sensorValue1 = analogRead(A1);
  int sensorValue2 = analogRead(A2);
  
  // Print out the values you read:
  Serial.print("Sensor 0: ");
  Serial.println(sensorValue0);
  Serial.print("Sensor 1: ");
  Serial.println(sensorValue1);
  Serial.print("Sensor 2: ");
  Serial.println(sensorValue2);
  
  // Delay a bit for stability:
  delay(1000);
}

Filename: sketch.ino

Description: This code initializes the serial communication and configures the analog pins A0, A1, and A2 as inputs. In the main loop, it reads the analog values from the flame sensors and prints them to the serial monitor every second.