Fire Alarm System


About
It was a part of an event named Makerspace organised by the Drishti-SVNIT. It was a month long event for B.Tech juniors. We were given a problem statement and have to solve it by learning new technologies and implementing them trough under the guidance of our mentors.
Project Details
Problem statement: To design a fire alarm device that can deliver a warning SMS directly to your cell phones.
Team members
Ashish Kumar Karn
[Ratnadeep Patra](https://www.linkedin.com/in ratnadeep-patra-2117b0211/)
Mentors
Tech Stack
Technology | Purpose |
Atmel Studio | Atmel Studio is an integrated development platform (IDP) for developing and debugging all AVR and SAM microcontroller applications. |
Embedded C | Embedded C is an extension of C language and it is used to develop micro-controller-based applications. |
Proteus | Proteus is a simulation and design software tool for Electrical and Electronic circuit design. |
Modules
Name | Description |
Atmega32 | A microcontroller handle the working and logic of the system. |
SIM900D | Widely use GSM module that can be used to send the SMS to the registered number. |
TMP36 | A temperature sensor used to detect the temperature. |
MQ2 | A gas sensor used to detect the gas leakage. |
Buzzer | It is used to produce the sound. |
Red-LED | An indicator of the fire. |
Development
This was a completely new domain to us as we were in our first year of engineering. So we had to learn everything from scratch and as it was a workshop like event we have to provide a weekly report of our progress.
We started with learning the basics of the microcontroller its interfacing and architecture to understand how we can utilize it to solve our problem.
Then we researched about the sensors that we will be using in our project. Out initial list was,
BMP180: For temperature. (latter we find difficulty in interfacing so we switched to TMP36)
MQ2: For gas detection.
SIM900D: To serve as a GSM module
BMP180
TMP36
MQ2
SIM900D
Now we have to learn about the interfacing of these modules so we have to learn about the communication protocols like I2C, SPI ans USART. And instead of using the prebuilt libraries we decided to write our own libraries for the modules.
Then set up the Atmet Studio and Proteus 8 to and developed some basic applications like blinking LED to get familiar with the IDE and the simulation software.
After that we started learning about the interfacing of the GSM module and how to use it to send the SMS. It was quiet complex to understand the protocol that it uses but out mentors helped us a lot.
After learning all the required things we started working on the project. We develop the project in different phases. First we develop the individual modules interfacing and then integrate them together. Our team was divided into group to work on different tasks but at the end of the week we share updates and learning with each other.
Here show the flowchart of working of the project.
By the end we have out final circuit ready and we tested it on the Proteus and it was working fine. Then we started working on the PCB design and the casing of the device, here show the final design of the PCB and the casing.
Working demo of the application can be found here.
For more insight of the development process you can check out our detailed documentation of the project here.
Conclusion
Overall it was a great experience to develop this project. We learned a lot of new things and also got to know about the new domain. it is very intuitive when we learn and develop the concepts paralleled which enhance the learning experience. I would like to thank all the mentors for their guidance and support throughout the event.
Subscribe to my newsletter
Read articles from Aniket Rana directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
