User Tools

Site Tools


rocnet:fastclock-en

Differences

This shows you the differences between two versions of the page.


rocnet:fastclock-en [2021/09/20 08:53] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== RocNetNode Fast Clock ======
 +[[:english#command_stations|{{  :interface.png}}]][[:english|{{  :rocrail-logo-35.png}}]][[:rocnet:rocnetnode-en|{{ :rocnet:rocnet-hw.png}}]]
 +[[:rocnet:rocnetnode-en|{{ icons:uk.png}}]][[:rocnet:rocnetnode-de|{{ icons:de.png}}]][[:rocnet:rocnetnode-fr|{{ icons:fr.png}}]]
 +[[:english|Content]] -> [[:english#command_stations|Command Stations]] ->  **[[rocnet:rocnet-prot-en|RocNet]]** 
 +  * [[rocnet:rocnet-prot-en|RocNet Protocol]] | **[[:rocnet:rocnetnode-en|RocNetNode]]**
 +    * [[:rocnet:rocnetnode-hwsetup-en|RocNetNode Setup]] | [[:rocnet:rocnetnode-setup-en|RocNetNode Configuration]] | [[:rocnet:rocnetnode-img-en|Installer package]] | [[:rocnet:article-en|MERG Journal]]
 +  * [[:gca:gca-index-en#raspbery_pi_rocnet_boards|Raspberry Pi Boards]]
 +    * [[:gca1-pi01-en|GCA-Pi01]] | [[:rocnet:pi01can-en|Pi01CAN]] | [[:gca_pi02-en|GCA-Pi02]] | [[:gca-pi03-en|GCA-PI03]] | [[:gca-pi04-en|GCA-PI04]] | [[:gca-pi05-en|GCA-Pi05]] | [[:gca-pi06-en|GCA-Pi06]] | [[:GCA-PI07-en|GCA-PI07]] | [[:GCA-PI08-en|GCA-PI08]] | [[:gca107-en|GCA107 Relay board]] | [[:rocnet:rocdisplay-en|RocDisplay]] | **[[:rocnet:fastclock-en|Fast Clock]]**
 +  * [[:rocnet:rocnetnode-build-en|Build from source]] | [[:raspi:raspi-dev-en|RasPi as Rocrail server]]
 +  * [[:rocnet:faq-en|FAQ's]]
  
 + \\
 +{{:rocnet:rocnetaroundtheclock.jpg}}\\
 + \\
 +=====Introduction=====
 +The __**[[https://www.adafruit.com/product/880|ADAFRUIT 0.56" 4-DIGIT 7-SEGMENT DISPLAY W/I2C BACKPACK]]**__ can be used as I2C Fast Clock.\\
 +If the clock runs with real time, divider = 1, the colon will blink every second.\\
 +In case the divider > 1 the colon will be on constantly, and the dots will step with a 1 second frequency to signal 'Fast'.\\
 +
 +====Features====
 +The following information can be iterated every 10 real seconds if enabled:
 +  * Model time
 +  * Model date
 +  * Model __**[[:weather-en#color|Temperature]]**__
 + \\
 +In case there was no clock synchronisation within 70 seconds the display will show idle with a looping dash.\\ 
 +This is also the case after the RocNetNode has been started until a clock synchronisation came in.\\
 +The looping dash is also an indicator that the I2C bus works as expected.\\
 +
 +===Weather===
 +If a __**[[:weather-en#color|Weather theme with color table]]**__ is active, the temperature and brightness are used for the clock displays.\\
 +
 +
 + \\
 +=====Caution=====
 +Because this board does not feature an I2C buffer chip, it can interfere with other I2C connected boards.\\
 +A possible solution is by using the GCA-PI03 board:\\
 +{{:rocnet:fastclock-pi03.png}}\\
 +
 +
 + \\
 +Just prepare a short 4 wire connector cable with GND, VCC, SDA, SCL and the fastclock works in a safe way.
 +
 +=====Setup=====
 +{{:rocnet:rocnetnode-fastclock-en.png}}\\
 +
 +The number of connected displays are scanned at RocNetNode startup, and therefor they must be connected to the I2C bus before RocNetNode starts.\\
 +Make sure the display addressing starts with 0x70, default, and further displays should be addressed increased by one. Avoid gaps between the addressing to save I2C bandwidth.\\
 + \\
 +The clock settings are used for all connected displays.\\
 +
 +====Enable====
 +Enable the clock display update cycle.\\
 +If disabled the clock displays will show: **- -  - -**\\
 +
 +====Date====
 +Show the date in the following format: **DD.MM.** \\
 +
 +====Temperature====
 +Show the temperature in the following format: **-CC°** \\
 +
 +====Dots====
 +In case the clock is running faster then real time the four dots will blink in an endless loop.\\
 +
 +====Brightness====
 +The display brightness can be set in the range of 1 to 15.\\
 +A value of 15 is the max. brightness.\\
 +| The brightness may be overwritten in case the __**[[:weather-en#color|Weather with Color table]]**__ is active. |
 +
 + \\
 +
 +=====Cable=====
 +^ RJ12 ^ PSK ^ Wire ^ Color ^ Remark ^
 +| 1 | 1 | VCC | Red | Plus |
 +| 2 | 4 | SCL | Green | I2C clock |
 +| 3 | 2 | GND | Black | Ground |
 +| 4 | 3 | SDA | Yellow | I2C data |
 +{{:rocnet:fastclock-cable.jpg?600}}\\
 +
 +=====Videos=====
 +| <html><iframe width="420" height="240" src="https://www.youtube-nocookie.com/embed/R54P4gsxNH0?rel=0&amp;controls=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></html> | <html><iframe width="420" height="240"  src="https://www.youtube.com/embed/snvTsTsFEjc?rel=0&amp;controls=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></html>
 +|  Fast clock with divider > 1  |  Fast clock with time, date and temp.  |