Bill of Materials
- Particle
- Breadboard
- LED
- Resistor
- PIR sensor
- Phone
I have been fascinated by Phillips' wake up light for sometime, and the principle of waking up gently is borrowed from here. Additionally, I have heard (and experienced) that it is better and easier to wake someone when they are sleeping lightly rather than deeply. Knowing this, I added a PIR sensor to check for when a sleeper is moving, and have programmed the wake up light to coordinate itself with this feedback.
I had a hard time picking this project, partially because I was constantly rejecting ideas as not good enough. I realized that we were actually supposed to learn about IoT, so I picked something that was happy and moved on.
The first thing I did was to make sure that the various parts worked separately - the LED, fading it in and out, the PIR sensor, sending and receiving messages, and allowing the user to turn on and off the alarm through these messages.
I then added them together piece by piece and refined my code until it all worked as it was meant to.
You can upload files of up to 20MB using this form.