

Mil Time Clock
Military Time Alarm Clock
- Size
- 188.8 × 102.5 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 107
- Nets
- 100
- Pads
- 380
- Tracks, vias
- 871, 38
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 23 Dec 2022
- Updated
- 25 Mar 2024
Overview
Mil Time Clock is an open-source printed circuit board by sparkletron, from the sparkletron/mil_time_clock repository on GitHub, published under the MIT licence. It is a 2-layer board of 188.8 × 102.5 mm with 107 parts on 100 nets, routed with 871 tracks and 38 vias.
It is built around the AT89S51-24PU, LM386 and SM420561N, with the 74HC4051 and SN74HC4060N among its other parts. Its parts include 44 resistors, 26 capacitors, 9 diodes, 8 ICs and 5 transistors. It belongs with the lEDs and displays boards and the 8051 (CH55x, STC, AT89) boards of this library.
Main components
5AT89S51-24PU
DIP-40-40℃~+85℃ 128Byte 24MHz 32 4KB 4V~5.5V 51 Family 8 Bit Built-in FLASH DIP-40 Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)LM386
SOP-80.2% 0℃~+70℃ 4V~12V 4mA 50dB 700mWx1@8Ω Analog voltage gain SOP-8 Audio Amplifiers ROHSGcoreAudio Power OpAmpsSM420561N
插件-20℃~+80℃ 0.56 1 12.6mm 19mm 25mcd 2V 50mW 7 Segment 8mm Common Cathode Red 插件 LED Segment Displays ROHSARKLEDLED Segment Displays74HC4051
SOP-16-40℃~+85℃ 1 170MHz 28ns 29ns 3V~9V 5ns 5pF 80Ω 8:1 SOP-16 Analog Switches, Multiplexers ROHSWuxi I-core ElecAnalog Switches, MultiplexersSN74HC4060N
PDIP-16-40℃~+85℃ 1 2V~6V 33MHz Asynchronous Asynchronous Divide-by-2 Falling Edge Up Counter PDIP-16 Counters, Dividers ROHSTexas InstrumentsCounters, Dividers
README
README.mdMilitary Time Clock
Military Time Clock using the 89S51 microcontroller.
author: Jay Convertino
date: 2022.12.11
license: MIT (software/hardware)
IMPORTANT: No build instructions are included. All parts needed are here, you're on your own.
Release Versions
Current
- v1.0.2 = Fixed time base issues with a smaller range tuning cap.
Past
- v1.0.1 = Sound buzz fixed with feedback bypass resistor.
- v1.0.0 = Original Version
Requirements
Hardware
- KiCad (v7.X.X)
Software
- sdcc compiler (4.0.0 #11528)
Information
Directory Listing:
- docs
- Datasheets: Data documents for various ICs.
- Manual: User manual for the clock.
- schematic: KiCad schematic of Military Time Clock, including PCB design and bill of materials.
- model
- FreeCAD: Any FreeCAD models used in the project.
- Inventor: Any Autodesk Inventor 2023 models used in the project (STL included).
- src: Any source code for the project.
- clock_sdcc: contains make file and code for the clock project.
Usage
Please see the user manual on how to use the project. Build instructions really depend on how you want to build it. It uses all through hole parts and could be done with something as simple as an etch kit, PCB mill, or a PCB fab.
Tuning
Recommend using a platic tuning tool to adjust trimmer cap. Track the freqency at the 2.048kHz and lower pins till they all match there expected outputs (all powers of two, 1024, 512, 128 etc). Also let the device run for about 15 minutes and check. Frequency will rise by 1 to 2 hz and then stablize within the first 30 seconds, but it is wise to triple check after some time has passed.
Parts
107| Qty | Value | Footprint | References |
|---|---|---|---|
| 14 | 100nF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C3, C4, C5, C6, C7, C8, C9, C10, C17, C18, C19, C22, C23, C25 |
| 9 | LED | LED_THT:LED_D3.0mm | D1, D2, D3, D4, D5, D6, D7, D8, D9 |
| 7 | 100R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R37, R38, R39, R40, R41, R42, R43 |
| 7 | 470R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R10, R11, R12, R13, R14, R21, R44 |
| 6 | 10K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R17, R20, R29, R31, R33, R35 |
| 6 | 1K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R22, R23, R24, R25, R26, R27 |
| 6 | 1k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R8, R18, R30, R32, R34, R36 |
| 5 | 2N3904 | Package_TO_SOT_THT:TO-92_Wide | Q1, Q2, Q3, Q4, Q5 |
| 5 | 4k7 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3, R4, R5, R6, R7 |
| 4 | SM420561N | Display_7Segment:7SegmentLED_LTS6760_LTS6780 | U1, U2, U3, U4 |
| 3 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3 |
| 2 | 18pF | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C11, C12 |
| 2 | 1K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical | R1, R2 |
| 2 | 330uF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C15, C16 |
| 2 | Conn_01x27 | Connector_PinHeader_2.54mm:PinHeader_1x27_P2.54mm_Vertical | J1, J4 |
| 1 | 10M | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R15 |
| 1 | 10R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R28 |
| 1 | 10uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C24 |
| 1 | 12Mhz | Crystal:Crystal_HC49-U_Vertical | Y2 |
| 1 | 1K | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R16 |
| 1 | 1nF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C20 |
| 1 | 2-5pF | Capacitor_THT:C_Rect_L7.0mm_W6.5mm_P5.00mm | C2 |
| 1 | 200k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R9 |
| 1 | 32.768Khz | Crystal:Crystal_C38-LF_D3.0mm_L8.0mm_Horizontal | Y1 |
| 1 | 4.7uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C13 |
| 1 | 47nF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C14 |
| 1 | 47pF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C1 |
| 1 | 47uF | Capacitor_THT:CP_Radial_D5.0mm_P2.00mm | C21 |
| 1 | 74HC4051 | Package_DIP:DIP-16_W7.62mm_Socket_LongPads | U6 |
| 1 | 8R_OPT | Resistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P15.24mm_Horizontal | R19 |
| 1 | 8pF | Capacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mm | C26 |
| 1 | ALARM ON | B3F-1020:B3F1000 | S4 |
| 1 | AT89S51-24PU | AT89S51-33PU:DIP1556W56P254L5232H483Q40N | U7 |
| 1 | Barrel_Jack_Switch | Connector_BarrelJack:BarrelJack_Horizontal | J3 |
| 1 | HOUR | B3F-1020:B3F1000 | S2 |
| 1 | LM386 | Package_DIP:DIP-8_W7.62mm_LongPads | U5 |
| 1 | MINUTE | B3F-1020:B3F1000 | S3 |
| 1 | SET TIME | B3F-1020:B3F1000 | S1 |
| 1 | SET_ALARM | B3F-1020:B3F1000 | S5 |
| 1 | SN74HC4060N | Package_DIP:DIP-16_W7.62mm_LongPads | U9 |
| 1 | Speaker_Conn_01x02 | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J2 |
| 1 | TestPoint | Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical | TP1 |
More from sparkletron/mil_time_clock
2- 2 layers79.2 × 101.1 mm

- 2 layers95 × 41.9 mm

Similar boards
- 2 layers50.6 × 68.2 mm

- 2 layers370.8 × 298.5 mm

8 Bit Computer
The-Invent0r/8-bit-Computer-PCB
These are the KiCAD files for my 8-Bit Computer.
323 parts142 - 2 layers98 × 135 mm

- 2 layers258.1 × 122.9 mm

FrontPanel
89Mods/LVDC
Replica of the Launch Vehicle Digital Computer using 74-series logic
124 parts2MIT - 2 layers92 × 68.8 mm

- 2 layers106 × 71.3 mm

Desktop Hardware Monitor
aapaetsch/HardwareMonitorArduino
Code, pcb files and schematics for building a hardware monitor based around the atmega328p
44 parts - 2 layers126 × 92.5 mm

- 2 layers128 × 95 mm

Questions
How big is the Mil Time Clock PCB?
It measures 188.8 × 102.5 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Mil Time Clock use?
107 parts, built around the AT89S51-24PU, LM386, SM420561N and 74HC4051. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Mil Time Clock KiCad files?
From the sparkletron/mil_time_clock repository on GitHub, at the commit this page was made from: the board is schematic/Mil_Time_Clock.kicad_pcb and its schematic schematic/LED_DISPLAY_BOARD.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Mil Time Clock design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).