Overview
The regular smoke detector can only notify the users that smoke has been detected when users are at home. What if the users are not at home and something is burning? With the smart smoke detector, the users will get a text message to their cellphones, and they can turn on the water valve from their cellphones to extinguish the fire even they are far away from home.
This project shows a Particle photon connected to anther photon through IFTTT. Google sheet also is used to record and graph the photon routine.
Hardware
Two Particle photon are needed for this project. The first photon is connected to the smoke detector. A second photon is connect to a relay which will open the water valve.
Of course, a smoke detector is needed as well. A relay to open the water solenoid valve.
A house smoke detector do not have the signal output, so we need to modified the smoke detector. After disassembling the detector we tried different testing points on the board to find the signal for the buzzer. We soldered a jumper wire from this point and used it as input for the Photon.
The first photon is programed to "publish event" on particle web page when it received signal from the the smoke detector. A "applet" is created on IFTTT to send a text message to user's cellphone if the first photon published an event.
Create a new applet on IFTTT
Click on "this" and choose Particle app, then click on "that" and choose "SMS". It mean if the Particle app do something then send an SMS to user.
Here is the text message from IFTTT.
For the second portion, IFTTT is programed to send a signal to the second Photon if it received an text message. When the user replies "#yes", the IFTTT will trigger the photon to activate the relay to open the water valve.
Google Sheets records the state of the photon respective to time. Google Sheets also will record how strong the Wifi is for both Photons. Here are the graphs.
Links to our graphs
State Graph:
Sensor WiFi Strength Graph:
Valve WiFi Strength Graph:
And, here is the video showing how our project works.
Comments
Please log in or sign up to comment.