Back to Parent

Outcome


Intention

The goal of this project was to make an ambient calendar notification system that would alert you when there is an event on your Google Calendar in 15 minutes. The ambient alert would be a colorful pattern displayed on an LED switch. When the user sees the notification, they can dismiss it by holding a button for 3 seconds.

Process

I made a simple circuit using the Adafruit addressable LED strip, a button, and a Particle Photon 2 microcontroller. I tried for a long time to integrate it with Webhooks and IFTTT so that I could call a Particle function based on my Google Calendar. I ran into a lot of issues with this method. Even after I set it up, I could not implement it since Webhooks is no longer available for free. I changed my approach and made my function just callable from the Particle Console instead. 

I used the millis() function and a Boolean flag to determine if the button had been held for 3 seconds. This took a while to troubleshoot because one of the wires I had plugged into my button was broken and I did not realize. Once I switched out wires everything worked fine.

Outcome

    • I was able to call the notification function and display to the LED strip.
    • I was able to dismiss the notification by holding the button for 3 seconds.

Show Advanced Options
Img 1752.jpg.thumb
Show Advanced Options
Img 1751.jpg.thumb
Show Advanced Options

Reflection

In the future I want to write my own script to directly access the Google Calendar API instead of trying to rely on Webhooks. I learned a lot about LED strips in this process though and I also learned a lot while trying to troubleshoot Webhooks.

Show Advanced Options
Drop files here or click to select

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