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.