Our project consisted of two main parts, the first part is to create a system that can open and close the garage by using a smart device. The other part of the project is connected to the first part, by making a circuit that knows if the garage door is open in case of forgetting the garage door open. This part works by building a circuit as shown In figure(1) and sending an SMS text to your smartphone.
(Figure 1: Photon particle connected to a remote motherboard)
The project is very helpful and made the garage opening more easily, fun and safer. The idea of the second part came to us when my roommates and I forgot that the garage door was open for hours without knowing knowing about it. The first part of this project is opening and closing the garage door using a smartphone is made using the photon, smartphone, regular cables, and a 10K ohm resistor. The way this works is basically by pressing the D1 pin and setting It on high on the smart device after constructing the circuit as below and connecting it to the garage opener original board. The application used to control the pins was the particle app. The second part of the project is publishing a notification event to the Particle.io website. The circuit is connected to a Reed switch and is attached to the garage's door as shown in figure (2). When the garage is opens, the circuit will be broken and then that will trigger the event to be published as shown in the coding part Below. The event will be published every 5 seconds until the garage door is closed again.
(Figure 2: The second photon attached to the wall and reed switch)
The following are the data shown from Particle.io when the garage door was opened. The Black bars are the "Garage open" and the empty ones are "Garage closed".
(Figure 3: Bar-graph (Data vs time))
(Figure 4: overall Data in Particle.io)