A fire outbreak is a major tragedy that has led to various casualties returning into both financial loss as well as human life. Detecting fire at an early stage can help in saving lives. That is why Fire detectors play a very important role in many organizations, industries, hospitals, institutions, etc. A Fire detector not only detects fire/flame but also alerts the user whenever a fire is detected so that necessary measures can be taken.
In this article, we will learn how to interface Fire Sensor with the Raspberry Pi board to get SMS alerts when a flame/fire is detected.
Hardware Requirements :
The following components are required for the interfacing -

Raspberry Pi 3B+:

Raspberry Pi ( Rpi ), is a low-cost, credit card-sized computer that runs on the Linux Operating System. It provides a set of #GPIO ( General Purpose Input / Output Pins ) which allows the interfacing of hardware components. It has inbuilt WiFi and Bluetooth capabilities making it a better candidate for #IoT projects and Developments.
Buy RaspberryPi 3B+ board from here.
Fire Sensor :

Fire #Sensors, also known as Flame Sensors are designed to detect the presence of fire/flames. They consist of four pins - Ao ( Analog Output ), Do ( Digital Output ), GND ( Ground ), and Vcc ( Power Supply ). For Analog Pin ( Ao ), an ADC ( Analog-to-Digital Converter ) needs to be used for getting the desired output while the Digital Output Pin ( Do ) directly gives the output in terms of 0 and 1.
Buy Fire Sensor from here.
Jumper Wires :

Jumper Wires are connecting wires having connector pins at each end, allowing them to connect two points without soldering. They typically come in three versions - male-to-male, male-to-female, and female-to-female. Here, we will be using female-to-female #Jumper Wires for interfacing the sensor with a Raspberry Pi board.
Buy Jumper Wires from here.
USB Cable :

#USB ( Universal Serial Bus ) Cable is used to connect Raspberry Pi to the system ( For eg: Laptops ).