

ClockInACan
Drop-in replacements for metal can and half can style crystal oscillators
- Size
- 20.3 × 12.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 13
- Nets
- 10
- Pads
- 30
- Tracks, vias
- 55, 20
- Pours
- 3
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 3 Jul 2020
- Updated
- 3 Jul 2020
Overview
ClockInACan is an open-source printed circuit board by schlae, from the schlae/ClockInACan repository on GitHub. It is a 2-layer board of 20.3 × 12.7 mm with 13 parts on 10 nets, routed with 55 tracks and 20 vias.
Its parts include 4 resistors, 4 connectors, 3 capacitors, 1 IC and 1 crystal.
README
README.mdClock In A Can
Customizable can and half-can style crystal oscillators
Have you noticed that it is getting harder and harder to find through-hole oscillators in the metal can or half-can packages? The selection has been shrinking as manufacturers discontinue entire legacy product lines.
Fortunately, there is a solution! The ClockInACan is a small circuit board that is the same size as the oscillator and duplicates the same function exactly. Just provide your own crystal of the desired frequency or a multiple of the desired frequency, and set the three solder jumpers to select the divide ratio.


Features include
- Wide +2V to +5.5V power supply range
- Logic-level enable pin with internal pullup
- CMOS-compatible output
- Selectable divide ratio of 1, 1/2, 1/4, 1/8, 1/16, and 1/32
- Crystal footprint fits through hole and many surface mount crystals
- Pins are breadboard compatible, and also fit in DIP sockets
- Pins have labels underneath the PCB for your convenience
Fab files can be found here:
The basic bill of materials is below.
| Q | Designator | Description | Mouser Part Number |
|---|---|---|---|
| 1 | U1 | Oscillator IC | 513-NJU6311RB2-TE1 |
| 1 | C1 | 0.1uF capacitor | 603-CC603KRX7R9BB104 |
| 0 | C2, C3 | Optional load caps | |
| 0 | R1, R2, R3 | Divider jumpers | |
| 1 | R4 | 0 ohm solder jumper | |
| 1 | Y1 | Crystal | |
| 4 | J1, J7, J8, J14 | PCB pins | 575-0542000150000 |
Board dimensions below. Order the board in whatever cool colors you like!
- ClockInACan: 0.8 x 0.5 inches
- ClockInAHalfCan: 0.5 x 0.5 inches
Assembly Notes
I've found it easiest to install the pins before soldering any components on the board. Make a jig out of a block of wood, like this:

Then put the ClockInACan board on top, drop the four pins in place, and place the whole thing into a small press or a bench vise, like this:

Apply enough pressure to push the pins into place, but no more.
Solder in C1 first, then U1 and R4. Set the R1, R2, and R3 jumpers to your desired oscillator divider setting as follows:
| R1 | R2 | R3 | Setting |
|---|---|---|---|
| Open | Open | Open | 1 |
| Short | Open | Open | /2 |
| Open | Short | Open | /4 |
| Short | Short | Open | /8 |
| Open | Open | Short | /16 |
| Short | Open | Short | /32 |
For your convenience, this table is reproduced on the bottom of the ClockInACan PCB (although the ClockInAHalfCan does not have it due to space constraints).
Install Y1, taking care not to short any component leads on the metal case of the crystal. You may want to add Kapton tape to insulate the board from the crystal. Large HC49 crystals can be folded over to save vertical space.
Advanced Topics
The NJU6311 includes built-in load caps so C2 and C3 are not necessary unless you have a particularly picky crystal. Similarly, R4 can be 0 ohms, but with some crystals you may need to increase the resistance to reduce the drive current. For further information see the NJU6311 datasheet.
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See https://creativecommons.org/licenses/by-sa/4.0/.
Parts
13| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | TBD | Conn:JMP1608 | R1, R2, R3 |
| 2 | TBD | Passive:CAPC1608X100 | C2, C3 |
| 1 | 0.1uF | Passive:CAPC1608X100 | C1 |
| 1 | EN | Conn:MILL-MAX_0542-0-00-15-00-00-03-0 | J1 |
| 1 | GND | Conn:MILL-MAX_0542-0-00-15-00-00-03-0 | J7 |
| 1 | NJU6311 | Active:SSOP50P400X100-10 | U1 |
| 1 | OUT | Conn:MILL-MAX_0542-0-00-15-00-00-03-0 | J8 |
| 1 | TBD | Passive:RESC1608X55 | R4 |
| 1 | VDD | Conn:MILL-MAX_0542-0-00-15-00-00-03-0 | J14 |
| 1 | XTAL | Passive:XTAL500X320_HYBRID | Y1 |
Questions
How big is the ClockInACan PCB?
It measures 20.3 × 12.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the ClockInACan use?
13 parts. 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 ClockInACan KiCad files?
From the schlae/ClockInACan repository on GitHub, at the commit this page was made from: the board is ClockInACan.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the ClockInACan design in my own project?
Its repository states no licence, so its author keeps all rights: ask schlae before reusing the design.
Similar boards
- 2 layers40 × 20 mm

- 2 layers74.9 × 49.5 mm

- 2 layers35 × 29 mm

MagSpoofTC
samyk/magspoof
A portable device that can spoof/emulate any magnetic stripe, credit card or hotel card "wirelessly", even on standard magstripe (non-NFC/RFID) readers.
13 parts4.2k - 2 layers20.6 × 23.6 mm

AO-03 signal amplifier
fossasia/pslab-scripts
Pocket Science Lab - Scripts for Sensor Experiments
13 parts1.6kApache-2.0 - 2 layers47 × 35.6 mm

- 2 layers95 × 95 mm

Cube batteryboard
willem-pennings/balancing-cube
A cube that balances itself in a corner or edge using reaction wheels
13 parts1.1kGPL-3.0 - 2 layers15.2 × 20.3 mm

Pt100stick
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
13 parts1.1kGPL-3.0 - 2 layers53.9 × 23.2 mm

Buffer
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
13 parts1kGPL-3.0