Cosmos: Fire Sensor

Content

Demo Video

Watch Video

Functional Block Diagram

The figure below gives the basic overview of the functional block diagram of Cosmos: Fire Sensor. The device contains four separate major components — ESP8266 12E wifi module, the 5V power supply module, the 5V to the 3.3V regulator, and the PC 817 Optocoupler. The assumption that we’ve made with the use of the fire alarms is that the compatible ones are the hard-wired fire-alarms with a feature called interconnect. With the use of this interconnect feature when one of the fire alarms goes off, all the others connected to it going off too.

Aforementioned is made possible by the use of a cable used to transmit a 9-volt pulse to all the connected fire alarm systems, Cosmos: Fire Sensor (CFS) leverages this much functionality in the design. The CFS waits for this 9-volt pulse from the already existing fire detector system, and when it receives this pulse, CFS changes its state and consequently sends the MQTT message to the centralized RPi3 controller.

This controller then broadcasts this information to all the connected devices via push notifications. Correspondingly, the RPi3 can also be used to trigger other connected modules such as the Smart  LED or posting this information on social media to inform authorities.

Cosmos: Fire Sensor Functional Block Diagram

Technical Overview

Flowchart

The figure below is the flowchart diagram of how the system would function. Once the CFS is initialized, it would repeatedly attempt to connect with the MQTT broker, the centralized controller, until the connection is established. Once connected, it would publish the initial state of the detector as “No Fire detected.” Then it would continuously monitor, with a pre-configured delay (in case of CFS, it is 10 seconds), whether the fire detector has sent a 9-volt pulse. If, at any point, it detects a 9-volt pulse, in which case it means that the fire alarm has been triggered, it would send an MQTT message to the broker, which consequently broadcasts a “Fire detected” message over all the authenticated pre-configured devices. Once the necessary actions are taken, and the issue is resolved, the system turns back to the initial state. It continuously monitors the circuit for another 9-volt pulse from the fire detector.

Cosmos: Fire Sensor Flow Chart

Final Product

Cosmos: Fire Sensor Flow Chart

view entire report