This is not a digital clock with a normal count , it represents an hour in beautiful colors with a unique algorithm.
- The body of this watch, designed and implemented by team designer, Mr.Peyman.
- The electronic part of this watch is designed by me to detail the details .
- The programming and design part of Algorithm is a clock designed by me and loaded into this data repository.
There are two main boards in this clock, the first for clock control and the instructions for clock control and control of the main LEDs of the clock. This board can execute the following commands via serial:
- h ## - Set Hours [range 1..12 or 0..24]
- i ## - set Minutes [range 0..59]
- s ## - set Seconds [range 0..59]
- d ## - set Date [range 1.31]
- m ## - set Month [range 1..12]
- y ## - set Year [range 0..99]
- w ## - arbitrary day of the week [range 1..7]
- t - Get Status All LED => 00000
- g # (LEDGet) - get Color LED [range 1,2,3,4,5]
- b ## (LEDSet) - set Color LED [range LED 1,2 / * - 1.2 - * /, 3 / * - 2 - * /, 4 / * - 3 - * /, 5] [range color 0,1,2,3]
- l # - Set Game Mode Status [range 0, 1]
- r - Print Led Status
- a - set AM
- p - set PM
- z - start clock
- Z - stop clock
- q - SQW / OUT = 1Hz
- Q - stop SQW / OUT
- > ##, ### - write to register ## the value ###
- < ## - read the value in register ##
You can put # the above quotes instead.
The next board is responsible for controlling the wireless connection between the sun and the LED, and the middle of the hour is controlled by the first version via the web and the second by the mobile application, which has the responsibility of maintaining and reporting the first board.
- In the first board:
- Arduino pro mini Or ATMEGA 8
- DS 1307
- ULN 2003
- ULN 2803
- Schottky diode 10A07
- CRYSTAL 32.678kHz
- Resistors 10K
- Regulatory 8705
- capacitor 25v 3300uf
- LED Green
- In the next board:
- Wemos D1 Or ESP 8266 v.12
- ULN 2803
- Schottky diode 10A07
- Resistors 10K
The count is based on the Fibonacci sequence as the first five sentences of this sequence are used to represent sentences from 1 to 12, using LEDs and color schemes as follows:
- Required Sequence {1,1,2,3,5}
- Total Color {Black,Red,Green,Blue}
- Black in order of 0 or non.
- Red means minutes worth five times that unit.
- Green indicates the meaning of a watch worth its time.
- Blue means minutes and hours with listed values.