Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nifty. How about PWM'ing the LEDs to shift the illumination slowly from one hour marker to the next? With practice I'll bet you could read it to within +/- 5 minutes. That would get rid of the need to blink the LEDs at all.

Bonus level: get rid of the button by adding an accelerometer that is polled a couple of times per second to watch for an activation gesture.



I had the same thought, also making the "virtual hour hand" dimmer would instantly distinguish it from the minutes, and you could also add another "virtual second hand" that visibly "rotates" around the dial to further enhance the analogue-ness.


Cool idea, but it uses charliepixeling:

https://en.wikipedia.org/wiki/Charlieplexing

PWM would look weird.


The Wikipedia article you linked has a section on PWM, with a linked example for 12 LEDs on an ATtiny85:

http://www.technoblogy.com/show?2H0K


Which is ironically on the same blog.


Ha! Didn’t even see that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: