Search This Blog

Showing posts with label flame sensor. Show all posts
Showing posts with label flame sensor. Show all posts

Friday, 27 November 2020

how to make a fire alarm 🚨 || flame sensor interface with aurdino nano|| fire alarm using ARDUINO nano|| the robotics guy|| lucifer

Code for ARDUINO nano ⬇️⬇️



   // Your program code goes here
 
const int buzzerPin = 12;
const int flamePin = 10;
int Flame = HIGH;
int redled = 8;
int greenled = 7;
void setup() 
{
  pinMode(buzzerPin, OUTPUT);
  pinMode(redled, OUTPUT);
  pinMode(greenled, OUTPUT);

  pinMode(flamePin, INPUT);
  Serial.begin(9600);
}

void loop() 
{
  Flame = digitalRead(flamePin);
  if (Flame== HIGH)
  {
    digitalWrite(buzzerPin, HIGH);
    digitalWrite(redled, HIGH);
    digitalWrite(greenled, LOW);
  }
  else
  {
    digitalWrite(buzzerPin, LOW);
    digitalWrite(greenled, HIGH);
    digitalWrite(redled, LOW);
  }
    


Materials required;
Bread board
Flame sensor
Arduino nano
Jumper cables
Buzzer
2 LEDs
Type B mini USB cable..........
.
.
.
.let's get started 🤩🤩🤩


Step by step explained with photos...!!👍
.                          🔝🔝🔝
Positive terminal of buzzer (green wire ) to be connected to D12 on ARDUINO nano

                            🔝🔝🔝
Negative terminal of buzzer (yellow wire) to be connected to GND on ARDUINO nano
.                            🔝🔝🔝
LED'S positive terminal (blue wire ) to be connected to D8 on Arduino nano
.                            🔝🔝🔝
Second LED'S positive terminal(orange wire) to be connected to D7 on Arduino nano
.                            🔝🔝🔝
 LEDs negative terminal (both the LED's)(yellow wire) to be connected to GND on the Arduino nano
.                         🔝🔝🔝
Sensor's output (brown wire) to be connected to D10 on the Arduino nano
.                           🔝🔝🔝
Sensor's positive terminal (red wire) to be connected to 5V of ARDUINO nano
.                          🔝🔝🔝
Sensor's negative terminal (black wire) to be connected to GND on the Arduino nano
.
.
.
.
.
.
 We are done with the circuit and placing the components on bread board let's test and enjoy the video ......don't forget to subscribe,like and share 😀

Wednesday, 5 August 2020

Flame/fire detector ( working explained)

9V batteryhow to use a flame/fire sensor Description: This Flame Sensor can be used to detect fire source or other light sources of the wave length in the range of 760nm - 1100 nm. It is based on the YG1006 sensor which is a high speed and high sensitive NPN silicon phototransistor. Due to its black epoxy, the sensor is sensitive to infrared radiation. Sensor can be a great addition in a fire fighting robot, it can be used as a robot eyes to find the fire source. When the sensor detects flame the Signal LED will light up and the D0 pin goes LOW
Follow down the link below to see demo
how to make a fire alarm
Source:rhydolabz

What is a flame/fire detector
flame detector is a sensor designed to detect and respond to the presence of a flame or fire, allowing flame detection. Responses to a detected flame depend on the installation, but can include sounding an alarm, deactivating a fuel line (such as a propane or a natural gas line), and activating a fire suppression system. When used in applications such as industrial furnaces, their role is to provide confirmation that the furnace is working properly; it can be used to turn off the ignition system though in many cases they take no direct action beyond notifying the operator or control system. A flame detector can often respond faster and more accurately than a smoke or heat detector due to the mechanisms it uses to detect the flame.
The range of the flame/fire detector
The range of a flame detector is highly determined by the mounting location. In fact, when making a projection, one should imagine in what the flame detector "sees". A rule of thumb is, that the mounting height of the flame detector is twice as high as the highest object in the field of view. Also the accessibility of the flame detector must be taken into account, because of maintenance and/or repairs. A rigid light-mast with a pivot point is for this reason recommendable. A "roof" on top of the flame detector (30 x 30 cm, 1 x 1-foot) prevents quick pollution in outdoor applications. Also the shadow effect must be considered. The shadow effect can be minimized by mounting a second flame detector in the opposite of the first detector. A second advantage of this approach is, that the second flame detector is a redundant one, in case the first one is not working or is blinded. In general, when mounting several flame detectors, one should let them "look" to each other not let them look to the walls. Following this procedure blind spots (caused by the shadow effect) can be avoided and a better redundancy can be achieved than if the flame detectors would "look" from the central position into the area to be protected. The range of flame detectors to the 30 x 30 cm, 1 x 1-foot industry standard fire is stated within the manufacturers data sheets and manuals, this range can be affected by the previously stated de-sensitizing effects of sunlight, water, fog, steam and blackbody radiation.

Parts required

interfacing ph sensor with arduino

You will need to connect the pH sensor to the Arduino board and configure the pins accordingly. Refer to the documentation of your pH se...