XiaomiMiBand
XiaomiMiBand copied to clipboard
Showing time
QUESTION: Have you thought any way to show the current time using the LEDs? Counting on just 3 LEDs I can arrive till 7h. I've been thinking a new feature to implement forking your code and getting hours in one led color, minutes with another, as binary representation. Perhaps this is information could be given after touching the band. What do you think? Thx
we can use colours too along with 3 LEDs.I'm also thinking of some way to encode time in a simple way.
Blinking too. I was thinking of an encoding similar to those of some bell towers: first led white means AM, blue means PM second led blinking 8 times means it's 8 third led blinking once means it's 8:15, twice 8:30. Quite inaccurate and slow but it's an option.
It might make sense to not show AM/PM since it's obvious. Then you can use two LEDs to show minutes div 10
and minutes mod 10
respectively.
I think displaying the time in binary is an option, you can have a "hi bit" color to designate the 9 and buzz between digits For example Given R = Red (hi bit color), B = Blue normal color , O = Off
O O B
<bzz>
O B O
<bzz>
O B O
<bzz>
B O B
The time is 12:25
O O O
<bzz>
B B O
<bzz>
O O B
<bzz>
R O O
The time is 5:19
O B O
<bzz>
O B O
<bzz>
O O B
<bzz>
B B B
The time is 22:18
I think buzz consume more energy )
You could turn all LEDS to green between each display of a digit as well..