Back to Parent

Outcome


Scenario & Purpose

To keep track of how much water I consumed during the day, I designed the prototype that employs a force sensor and a light sensor. It will track only when I drink a certain amount of water during the daytime, which means the force reading and light reading need to be high enough to trigger the tracking system. The amount of water is measured by the frsReading; day or night is judged by photoCellReading. The variable drink indicates whether I just put a glass of water on the force sensor during the day.


Show Advanced Options
Img 0843
Show Advanced Options
Show Advanced Options

To connect Spark with my Twitter account, I'm using IFTTT to monitor the drink variable and let it tweet when drink turns from 0 to 1.

%e5%b1%8f%e5%b9%95%e5%bf%ab%e7%85%a7 2015 01 25 %e4%b8%8b%e5%8d%882.05.19
Show Advanced Options

The following shows the detailed settings of IFTTT.

%e5%b1%8f%e5%b9%95%e5%bf%ab%e7%85%a7 2015 01 25 %e4%b8%8b%e5%8d%882.05.43
Show Advanced Options

Voila!

Here is how it looks like when IFTTT automatically tweets for me.

%e5%b1%8f%e5%b9%95%e5%bf%ab%e7%85%a7 2015 01 25 %e4%b8%8b%e5%8d%882.04.25
Show Advanced Options
Drop files here or click to select

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