Adding More Functionality

A project log for NeoPixel SmartWatch

A first attempt at a wearable that interacts with Android notifications and has a few other neat features.

DominicDominic 04/09/2015 at 02:330 Comments

Now that the main functionality is there, I wanted to add a couple more features that could be useful once in a while. The stopwatch function is pretty self explanatory; it starts a stopwatch at zero that can be paused, resumed, and reset. In order to show any second value (0-60) with only 12 leds, the led ring is numbered from 0-11. The seconds value is split into a first and second digit, which is shown on the watch with blue and green. (i.e 46s - blue on led 4, green on led 6)

To take advantage of the uv/ir/visible sensor, I added a uv meter that shows the current uv value, refreshed every 500ms, to 1 decimal. Indoors, it's usually easy to pickup a value in the 0.1-0.5 range when close to a window. Outdoors the highest I have seen so far is 7.5.

Last is a simple flashlight function that makes the leds display white at full brightness. The current draw in this mode goes up from ~40ma to close to 200ma, but it's much brighter and easier than constantly pulling out my phone to use the flash.

The menu system is pretty simple and there are only 2 accepted inputs: short click and long click. The picture below explains it quite well.