background image

DIGITAL CLOCK MODEL CLK100

 

GEKCO INC.    

 

 

Rev 1.1  

 

 

 

 

25

 

11.2.

 

Main Board Circuit Description 

The main circuit board has the microcontroller, real time clock (RTC), switch inputs and connectors for 

the display board, programming interface and the input power. 

The microcontroller U3 is the heart of the clock. This design uses the popular Atmel ATMEGA328P. 

This is a powerful microcontroller with 32Kbytes of flash memory, and 2Kbytes of SRAM as well as 

numerous other peripherals. See the ATMEGA328P data sheet for details. 

The crystal Y1 provides the clock for the microcontroller and C1 and C2 are required pad capacitors for 

the crystal to operate. The display board interface connectors are J4 and J5. J4 is the only one used in 

the model CLK100. This connector provides the standard serial peripheral interface (SPI) interface to 

the display board. The signal SS is asserted low when serial data is present on the MISO signal. The 

MISO signal is the serial data stream from the microcontroller to the MAX7219 on the display board. 

The signal SCK provides the clock timing for the interface. More details of the SPI interface can be 

found on the web. 

Connector J3 provides the interface to the real time clock (RTC) module. The clock time accuracy and 

the time keeping function are provided by the RTC module, which has a Maxim DS3231 real time 

clock. This device uses a 3 wire, I2C interface to communicate with the microcontroller. 

Connector J2 is the programming interface connector. This allows the firmware to be modified and the 

ability to reprogram the microcontroller. The CLK100 board looks just like a Arduino Uno and can use 

the popular Arduino IDE. 

The path for the input power for the clock is provided by connector J1. The input voltage should be 5V 

+/- 5%. Diode D1 is a schottky diode which provides protection of the internal circuits if the polarity of 

the applied voltage is incorrect. 

Resistor network RN1 provides the 10kohm pull up resistors for the switch inputs SW1 through SW4. 

SW1, SW2 and SW3 provide the clock setup capabilities and SW4 allows the user to reset the device. 

The piezo electric buzzer LS1 provides an audible alert for the alarm function.   

 

11.3.

 

Display Board Circuit Description 

The display board used in the model CLK100 utilizes the MAX7219 as the display driver and controller. 

This part provides a 4 wire interface to the main board to interface to the 6 digit display. The LED 

displays are multiplexed by the logic in the MAX7219. The microcontroller on the main board only 

needs to communicate with the display board when a change in the display is desired. 

The seven segment  common cathode LED display modules are from Sun  LED part number 

XDUR14C2. There are two digits per display module and each digit has separate interface pins. In our 

design,  we have the segment sections wired in parallel  and each digits common cathode is wired 

separately to the display controller.  Resistor R1 sets the current drive for the LED displays. 

 

Содержание CLK100

Страница 1: ...CLOCK MODEL CLK100 ASSEMBLY OPERATION MANUAL GEKCO Inc 1565 SW Cypress Ln McMinnville OR 97128 503 472 4770 P N 595 445 REV 1 1 Copyright 2021 GEKCO Inc All Rights Reserved Printed in the United State...

Страница 2: ...GEKCO DIGITAL CLOCK P N CLK100 ASSEMBLY OPERATION MANUAL 2 REV 1 1 GEKCO INC THIS PAGE INTENTIONALLY BLANK...

Страница 3: ...INITIAL TESTS 17 7 FINAL TESTS 18 8 IN CASE OF DIFFICULTY 18 9 FINAL ASSEMBLY 18 10 OPERATIONAL INSTRUCTIONS 21 10 1 SETTING THE TIME 21 10 2 SETTING THE UTC MODE ON OR OFF 21 10 3 SETTING THE UTC HOU...

Страница 4: ...IGURE 7 MAIN BOARD TOP VIEW 2 15 FIGURE 8 MAIN BOARD TOP VIEW 3 15 FIGURE 9 MAIN BOARD TOP VIEW 4 16 FIGURE 10 MAIN BOARD BOTTOM VIEW 16 FIGURE 11 RTC MODULE ASSEMBLY 17 FIGURE 12 DISPLAY BOARD HARDWA...

Страница 5: ...y information Also this design is fully open source for both the hardware and firmware There are full schematics and pictorial diagrams of the hardware also there are links and flowcharts of the firmw...

Страница 6: ...misplacing parts 3 1 Top Level Parts List Remove the parts from the main bag and separate each individual parts bags ITEM QTY PART NO DESCRIPTION 1 1 DBR100 KIT Clock Display Board PCA parts bag 2 1 C...

Страница 7: ...D Display Module 7 Segment 2 Digit 0 56 2 1 X1 434 3110 Socket IC Dip24 300 3 1 U1 442 3090 IC LED Display Driver MAX7219CNG 4 1 J1 131 1X10 Connector Header Single Row Male 10 pins 5 2 LED1 LED2 412...

Страница 8: ...rectifier 1N5817 T 6 3 SW1 SW2 S W3 64 1839 Switch Momentary SPST 7 1 SW4 64 1827 Switch Momentary 5mm H 8 1 J4 131 1X10S Conn Header Female Single Row 10 pins 9 1 J2 131 1X06RA Conn Header Right Ang...

Страница 9: ...dware Screw Panhead 4 40 x 1 4 3 2 250 1533 Hardware Screw Panhead 4 40 x 1 8 4 2 252 440 Hardware Nut 4 40 3 5 Enclosure Parts List Clock 100 Enclosure kit P N CLK100ENC KIT ITEM QTY PART NO DESCRIPT...

Страница 10: ...st important operations you will perform while assembling your kit A good solder connection will form an electrical connection between two parts such as a component lead and a circuit board foil A bad...

Страница 11: ...IGITAL CLOCK MODEL CLK100 GEKCO INC Rev 1 1 11 5 Step By Step Assembly 5 1 Display Circuit Board Figure 1 Display Board Top Side Completed Assembly Figure 2 Display Board Bottom Side Completed Assembl...

Страница 12: ...t Board with the bottom side facing up as shown U3 NOTCH Figure 3 Display Board Bottom Side Locate the 24 pin IC socket for U3 Place the socket on the board with the notch on the socket aligned with t...

Страница 13: ...he side of the capacitor The aluminum electrolytic capacitor has the marking for a negative lead which may look like an oblong bar sometimes with a circle around it inside an arrow Be sure to install...

Страница 14: ...rrectly there is a flat side on the LED housing or make sure the long lead anode is inserted in the square hole and the short lead cathode in the round hole LED1 LED Red PCB Mount LED2 LED Red PCB Mou...

Страница 15: ...22 radial lead ceramic capacitor C6 10 uF radial lead electrolytic aluminum capacitor Figure 8 Main Board Top View 3 Y1 Crystal HC49 16 MHz For the next step be careful to position the end with the d...

Страница 16: ...ector needs to be aligned with the silkscreen outline J1 Connector Power 2 1 mm LS1 Audio Piezo Speaker Solder the leads to the foil and cut off the excess lead lengths The next step is to install the...

Страница 17: ...nductor devices Be sure they do not get damaged by static electricity Once you remove the IC from the foam pad do not let go of it or lay it down until it is in its socket Install it as follows Read a...

Страница 18: ...ur during the assembly and testing of your Digital Clock Additional In Case of Difficulty information is also provided in your Operation Manual In an extreme case where you are unable to resolve a dif...

Страница 19: ...he enclosure front end as shown in figure 15 Figure 15 Front Panel Attach the front panel with the bezel to the enclosure base with two 4 40 pan head screws Figure 16 Front Panel to Base Assembly Slid...

Страница 20: ...BLY OPERATION MANUAL 20 REV 1 1 GEKCO INC Figure 18 Enclosure Back This completes the assembly Congratulations you have successfully completed the assembly of the unit and now you can enjoy using a cl...

Страница 21: ...ent the minutes and the decrement button to decrement the minutes Once you have set the correct minutes then press the SET button again to change to the seconds setting Press the increment button to i...

Страница 22: ...e AL OFF display option is shown Then press the increment button to toggle the alarm either On or Off Press the SET button to exit to the next menu option 10 6 Setting the Local Time to 12 or 24 hour...

Страница 23: ...DECREMENT MINUTES SET SET UTC HOURS INCREMENT DECREMENT HOURS SET UTC ON OFF TOGGLEUTC ON OFF MENU ROUTINE SELECT SECONDS SET START INCREMENT DECREMENT TENS OF SECONDS SET SET ANY TIME SETTINGS CHANG...

Страница 24: ...LOCAL BUZZER DISPLAY DRIVER MENU PLUS MINUS OPTIONAL DISPLAYBOARD MAIN BOARD Figure 20 Block Diagram The clock consists of two modules the main board and the display board The clock was designed this...

Страница 25: ...to communicate with the microcontroller Connector J2 is the programming interface connector This allows the firmware to be modified and the ability to reprogram the microcontroller The CLK100 board lo...

Страница 26: ...H PRESS YES NO MENU ROUTINE Figure 21 Software Flowchart 12 2 Firmware Design Description There are two basic modes of operation Clock Mode Menu Mode 12 2 1 Clock Mode This mode reads the real time cl...

Страница 27: ...DIGITAL CLOCK MODEL CLK100 GEKCO INC Rev 1 1 27 13 PCA Pictorial Diagrams 13 1 Main Board Figure 22 Main Board Top Figure 23 Main Board Bottom...

Страница 28: ...GEKCO DIGITAL CLOCK P N CLK100 ASSEMBLY OPERATION MANUAL 28 REV 1 1 GEKCO INC 13 2 Display Board Figure 24 Display Board Top Side...

Страница 29: ...DIGITAL CLOCK MODEL CLK100 GEKCO INC Rev 1 1 29 Figure 25 Display Board Bottom Side...

Страница 30: ...GEKCO DIGITAL CLOCK P N CLK100 ASSEMBLY OPERATION MANUAL 30 REV 1 1 GEKCO INC 14 Schematic Main Board...

Страница 31: ...DIGITAL CLOCK MODEL CLK100 GEKCO INC Rev 1 1 31 15 Schematic Display Board...

Страница 32: ...tch positions connections to other units operating procedures voltage readings and any other information you think might be helpful REPAIR SERVICE Service facilities are available if needed to repair...

Страница 33: ...DIGITAL CLOCK MODEL CLK100 GEKCO INC Rev 1 1 33 17 Document Revision History 1 0 18 Nov 18 Initial Release 1 1 21 Jan 5 Updated with Main Board Rev B...

Отзывы: