XiaomiMiBand icon indicating copy to clipboard operation
XiaomiMiBand copied to clipboard

Showing time

Open mgarciate opened this issue 9 years ago • 6 comments

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

mgarciate avatar Apr 06 '15 09:04 mgarciate

we can use colours too along with 3 LEDs.I'm also thinking of some way to encode time in a simple way.

hariprasadiit avatar Jul 07 '15 16:07 hariprasadiit

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.

CirKu17 avatar Jul 09 '15 18:07 CirKu17

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.

rozboris avatar Jul 09 '15 19:07 rozboris

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

notzippy avatar Jul 21 '15 22:07 notzippy

I think buzz consume more energy )

colorprint avatar Jul 22 '15 07:07 colorprint

You could turn all LEDS to green between each display of a digit as well..

notzippy avatar Jul 23 '15 16:07 notzippy