Story:
As every college student knows, the only thing keeping us going after a few hours of sleep is sweet caffeine. The problem arises when you have an 8am class yet you’ve only slept for 3 hours, and you need every bit of extra sleep as possible. You wake up and you immediately must rush to class but without coffee. How can you function? You have to make the choice of choosing your sweet coffee of life or being late to class. Well, not anymore. We developed a solution to save you some extra zzzz’s and still make it to class on time with your coffee. With our new invention you would never have to worry about having enough time to get your coffee. As soon as you wake up and turn on your lights your coffee will automatically start brewing. You won’t have to choose between extra sleep and coffee. Once you turn on your lights to get ready, your coffee will start brewing.
Solution:
To solve the problem we used two particle photons to communicate through Wi-Fi. With the help of a photon resistor to sense the bedroom light it will trigger one photon to tell the second photon in the kitchen to start brewing your coffee.
Determining Starting Values for Photo resistor
We calculated the average light captured by the photo resistor in the room chosen. The average value determined was 64 so we used a value of 60 in the code to make sure the sensor was triggered as seen in the graph below.
Below is a photo of the servo motor connected to one of the particle photons
Completed setup of two photons, coffee maker, motor and photo resistor working together
Below is a photo of the 221 ohm resistor and photo resistor connected to one of the particle photons
Comments