Back to Parent

Outcome


Project Summary:

The primary objective of my project was to create an ambient alert system that visually notifies upcoming Google Calendar events using an Argon microcontroller and Neopixel LED strip. As such, the system fades the strip to red as a calendar event approaches and back to white after the event begins, with integration through IFTTT for the Google Calendar webhook trigger.

Process:

For this setup, a Neopixel LED strip was connected to an Argon microcontroller connected to the D2 pin. The Particle functions CalEvent enabled triggering via IFTTT linked with Google Calendar. The CalEvent function triggers the fade-to-red sequence 15 minutes prior to an event, and after the event starts, a fade back to white is triggered. I added the turnOff function for testing purposes so that I could end, or close, the previously run function.

Initially, the Neopixel strip was programmed to reach full brightness in both red and white colors. However, I found the brightness level too high, or distracting, so I adjusted the code to test different brightness levels, eventually settling on a 20% brightness setting for both colors. I achieved this by adjusting the RGB values in the fadeToColor function.

Outcome:

My project achieved its goal of providing ambient Google Calendar notifications while utilizing IFTTT to handle communication between Google Calendar and the Argon microcontroller.

*alertDuration was shortened considerably for the video to demonstrate the fade from Red to White compared to the used code which is set to 15 minutes. 

Video, IFTTT Log, Code Below

Show Advanced Options
Ifttt log.thumb
Show Advanced Options
Show Advanced Options

Next Steps:

One way I'd like to expand on my project is the integration of a temperature or light sensor. In doing so, this could enable the system to change its behavior based on environmental conditions. For example, the color or brightness of the alert could change depending on the room's temperature or light level, making the system even more dynamic.

Reflection:

One challenge was figuring out each step of integration between the microcontroller, Neopixel LED strip, and IFTTT. Furthermore, balancing the brightness levels to create a more relaxing ambient effect that was not incredibly intrusive was also fun to learn and implement --  specifically adjusting the values to find the right balance of color and brightness intensity was enjoyable to test. 

Drop files here or click to select

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