Skip to the content
2 layers18.4 × 36.3 mmLongTimekeeper Bottom, the printed circuit board in 3D

LongTimekeeper Bottom

Guimli/LongTimeKeeper

Drop-in replacement for the ST M48T58 TIMEKEEPER NVRAM (DIP-28) with a user-replaceable 1/2AA Tadiran SL-850 cell

Size
18.4 × 36.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
5
Nets
31
Pads
66
Tracks, vias
90, 16
Pours
47
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
6 Oct 2026
Updated
6 Oct 2026

Overview

LongTimekeeper Bottom is an open-source printed circuit board by Guimli, from the Guimli/LongTimeKeeper repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 18.4 × 36.3 mm with 5 parts on 31 nets, routed with 90 tracks and 16 vias.

Its parts include 2 ICs and 1 crystal.

README

README.md

LongTimeKeeper

LongTimeKeeper 3D view

LongTimeKeeper is a drop-in replacement for the STMicroelectronics M48T58 / M48T58Y TIMEKEEPER® NVRAM (8 K × 8 battery-backed SRAM with real-time clock) in its 28-pin 600 mil PCDIP "CAPHAT" package.

The original PCDIP part has its lithium cell sealed in the package. When the cell runs flat, the chip loses both the clock and the SRAM contents, and the whole IC has to be replaced. LongTimeKeeper uses the surface-mount M48T58Y in SOH28 instead. That package normally takes an ST SNAPHAT® battery/crystal top. Here the SNAPHAT is replaced by:

  • a discrete 32.768 kHz crystal, and
  • a user-replaceable 1/2 AA 3.6 V lithium cell in a Keystone holder. The cell is a Tadiran SL-850/S from the SL-800 XOL (eXtended Operating Life) series, rated 1.2 Ah. This series has a very low self-discharge rate.

The cell has a much larger capacity than the original internal cell, and you can swap it without desoldering anything or losing the board's socketed footprint.

How it works

The adapter is a stack of two PCBs:

BoardKiCad projectRole
BottomLongTimeKeeper_Bottom/LongTimekeeper_Bottom.kicad_proDIP-28 (15.24 mm) pin-out that plugs into the original M48T58 socket. It carries the M48T58Y-SOH28 (U7), the 32.768 kHz crystal (Y1) on the SNAPHAT X1/X2 contacts, and a 4-pad battery connector (BT1) wired to the SNAPHAT BAT+/BAT- contacts.
Up (battery)LongTimeKeeper_Up/TimekeeperBat_Up.kicad_proCarries the Keystone 108 1/2 AA holder with its 108C cover (BT1). It connects to the bottom board through 4 × 2.54 mm pins (J1, Battery_PCB footprint), which also hold the two boards together mechanically.

Signal mapping: every DIP-28 pin of the original package (A0–A12, DQ0–DQ7, Ē1, E2, Ḡ, W̄, FT, VCC, VSS) is routed 1:1 to the matching pin of the SOH28 device, so the host system sees an unmodified M48T58. Both boards are 2-layer, 1.6 mm FR-4, and fit within the original DIP-28 footprint (about 18.4 × 36.3 mm).

The projects were created with KiCad 10.

Bill of materials

Prices are indicative, VAT included (TTC, 20 % French VAT), for 1 unit, checked in October 2026 at DigiKey France, except where noted. Distributor prices change often, so check them before ordering.

QtyRef.DescriptionManufacturerManufacturer P/NUnit price TTCTotal TTC
1U7TIMEKEEPER® NVRAM 64 Kbit (8K×8) + RTC, 5 V, SOH28 (SNAPHAT socket)STMicroelectronicsM48T58Y-70MH1F24.97 €24.97 €
1Y1Crystal 32.768 kHz, ±20 ppm, 12.5 pF, SMD 3.2 × 1.5 mm (3215)EpsonFC-135 32.7680KA-A3 (Q13FC1350000400)2.81 €2.81 €
1BT1 (Up)Battery holder, 1 × 1/2 AA, through-holeKeystone Electronics1081.52 €1.52 €
1BT1 (Up)Battery holder cover, 1/2 AAKeystone Electronics108C≈ 0.58 € ¹0.58 €
1—Lithium cell Li-SOCl₂ 3.6 V 1.2 Ah, 1/2 AA (ER14250), standard terminals (no tabs), SL-800 XOL – extended operating life (very low self-discharge)TadiranSL-850/S14.56 € ⁴14.56 €
2U2Male pin header 1 × 14, 2.54 mm, vertical (DIP-28 legs)Würth Elektronik61301411121 (WR-PHD)≈ 1.10 € ²2.20 €
4J1 / BT1Single 2.54 mm pins for the board-to-board link (cut from a 1 × 40 strip)Würth Elektronik61304011121 (WR-PHD 1 × 40)≈ 2.20 € ² (strip)2.20 €
Subtotal components≈ 48.86 €
1—PCB "Bottom", 2 layers, 1.6 mm, 18.4 × 36.3 mm (Gerber/LongTimekeeper_Bottom_Gerber.zip)JLCPCB—≈ 1.30 € ³1.30 €
1—PCB "Up", 2 layers, 1.6 mm, 18.4 × 36.3 mm (Gerber/TimekeeperBat_Up_Gerber.zip)JLCPCB—≈ 1.30 € ³1.30 €
Total per module≈ 51.46 €

¹ TME price (0.48 € excl. VAT, sold in packs of 10). ² Estimated. ³ Per board, from a batch of 5 at JLCPCB, with shipping and VAT included. See PCB cost estimate. ⁴ 1001Piles price (France, VAT included). Order the /S variant (standard terminals, no solder tabs) to fit the Keystone 108 holder. The /T variant has solder tabs and does not fit.

PCB cost estimate

Both boards are small (about 18.4 × 36.3 mm, 6.7 cm² each), 2-layer, 1.6 mm FR-4, and use standard rules. They qualify for the cheapest prototype offers. Prices are indicative and VAT included (20 %). The two designs are ordered as two separate jobs.

FabOrderFabricationShipping + VAT (est.)Total TTCPer module (Bottom + Up)
JLCPCB (China)5 × Bottom + 5 × Up, HASL, green2 × ~2 USD ≈ 3.70 €≈ 9 € (economy shipping)≈ 13 €≈ 2.60 €
AISLER (Germany)3 × Bottom + 3 × Up, 2-layer "Budget"2 × (12 € job fee + 3 × 6.7 cm² × 0.067 €/cm²) ≈ 26.70 € excl. VATincluded≈ 32 €≈ 10.70 €

JLCPCB is the cheapest option, but the low price is mostly lost if you order only one module, because shipping is a fixed cost. AISLER is about four times more expensive per module, but it ships faster within the EU and charges no import fees. Use a quote calculator for an exact price: some options increase it, such as ENIG finish (flatter pads, which make the SOH28 easier to solder), a non-green soldermask or express shipping.

Notes on component choice

  • Crystal: the schematic only specifies "32.768 kHz" on a 3215 footprint. The M48T58 datasheet does not give a load capacitance for the SNAPHAT crystal. Check the clock accuracy after assembly, and if needed try a lower-load (6–7 pF) 3215 crystal.
  • Battery: use the Tadiran SL-850/S long-life cell (SL-800 series), not a standard-series cell such as the TL-5902. Its very low self-discharge rate suits a back-up that only draws a few µA for many years. The footprint and 3D model use the 1/2 AA (ER14250) size. Use a 3.6 V primary lithium cell. Do not use a rechargeable 3.7 V Li-ion 14250 cell, because its voltage is too high for the VBAT input.
  • DIP legs: standard square header pins match the 3D model. Turned (machined) pins are gentler on the original socket.

Battery life estimate

The cell supplies the M48T58Y only while the host is switched off (VCC below the switchover voltage VSO). When the host is on, the chip runs from VCC and draws no current from the cell.

Inputs

ParameterValueSource
SL-850 nominal capacity1.2 Ah (1 200 mAh)Tadiran SL-850 datasheet
SL-800 (XOL) self-discharge at room temperature≈ 0.7 % per year (typical) → ≈ 8.4 mAh/year; ≤ 1 % per year (max.) → ≤ 12 mAh/yearTadiran XOL series page / Tadiran catalogue
XOL rated operating lifeup to 40 yearsTadiran XOL series page
M48T58 battery current IBAT = IARRAY + ICLOCK (64 Kbit, 4T cell), typical40 + 497 = 537 nA at 20 °C; 511 + 619 = 1 130 nA at 70 °CST AN1012, Table 3

The calculation follows the AN1012 formula, with the cell's self-discharge added to the battery current:

life (years) = capacity ÷ (8 760 h × (1 − VCC duty cycle) × IBAT + yearly self-discharge)

With a VCC duty cycle of 0 % (host always off), the M48T58Y draws 537 nA × 8 760 h ≈ 4.7 mAh/year at 20 °C and 1 130 nA × 8 760 h ≈ 9.9 mAh/year at 70 °C.

Estimate (host always off, 100 % battery backup)

TemperatureIBATTypical self-discharge (0.7 %/year)Worst-case self-discharge (1 %/year)
20 °C537 nA4.7 + 8.4 = 13.1 mAh/year → ≈ 92 years4.7 + 12 = 16.7 mAh/year → ≈ 72 years
70 °C ¹1 130 nA9.9 + 8.4 = 18.3 mAh/year → ≈ 66 years9.9 + 12 = 21.9 mAh/year → ≈ 55 years

¹ The self-discharge figures are specified at room temperature. At 70 °C the cell's real self-discharge is higher, so this row overestimates the life.

Conclusion. Even with the host always off, the calculated life is far beyond the cell's rated life. The practical limit is therefore the cell's rated life, not its capacity: Tadiran rates the XOL series for up to 40 years of operation. Expect about 40 years at room temperature. For comparison, AN1012 (Table 13) gives the original M48T58 with its internal 48 mAh cell about 9.4 years (typical) at 20 °C and 4.8 years at 70 °C when the host is always off.

Factors that shorten this life:

  • Temperature. Both the M48T58Y current and the cell's self-discharge rise with temperature, for example inside a closed, warm cabinet.
  • Leakage. Flux residue or humidity on the board can create leakage paths. Clean the boards after soldering.

Monitoring. At each power-up, the M48T58Y sets its battery low flag (BL, bit D6 of register 1FFDh) when the cell is below about 2.5 V. Li-SOCl₂ cells keep a flat voltage of about 3.6 V almost until they are empty, so treat this flag as the signal to replace the SL-850.

Assembly hints

  1. Solder Y1 and U7 (SOH28) on the bottom board. Do not wave-solder the SOH28 package (see the ST datasheet).
  2. Fit the two 1 × 14 headers on the bottom board, with the long pins pointing down, to form the DIP-28 legs.
  3. Solder the Keystone 108 holder on the Up board, then the 4 link pins. Stack the Up board on the bottom board and solder the pins.
  4. Insert the SL-850/S cell with the polarity marked on the holder, then snap on the 108C cover.
  5. Plug the module into the original M48T58 socket, with pin 1 at the notched end.

Datasheets

License

Copyright © 2026 Guimli.

This hardware design is licensed under the CERN Open Hardware Licence Version 2 – Strongly Reciprocal (CERN-OHL-S-2.0).

You may redistribute and modify this source and make products using it under the terms of the CERN-OHL-S v2. This source is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE. See the CERN-OHL-S v2 for applicable conditions.

Third-party documents in Datasheet/ and 3D models from manufacturers remain the property of their respective owners and are not covered by this licence.

Parts

5
QtyValueFootprintReferences
13.6VAdditional:Battery_PCBBT1
132.768 kHzCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmY1
1G***kibuzzard-6AB09B05kibuzzard-6AB09B05
1M48T58Additional:DIP-28_W15.24mm_SocketU2
1M48T58Y-SOH28Additional:SOH-28_8.56x18.1mm_P1.27mmU7

More from Guimli/LongTimeKeeper

1
  • 2 layers18.4 × 36.3 mmTimekeeperBat Up, the printed circuit board in 3D

    TimekeeperBat Up

    Guimli/LongTimeKeeper

    Drop-in replacement for the ST M48T58 TIMEKEEPER NVRAM (DIP-28) with a user-replaceable 1/2AA Tadiran SL-850 cell

    2 partsCERN-OHL-S-2.0

Similar boards

  • 2 layers98 × 27 mmXy limit, the printed circuit board in 3D

    Xy limit

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    5 parts3.7k
  • 2 layers21 × 33 mm24g2usb pico2w, the printed circuit board in 3D

    24g2usb pico2w

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    5 parts1.7kApache-2.0
  • 2 layers53.2 × 59.6 mmA10 OLinuXino Lime Rev B SHIELD TEMPLATE, the printed circuit board in 3D

    A10 OLinuXino Lime Rev B SHIELD TEMPLATE

    OLIMEX/OLINUXINO

    OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

    5 parts1.5k
  • 2 layers30 × 11 mmMain control board servo tester, the printed circuit board in 3D

    Main control board servo tester

    jamro/tiny-engineer

    A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

    5 parts1.1k
  • 2 layers78.8 × 35.3 mmKiCadTest, the printed circuit board in 3D

    KiCadTest

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    5 parts915
  • 2 layers50 × 23 mmMiniCircuits LTCC, the printed circuit board in 3D

    MiniCircuits LTCC

    VanceVagell/kv4p-ht

    Open source handheld ham radio project KV4P-HT

    5 parts828GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 light sensor, the printed circuit board in 3D

    L0 light sensor

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    5 parts546MIT

Questions

How big is the LongTimekeeper Bottom PCB?

It measures 18.4 × 36.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LongTimekeeper Bottom use?

5 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 LongTimekeeper Bottom KiCad files?

From the Guimli/LongTimeKeeper repository on GitHub, at the commit this page was made from: the board is LongTimeKeeper_Bottom/LongTimekeeper_Bottom.kicad_pcb and its schematic LongTimeKeeper_Bottom/LongTimekeeper_Bottom.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LongTimekeeper Bottom design in my own project?

Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).