Back to Parent

Outcome


Problem Statement: 

My husband had an operation last Friday for this shoulder. As part of the recovery treatment he is supposed to use an ice machine to cool down the area. Since he uses it for long periods of time, we need to change the ice frequently. I built an IoT home hack that notifies him when the water in the ice machine reaches a certain level and new ice needs to be added. Having this notification will help focus on his recovery vs on constantly monitoring the ice level of the machine. 

Goal: 

The goal of this project is to notify users when they need to change the ice in their ice machine. In order to achieve this, I used a temperature sensor to monitor the temperature and level of the water inside the machine. Once the ice has melted and the water levels reaches a certain point, it makes contact with the temperature sensor which then sends a text message to notify the user that they need to change the ice inside their ice machine. Having a notification, helps users spend their time efficiently vs having to worry of their ice machines. 

Process: 

For this project, I used the following steps:

1. Understand how to use the sensor: I added the temperature sensor to the breadboard and built a code to read its temperature with the help of reference 1.

2. Build the output: I created an account with Twilio and connected it to the particle Webhook so I can send text messages when needed with the help of reference 2.

3. Add a switch as input: I added a switch as an input for my project, incorporated the additional code and tested it with the help of reference 3.

4. Incorporate an LED to confirm the flow of data: Finally added an LED light to indicate that sensor data was been recorded by particle.

Challenges:

My temperature sensor kept giving me an error which I thought was a problem with the code or circuit. Turns out it's a sensor error that is making my project send a  random text when the sensor reads a temperature of -127 Celcius.  I also had to understand how to leverage the “if else” statements to ensure that I get the text message at the accurate time.

Reflections:

I learned to break my steps into small components and then test them to see how they worked. From there, I could easily identify which parts were not working and needed to be checked. 

Pic 2
Show Advanced Options
Img 3881
Show Advanced Options
Img 3882
Show Advanced Options
Show Advanced Options
Img 3885
Show Advanced Options

Outcome: 

Overall, I am happy with my working prototype since it can notify a user when the temperature drops to a certain level when the device is turned on. In order to be more accurate, I should test for the right temperature level where the user gets notified. I would also understand how I can create a workaround for the sensor error. Finally, I also had problems with stopping the text messages. As a next step, I would like to understand how to refine my code so that I can send only one text vs getting spammed with multiple texts. 

Show Advanced Options
Xenia
Show Advanced Options

Bill of Parts

  • 1 Particle Microcontroller
  • 1 Breadboard
  • 8 Jumper Wires
  • 1 1k Ω resistor
  • 1 Single color LED
  • 1 Double pole double-throw (DPDT) switch
  • 1 DS18B20 Sealed Temperature Sensor 
  • 1  4.7k Ω resistor
  • 1 USB Micro B Cable   
Reflection: 

Overall this was an interesting project to test my circuit building and coding skills. I It was pretty time consuming project as I needed to understand the code and how it worked. Thanks to this project, I am more confident in these skills that I know I will continue to develop. I would like to further explore the texting capabilities of Twilio and learn to create loops that only happen for a certain amount of time.  In the future, I could also modify this project to notify me or my husband when water is boiling.

Show Advanced Options
Drop files here or click to select

You can upload files of up to 20MB using this form.