Back to Parent

Outcome


I wanted to create a 'countdown' clock that was represented both with the sweeping motor and colored lights indicating the time passage. I realized a number of things through this exercise:

1) The motor would not sweep a full 360. I tested different codes trying *not* to have it reverse but rather continue to sweep. From this I learned that it's important to understand the limits of the devices being used.

2) I had issues with the lighting - the brightness of the lights, when 'LOW', still appeared to be on as the timer counted down. This will be adjusted by setting the brightness. 

3) I also realized an alternative to this code would be turning on and and off a light based on the position of the motor. This however would be more difficult to calculate, although potentially more applicable on a larger scale clock or visual of a countdown.

4) I wanted to be able to start and stop the timer through a Particle command. I added this as a Particle function.

Show Advanced Options
Drop files here or click to select

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