This article will teach you how to interface a Fire Alert to Gmail using Raspberry Pi. The fire sensor used in this circuit will help you detect any fire happening at your homes and send alerts to your email. This is a great way to get notified about incidents of fire, especially in sensitive industries dealing will inflammable materials and thus prevent the spread to a major extent.
APPARATUS REQUIRED:
1. Raspberry Pi: RaspberryPi is a single-board microcomputer which utilizes the SoC, DDR RAM memory, ethernet port, USB host, and micro HDMI on it. It provides the opportunity to interact with the outside world and using its processing power in a compact board at a low cost. In this application, we have used the Python IDE to simplify it.
2. Fire Sensor: A fire sensor is a #sensor that can detect a rise of almost 10 degrees temperature in the vicinity and alarm the authorized personnel through lighting or audio notification. This sensor also allows us to alarm using email, and we will focus on that part in this article.
3. SD Card for Raspberry Pi: We must use the right MicroSD for storing and installing the Pi in the system. It is always recommended to use a class-10 SDcard which is capable of storing all the information regarding the Raspberry Pi from installation to application.
4. Connecting Wires (Male-Female): As simple as it looks, these are used to connect ends without soldering. While male wired have protruding pins to plug into things, female jumpers are the ends that are used to plug into.
5. USB Cable for Raspberry Pi: This cord is used to temporarily connect the Raspberry Pi to the power supply.
Circuit:
The circuit is not very complicated and can be easily completed. The D0 can be connected to any of the GPIOs. This pin can be noted down and can be set up in the code accordingly.
For this particular project, we have used a voltage of 3.3V and is connected to the Vcc pin. We need to create a new e-mail id for the Raspberry Pi to receive e-mail notifications. But since there is a limitation of using all the features in the new, older email id is being used.
There are two major ways to detect fire; either using the onboard detection or using the fire sensors.
In the fire sensor, there are mainly two LEDs, one is the Power LED and the other is D0 LED. If the fire sensor detects affirmative, the D0 LED is turned ON, otherwise, it is OFF. the Power LED will always glow whenever there is a power supply from the sensor to the board.
Download the complete code here
Working:
When we check the hardware implementation, we see that there are mainly 4 pins in the fire sensor, namely A0, D0, Ground, and Vcc.
Once the hardware implementation is complete, we can open the directory in which the code is located and run the program to see how the Raspberry triggers an email about the fire.
Whenever a fire is detected, the D0 LED lights up to trigger the email about the same. The experiment shows the process where we bring in the fire to see how the email is sent.
First, the program is run and after the flame is brought nearby, the code shows an output saying "Text sent", which shows that the email has been received by the user.
In this particular experiment, the fire detected was at a close distance. This could be changed by adjusting the potentiometer value and enabling it to detect the fire from larger distances. Whenever a High or '1' is detected in the pin, the email is triggered by the Raspberry Pi.
Final Output and Working Video:
Check the Project working video here - Fire Alert to Gmail using Raspberry Pi - IoT Project
Video by: Sai Parimal
See Also:
Order Electronics Projects
Want us to guide you through your project or make the project for you? Click on the button below or reach out to us via Call/WhatsApp at (+91) - 7600948607
You can -
Order Basic Electronics Projects
Order Embedded Systems Projects
Order IoT Projects
Order FPGA Projects
Order VLSI Projects
Order Image Processing Projects
Order Matlab Projects
Order TinkerCAD Projects
Order Proteus Projects
Click on the button below to fill out the project inquiry form -
Create Various Projects
Check out our Free Arduino Projects Playlist - Arduino Projects
Check out our Free Raspberry Pi Projects Playlist - Raspberry Pi Projects
Check out our Free TinkerCAD Projects Playlist - TinkerCAD Projects
Check out our Free IoT Projects Playlist - IoT Projects
Check out our Free Home Automation Projects Playlist - Home Automation Projects
Check out our Free NodeMCu Projects Playlist - NodeMCu Projects
Follow us -
Please do follow us i.e. #learnelectronicsindia to get daily updates about new blogs, videos, courses, products, offers, competitions, quizzes, and Internship Opportunities.
Learn Electronics India's article on Fire Alert to Gmail using Raspberry Pi is nothing short of brilliance! I've always been fascinated by IoT applications, and this blog has taken my interest to a whole new level. The clear instructions and well-organized content make it a pleasure to read and follow. I can't wait to try this project out myself. Great job, team.
LearnElectronics India simplifies complex concepts beautifully. Thank you!