For the lives of many, every second we can save is appreciated whether you are a student, busy parent, or early worker. Many times in a frantic rush, our tired morning time selves will throw on whatever clothes we first see. Unfortunately, the weather doesn't care if you didn't have enough time to dress accordingly, but we do! Using our dual temperature sensor Particle Argon system, you can roll out of bed and see exactly what the temperature is outside, as well as your home's temperature so you can quickly compare!
Our system consists of two separate temperature collecting systems, as well an an LCD screen to display the values. These systems consist of two Particle Argon temperature collection units, as well as an LCD circuit with another Particle Argon to collect and interpret data from the other two systems. This LCD circuit also contains a tuning potentiometer to adjust brightness of the displayed text. This allows different users to adjust the screen brightness to their preference during the time of day for ease of use. Along with this, a safety measure was implemented to ensure the temperature sensor's safety under high temperatures. To do this, the LCD Particle Argon receives temperature data from the outside sensor, and constantly checks it to see if it is above 75 degrees F. If this is true, a warning message will display informing the user of possible damage to the sensor and/or circuit as well as stopping all data collection. This bidirectional communication system ensures that the user will be well informed of any damages to their sensor, as well as ensuring minimal damage to electronics in harsh weather conditions.
Below we will explain more about the step process and our approach to this process.
Step 1: Build and Test
The initial step for the IOT project was circuit building and finding source code for each sensor individually. To do this, we wired up each individual component with their respective Argon, and flashed a test code to see if the components were working soundly. For the LCD screen, this consisted of uploading an example code that counted the seconds as well as displayed "Go Niners", see image below.
For the TMP36 Temperature Sensors, a circuit was built with a flashed code that printed measured temperature values to the Particle.io Console. This allowed us to test and make sure these systems could work on their own. All Argon circuits were connected under the same account for ease of communication between the devices. By using open source code code and wiring diagrams online, the team was able to check all components were working and wired correctly. This would greatly help troubleshooting when combing the three Argon systems in the later steps.
Step 2: Integrate and Mesh Code
Once the test circuits were built, and the source code understood, we moved onto integrating all of our components and code together with the intent to mesh all data collection into one smooth process. To begin, the first connection to make was between one temperature sensor system the the LCD display to make sure the LCD would correctly display temperature. Once this connection was made correctly, the next step was implementing code to connect two temperature Particle Argon circuits to the Particle Argon LCD display circuit. Once both systems were able to display data correctly, the systems could be put in their respective locations and see if they work.
Step 3: Testing and Implementation
With the systems working in unison, we moved to deploy the circuits into their respective locations to judge practicality of this setup. The final goal is to implement one temperature sensor subsystem outdoors, and another somewhere with ambient heating/cooling in your home while having the LCD screen set up within a bed or bathroom to quickly read the outdoor temperature, and judge what to wear for the day. With that being said, the circuit was tested within more extreme environments to ensure correct behavior between the two. First, we placed the outdoor system inside of a freezer to test feasibility in low temperatures. After that was completed, the outdoor system was then given time to warm back up and placed into a bathroom with a hot shower and sink running to test performance under humid higher temperatures. Both of these tests showed consistently accurate performances, and displayed necessary warning messages when needed.
Once the system was proven to work, the outdoor circuit was placed somewhere that does not receive direct sunlight, but also not in the cold shade. This was done to ensure an accurate reading of an average ambient outdoor temperature which would prove most useful to deciding what to wear for the day.
The video below shows the setup of our IOT system along with different temperature extremes to see the system at work:
Live Data:
Below are two graphs that model the live data that the sensors can detect, with variations occurring from touch the sensor and placing it near cold objects. As it can be seen. The argon data was connected to the Adafruit IO through the webhook and integration features. The display the real time temperature changes that occur. The outside sensor shows more drastic changes, while the inside sensor stays more consist depending on what temperature it was set too.
Future Improvements
To improve upon the project in the future, we would like to implement a weather proof case for the outdoor sensor, as well as a solar panel unit to continuously charge a battery pack. This would ensure that the charge carried by the outdoor circuit would last as long as possible and that the electronics would not be damaged.
For the indoor LCD unit, we would plan to implement the screen into a more ergonomic and stylish design to mesh into a bedroom or bathroom décor style. This could be done by implementing the unit into a planter for a house plant, a lamp, or even a storage unit for bathroom items. Both temperature and LCD indoor unit feasibility would improve with a battery pack implemented into the system as well.
Comments