Back to Parent

Outcome


Problem Statement

The Bath Buddy is designed for my roommate who likes to take baths, but would rather wait in the living room rather than in the bathroom while the bath is filling up. Additionally, he does not like having to constantly check the water. He will benefit from this product because it will tell him when to turn the water off and when it’s at the correct temperature while he’s in a different room. I chose this person because he lives with me so I can ask him questions and test the product with him. This problem was selected because it can easily be used and tested in my home, and it can make a relaxing activity a little more relaxing.  

Goal

I want my solution to alert my user when he is away from the bath with something that is always with him (his phone or smart watch). This will make the task of drawing a bath simpler. It addresses the problem by messaging the user when the water needs to be turned off and when the temperature is cool enough to go in. In this way, the bath won’t overflow and the user won’t need to touch scalding water to test if it’s cool enough. The Bath Buddy also uses a secondary alert of a buzzer in case their phone is off or on silent.

Process

I first tested out the codes from tutorials for the temperature sensor and piezo buzzer. The buzzer was not working at first, but then I realized that it mattered what pin I put it in. The temperature tutorial worked well. However, at some points the readings were off because the data wire kept coming out of the board so I decided to tape it in place. Next, I converged both codes together and added a water “sensor.” Because water conducts, I just have one lead attached to ground and one lead attached to a pin so that when they both touch water, the circuit is completed. When the circuit sensed water, I had it play notes on a speaker and when the temperature was correct, I had it light up an LED. I also made the temperature and water sensors publish messages to my phone using IFTTT. At first I had the water and temperature sensors in the loop section, however, this caused my code to push messages repeatedly to my phone. I instead moved them to the setup section and wrote two for loops so that it would only send one message for water level and one for temperature.


Codes used from DioT Labs and Guides:

Speaker: http://diotlabs.daraghbyrne.me/6-controlling-outputs/piezo/

Temperature Sensor: http://diotlabs.daraghbyrne.me/3-working-with-sensors/DS18B20/

Parts List:

  1. Waterproof temperature sensor
  2. 4.7K ohm resistor
  3. 1K ohm resistor
  4. LED light
  5. Piezo Buzzer
  6. 13 Leads
  7. Photon Particle
  8. Breadboard
  9. USB cable and computer
Dsc 0004
Show Advanced Options
Dsc 0009
Show Advanced Options
Dsc 0010
Show Advanced Options
Dsc 0011
Show Advanced Options
Dsc 0008
Show Advanced Options
Show Advanced Options
Show Advanced Options

Outcome

My prototype functions correctly, but it doesn’t look like a final product. I need to make a better casing for it so that it looks more appealing, and I need to add safety measures to it. Next I would like it to turn off the water once it hit sensor and allow for someone to check the temperature of the bath at any time.

Dsc 0002
Show Advanced Options
Circuit
Show Advanced Options

Bill of Parts

  1. Waterproof temperature sensor
  2. 4.7K ohm resistor
  3. 1K ohm resistor
  4. LED light
  5. Piezo Buzzer
  6. 13 Leads
  7. Photon Particle
  8. Breadboard
  9. USB cable and computer



Show Advanced Options
Show Advanced Options

Reflection

I enjoyed the process of making my Bath Buddy. It was new to me, so it was very exciting when I got things to work. Coding was time-consuming; however, I feel that in the future that this will be a faster process. I learned more about the format of this coding language and how to write for loops and publish variables to the cloud. I also learned how to use IFTTT to text me when an event has been published. If I could do this over, I would test parts separately more before putting them together. I put all the code together before testing it and it was sometimes hard to figure out what was wrong. I got to where I wanted it to be. Towards the end, I was thinking it would be helpful to have the program text me the temperature when called, but I wasn’t sure how to do this. I need to do more research in cloud variables and IFTTT. Additionally, I would have liked it to turn off the water once it hit sensor, but our faucet is stiff, and I don’t think the motor would have been strong enough to turn it.

Summary

Bath Buddy texts you when your water is at the right level and must be turned off as well as when it is at the right temperature.

Drop files here or click to select

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