This project is a 2 photon system that remotely tracks and records your refrigerators temperature as well as a specific drink and when its cold enough to enjoy.
Photon 1 has two thermistors and one photo resistor. One of the thermistors is used to measure the overall temperature situation of your fridge. It records every five minutes on the internal temperature and publishes this information so that you can have the information available remotely. This is useful because you will be able to see remotely if your fridge is working properly. If there was some kind electrical problem with your fridge that would inhibit it from working, then you would be able to remotely understand if there was a problem.
The second thermistor is used to directly record the temperature of a specific drink so that you know when it is ready to enjoy. When the drink reaches the desired coldness, a signal will be sent to a buzzer on photon 2 telling you that the drink is ready to enjoy.
The photo resistor on photon 1 is used as an alarm system to tell you if someone is opening your refrigerator. If the door opens the sensor triggers off the internal light on the fridge(or ambient light in the room) so that you know if someone is trying to steal your favorite drink in question.
Photon 1 is also powered by a wireless power block for convenience so that unnecessary wired do not have to be ran all the way to your fridge.
------------------------------------------------------------------------------------------------
Photon 2 has 1 button, as well as one buzzer. The button is used to send the initiation signal to Photon 1 to start collecting real time data on your preferred drink so that it only collects data when you want it to. This is necessary because you might not always have a specific drink you want to measure. Once the drink is ready to enjoy a seperate lower toned alarm will go off on the buzzer telling you that the drink is at the desired temperature and ready to enjoy.
-----------------------------------------------------------------------------------------------------
Real time data gets published to the cloud in multiple ways in this system. They are as follows:
- Event(named DoorOn) to tell when the door alarm system is triggered.
- Event(named DoorOff) to tell when the door was physically closed.
- Event(named Temperature_T1) to generally record every 5 minutes the overall temperature situation of your fridge as well as send this data to the cloud to be accessed in real time.
- Event(named Button) that gets initiated by the button (from photon 2) to turn on and initiate the data collection of a specific drink thats located on photon 1. This data is pushed to the cloud and gets tracked so you can graph and see the temperature change over time remotely.
- Event(named Beverage) to tell you when the specific drink has reached the optimal temperature you desire.
- Event(named Temperature_T2) to record the specific drink that you are monitoring so that you know when it reaches the optimum temperature to drink.
- -----------------------------------------------------------------------------------------------------
In order to fulfill the Bi-Directional requirement of the project. Photon 2 uses a button to send the initiation signal to photon 1 to tell it to begin tracking the data for your preferred drink that you want to record until it reaches the optimum drinking temperature. Photon 1 sends an alarm code to photon 2 if the door opens, and also sends a different longer toned alarm to signal when the drink is at its optimum temperature.
------------------------------------------------------------------------------------------------------
Real Time Cloud Data Tracking:
The system publishes information to google docs in multiple ways. One file is created to track the overall temperature of the fridge over time. See below picture for example.
https://docs.google.com/spreadsheets/d/1N-H6LR_QMvWTHhfniAe4XoCHwUVa2HQpqvDhY6EuwFQ/edit?usp=sharing
The other sensor is used to track a specific drinks temperature over time until it reaches the optimal temperature of 40 degrees or lower. Once the temperature is achieved, an alarm will signal that the temp is reached and the data will no longer update in real time onto the cloud on google docs.
https://docs.google.com/spreadsheets/d/12H_q-a8kqRdOqSdURIX1EMGiyE3XDWXIGykL4ePalnQ/edit?usp=sharing
We also have a photo resistor to detect when the door is opened or closed, sounding an alarm on photon 2. This data is also tracked on the cloud as well.
https://docs.google.com/spreadsheets/d/1wE-1ZMnbxZK31wpKnBXpz6J_07HmQI0oiSgItYgJE7g/edit?usp=sharing
In order for the real time tracking system to work, we incorporated a program that's called IFTTT. This system is a website based applet that checks for the events that are publishing on the particle cloud and then transfers the data to google docs. The below image shows the IFTTT checking for the events.
Below is the IFTTT website that we used to incorporate this data tracking system. It is very user friendly to set up individual applets that can track whatever data you are trying to pull from the particle cloud by using an If/Then system.
Lastly, here is the video demonstration showing how our 2 photon system works.
Comments