Back to Parent

Outcome


Product

The Neopixel device used to remind the schedule in Google Calendar, which appears white in its normal state, turns green 15 minutes before the schedule starts and gradually changes each LED to red over the next 15 minutes to remind the schedule that it is about to start, and then fades from red to white and returns to its initial state once the schedule has started.

Process

Firstly, following the instructions in DIoTLab will create the app on IFTTT and connect it to my Particle account.

Then write code to connect the Argon microcontroller to the Neopixel strip and set its initial state to bright white light.

2023 12 18 165321.thumb
Show Advanced Options
Y%287m4 ih2rnh5%60q  n7517y tmb.thumb
Show Advanced Options

When IFTTT is ready, it receives information about the schedule in Google Calendar and sends the data to Particle Cloud when it reaches the 15-minute countdown. Our Neopixel strip will change from white to green as soon as it receives this message.

 %60ilayn6jef%2961z8dzh zw0 tmb.thumb
Show Advanced Options

At the same time, during the next 15 minutes, the LEDs on the strip will turn red in sequence to remind the time is approaching.

Show Advanced Options

At the beginning of the schedule, the strip turns completely red, and from this time on, the light on the strip fades to white and returns to its initial status.

Ztqae8 6ryenc%28%28  hrb1d1 tmb.thumb
Show Advanced Options
Show Advanced Options
Show Advanced Options

Reflection

Along the way, I mastered the use of external libraries and multiple coding methods to control the lighting of LED strips on and off, while through an IFTTT connection I was able to connect Particle Cloud to an external application, which greatly increased the design possibilities. Also next I'll be looking at adding buttons and knobs to turn the light off or change its brightness when alerted that it's on.

Drop files here or click to select

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