Back to Parent

Scenario

I am a coffeeholic who really cannot live without coffee for a day and care about keeping my coffee jar in the right temperature in order to keep my coffee bean in the best condition. COFFEHOLIC provides you to track your coffee in real time, and alarms you when you should add coffee beam. So COFFEEHOLIC updates the temperature every few seconds and show the specific temperature in the cloud variables. Also the "coffeealarm" tells you "add" and "good" so that you don't have to worry you don't have coffee to drink today!

Process

The logic process is like: define whether the coffee jar has coffee(force sensor) for 3 seconds --> if yes then turn off the red light --> keep updating data every 3seconds (when data is updated the green light will blink) --> temperature shows "number" and coffeestatus shows "add" or "good" -->repeat

Firstly I drew a rough sketch to clarify the logic and the big structure of my code. I tweaked a little bit from temperature sensor code in the github and added some for loops and if statements for LEDs. The problem I met is how to rewrite the word characters into variables because I found out that the status always showed "add" no matter what, so I spent some time to figure out to use array (thanks to the help from my classmate).

Material Used

* Spark

* breadboard x1

* Temperature sensor x1

* Force sensor x1

* 10nF capacitor x1

* 1k resistor x2

* 10k resistor x1

* jumper x alot

Next Steps

I am planning to add photosensor to track how many times you drink coffee today. Also can combined with special sensor to track humidity is available. In the future I also can make Coffeeholic send picture to you when you are run out of coffee!


Content Rating

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

0