top of page

SMART Fire Alarm System

August 2024

About this project

This project was made for my Introduction to Engineering Design course. We designed an IoT device focused on accessibility and more functionality than a standard smoke detector. This included putting multiple different types of sensors in the main unit to raise the accuracy of fire detection, as well as an integrated mobile app to interface with the alarm. I was responsible for developing the system to process and communicate data between the main unit and the Cloud.

image.png

The Raspberry Pi 3B+ was used as the main processing unit for all the communication on the actual device. Not only would the Raspberry Pi receive data and send it to the Cloud but was also responsible for communicating with a remote vibrational alarm. This alarm would be placed near a user's bed to wake them up in case they were deaf and could not hear the main device's speaker. It was connected to an ESP32 development board in order to communicate with the Raspberry Pi over WiFi.

The ESP32 communicated with the Raspberry Pi using MQTT. The broker would run on the Raspberry Pi, and the ESP32 would then connect to the broker upon start up. Then, when the Raspberry Pi publishes the ON message to the broker, the ESP32 will then run for a few seconds.

image.png
image.png
image.png

On the left is the terminal output of the Raspberry Pi. Upon detection of a fire, all alarms will turn on, and the three sensor data values will be sent to the Cloud, as well as turning on the vibrational alarm. On the right is the terminal output of the ESP32. When WiFi is connected, it will constantly attempt to connect to the IP Address of the Raspberry Pi. Once connected, it will run once receiving the ON message.

Reflection

This project was a very enlightening and fun experience. It was the first major engineering team project I had worked on, and that came with many lessons in teamwork and cooperation. I also really enjoyed the creative process of the designing the device, as it combined a lot of aspects that I could not accomplish on my own. On top of that, I have been very fascinated with IoT devices ever since I started working with microcontrollers. So, it was nice to finally design my own, and all the challenges that come with it. I hope to either come back to this project in the future, or adapt some of the technology into my own projects. 

Documentation

bottom of page