Let’s be really honest here, once in your life you may or may not have left the stove on before leaving the house and by the time you find out, it’s already too late, your house is gone. Or maybe, it’s feeling a little hot or cold in your room and you need that fan/heater to turn on. Maybe you’ve left one of the lights on in your house before. If you’re a forgetful person and want a reminder that lets you know if you’ve done any of these things, then let me tell you, our project does exactly that.
How does it work?Our project is designed to record live readings of temperature, detect sources of light and detect the presence of a fire within about a two-foot proximity of the sensor. We used 3 particle photon 2’s for data processing and data transfer between the sensors, a photoresistor, digital temperature sensor to record temperature, and a flame sensor to detect the presence of a fire within the area. Each of these sensors is connected to a particle device and these devices read the data recorded by the sensors and share the data between each other by using the publish and subscribe cloud functions. The particles that are connected to sensors publish the data. This data is then displayed onto an LCD. The particle device that is connected to the LCD subscribes to the data being output by the other particle devices. Under the code section you can find the coding for each sensor and the LCD and under the schematics section you can find the circuit diagram for each component.
LCDThe LCD is wired to the particle device labeled womat_rushil. This particle device is the main component of the project in that it subscribes to the other two particle devices, and it displays the data.
Photo-resistor (Light Sensor)The photo-resistor is connected to the particle device labeled galaxy eyes photon dragon. When a light is on the LCD displays the message, "Lights are on" and when there is no light the LCD displays the message, "Lights are off".
Digital Temperature SensorThe digital temperature sensor is wired to the particle device labeled lawyer_Shaan. This sensor records the temperature of the area every 2 seconds and that temperature is displayed on the LCD.
Flame SensorThe flame sensor is also wired to the particle device labeled lawyer_Shaan. This sensor can detect a fire within a two-foot proximity and to indicate this, a red light is lit up on the sensor. When a fire is present, the LCD also displays the message, "HOUSE IS ON FIRE! RUN!" and when there is no fire it displays the message, "House is not on fire".
Comments