Back to Parent


Since this was the first IoT device prototype I was making on my own, I decided to research on the components required to make the prototype. After researching on the major components: PIR motion detection sensor and a piezo sound generator, I found out other projects which used the same components on their devices. From the precedent projects, I learn't how the code worked for each of these components. I changed the code so that the PIR sensor notices the fridge door opening up causing the LED to light up. If the door is opened 5 times (count = 10, since one motion is for open and one for close) the device will play a melody and send an SMS to alert my roommate. SMS capability was added using IFTTT and a single line of code - Particle.publish()

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!