Back to Parent

Outcome


Problem Statement

I am designing for my sister. She cooks at home a lot and, currently, besides watching a pot of water, there is no way to alert her when the water is boiling. This device should allow her to step away from the stove and work on other tasks and still be notified when the water has reached the right temperature.

Goal

My goal is to create an IoT connected device that measures the temperature of the water and, when the boiling temperature has been sustained for a suitable amount of time, alerts my sister through phone notification as well as an audible alarm if in case she happens to be nearby. This way she will be notified immediately when she is able to start cooking.

Process

As I approached this project, I knew interfacing and measuring from the one-wire temperature sensor would be the greatest struggle, so it was the first obstacle I tried to overcome. The biggest problem I ran into was library related since I needed to find libraries with built in code to retrieve measurement values.  After implementing the correct libraries for the sensor, I linked the temperature readings to the serial monitor to verify correct temperature readings.

Next, I tackled the objective of signaling a piezo buzzer as part of the alarm system. This was difficult at first since I learned that piezo buzzers run off PWM signals. However, after discovering the tone() function built into arduino it was quite simple. I then found code to play the mario theme song and made heavy adjustments so as to play notes that were audibly distinguishable.

I then implemented an LED visual output that synced with the buzzer alarm.

Finally, I connected the particle photon platform with the IFTTT service so that when boiling was detected my phone would receive a notification.

Img 20180131 200815116
Show Advanced Options
Img 20180131 200820346
Show Advanced Options

Outcome

This prototype has fairly complete functionality. Future iterations would remove the repeating audio alarm so that it only triggered once or twice. I would also create stronger lead connections and possibly create a more permanent platform on proto board.

Bill of parts:

1 particle photon board

1 breadboard

1 piezo board

1 LED

2 10 KOhm resistors

1 One-Wire sealed temperature sensor

Assorted jumper wires

Below is a circuit schematic, the code implemented, and a video of operation

Boiling sensor breadboard bb
Show Advanced Options
Show Advanced Options

Reflection

This project was a very interesting experience. Much of what I worked with I had already been exposed to, however, there were a few parts I was previously unfamiliar with. I was able to learn the process to interface with the temperature sensor and the libraries needed as well as the code needed to use a piezo buzzer and what pins are able to emit PWMs.

I feel very satisfied with this project and would do nothing differently.

Drop files here or click to select

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