For this lab I experimented with controlling a couple different types of motors using the Particle Argon and IFTTT. The setup I eventually landed upon was a sort of eccentric cam/ yoke driven by a DC motor that causes a flag to wave back and forth. Originally my plan was to have the flag wave when I received any emails tagged "important" or "urgent" however IFTTT doesn't support any triggers based on receiving an email, my next thought was to setup a pomodoro timer - I was hoping to link this with one of my existing focus apps or the iOS focus time setting but this was also unavailable. Ultimately I landed on a simple pomodoro timer set in the console which can be shut off by a button. This theoretically could be connected to a webhook app so I can use the button to start a focus time or gcal event to trigger the pomodoro.
The total time for the pomodoro session is entered via the console. The flag waves at different speeds and lengths of time for different pomodoro states - fast for 8 seconds is "time to work", fast for 3 seconds is "short break", med for 10 seconds is "long break". When the total pomodoro duration elapses or the button is pressed the flag waves slowly for 5 seconds and then will go to an inactive state.
Setting up the pomodoro timer function ended up taking me a few hours of extra coding and debugging. I ended up having some contradictions in managing both flag waving and pomodoro states as well as mishaps with using out of range arrays or calling functions with the wrong type of variable. The online Particle IDE doesn't notify you of many of these issues unless you go into the raw error data which makes me want to switch to VS.code. I was also frustrated around the narrow options for IFTTT - many are available only for paid accounts or with paid apps.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .