Back to Parent

Outcome


Intention:

Currently, I live with my sister in a 3 story townhouse. During the late evening hours, I am usually upstairs in my office busy innovating the next generation of IOT products and do not venture downstairs again until morning. After a long day at work, my sister usually likes to relax and watch TV downstairs. During this time, she usually burns several candles that are scattered throughout the living room. In the event that she falls asleep, I want to ensure that candles are not left burning unattended all night.

Goal:

The goal of this project is to provide a safety device that notifies users if a candle is burning after a user specified time.

Process

Components:

5 – Yellow LED

6 – 1K Ohm Resistor

1 – 10K Ohm Resistor

1 – DS18B20 Temperature Sensor

1 – Piezo Buzzer

1 – Push Button

1 – Red LED

1 – Green LED

Male to female jumper wires

Jumper wires


In order to efficiently develop this project, I decided to wire and test individual components as I went along. Using tutorials from class and online sources referenced below, allowed me to make certain of component’s function before adding more components. Wiring a buzzer, push button, temperature sensor, and 6 LEDs became very difficult on such a small board.  After wiring the LEDs, I should have realized that I needed to transfer to a larger board. In the future, I would also like to become more efficient with board layout. After the functionality of the components was verified, numerous resources were used to develop code that allowed all candle burning event criteria to be met.


Photo 1.jpg.thumb
Show Advanced Options
Photo 2.jpg.thumb
Show Advanced Options
Photo 3.jpg.thumb
Show Advanced Options
Photo%283%29.jpg.thumb
Show Advanced Options
Photo%282%29.jpg.thumb
Show Advanced Options
Show Advanced Options

Outcome:

The product works like this:

1. Attach the temperature sensor to side of candle

2. Set the hour in which the candle should not burn

3. Program checks the scenario criteria:

a. Glass temperature above room temperature and not “alarm hour” = SAFE STATE (green LED)

b. Glass temperature above room temperature and “alarm hour” = ALARM STATE (chasing yellow and red LEDs and buzzer)

c. Glass temperature below room temperature and not “alarm hour” = SAFE STATE (green LED)

4. If scenario B occurs, the push button is engaged to deactivate the alarm and reset the system to safe state.

Show Advanced Options
Show Advanced Options

Reflection

I am satisfied with the performance of this project. However, there are multiple functions that I would like to add if I were to continue to develop this idea. First, the addition of another temperature sensor would allow the program to read and input the ambient room temperature. Currently, I have to manually change the temperature value in the code. Second, the user should be able to control all of the functions from a mobile device. This includes setting the alarm time (currently manual) and also turning on the ringer and camera flash of the same mobile device. Finally, this product could also offer the user the ability extinguish the candle from their device. The candle lid could be retrofitted with a small servo that would rotate 90 deg to close.

References:

http://daraghbyrne.github.io/diotlabs/

https://learn.sparkfun.com/tutorials/sparkfun-inventors-kit-for-photon-experiment-guide/experiment-5-music-time

https://www.arduino.cc/en/Tutorial/ForLoopIteration

https://docs.particle.io/reference/firmware/core/#timestr-

Drop files here or click to select

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