Skip to the content
PCBKitNew board
2 layers86 × 54 mmRamCard48 512KB, the printed circuit board in 3D

RamCard48 512KB

pdo/rc48-5122

A 512KB RAM Card for the HP48GX Calculator ==========================================

Size
86 × 54 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
54
Pads
162
Tracks, vias
443, 77
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
14 Mar 2025
Updated
15 Mar 2025

Overview

RamCard48 512KB is an open-source printed circuit board by pdo, from the pdo/rc48-512 repository on GitHub. It is a 2-layer board of 86 × 54 mm with 34 parts on 54 nets, routed with 443 tracks and 77 vias.

It is built around the CY62148ELL-45ZSXI, BAT54C and BC847, with the CR20160J among its other parts. Its parts include 22 resistors, 4 capacitors, 3 switches, 1 IC and 1 diode.

Main components

4

README

README.md

Creative Commons BY-SA 4.0 License

A 512KB RAM Card for the HP48GX Calculator

This repository contains the KiCAD design files for an HP48GX calculator RAM card. The card contains a single 512KB SRAM chip and can be used in either slot 1 or slot 2 of the calculator.

When the card is used in slot 2 it makes available 4 x 128KB banks of storage that appear in the calculator as ports 2, 3, 4 and 5.

When used in slot 1, only one of the 128KB banks is available, which will appear in the calculator as port 1. Two switches, mounted on the end of the board and accessible when the calculator card cover is removed, allow control over which bank is used.

Prototypes

The card is currently at revision 0 (initial design). It has been prototyped and found to be fully functional, but has a few issues that could be addressed, if anyone wishes to do so, before further boards are fabricated (see below).

A PDF of the schematic is available in doc/schematic.pdf.

Some photographs of my prototypes are also available:-

I manufactured the prototypes at pcbway.com, selecting a yellow solder-resist, black silkscreen, immersion gold finish and gold fingers with a bevelled edge. The gold finish is necessary to avoid corrosion on the battery pad and the connector fingers.

However, I also made a mistake: I ordered a 1.2 mm board thickness because I had read somewhere that this was used by the original HP48 RAM cards. Unfortunately 1.2 mm IS TOO THIN -- the cards do not seat properly in the connector. I had to pad the back of the cards with several layers of sellotape (transparent sticky tape) to get a firm fitting. I believe that a standard 1.6 mm board would be the correct thickness to use (with a bevelled edge for easy insertion).

Hand soldering the components onto the board is not too difficult (with a fine-tipped soldering iron and a magnifier) -- I selected relatively large footprint devices specifically to make assembly easier. The parts list is included below.

The current consumed by the CR2016 backup battery when the board is outside of the calculator is less than 3 microamps, giving an expected shelf-life for RAM contents of over 3 years for a 90mAh capacity battery. I have yet to measure the current when the card is inside the calculator and the calculator off (need to solder some wires to do this), but hopefully it will not be much different.

Operation

For use in slot 2, set the SW2 and SW3 switches (marked A18 and A17 on the silkscreen) to their central positions (marked A for Automatic), and set the SW1 switch (marked PROT on the silkscreen) to W (for Writeable). After inserting the card into the calculator, issue the PINIT command and you should see ports 2 through 5 become available in the ports list.

For use in slot 1, set the A17/18 switches to fixed 0 or 1 positions. You may keep four different port 1 configurations in this way. Just be sure to switch off the calculator before moving the switches.

I have tested the functionality of the boards with the CHKMEM utility available from http://www.hpcalc.org/details/7394, and also with a few weeks of general usage. Initially, I had some strange issues with one of the boards that I eventually tracked down to some dodgy soldering. Other than that, I have not found any major problems so far.

Note that I have not (yet) tested the card in an HP48SX calculator, but I am hopeful that some combination of switch positions will allow it to work in this calculator too.

When it comes time to change the backup battery you will notice that the board must be removed from the calculator, and so there will be no battery power available to power the SRAM chip during the battery change process. This is the reason for capacitors C1 & C4, they should be able to supply enough current to support the SRAM during this procedure. Do not take too long though. My own testing assumes 10 seconds is long enough to change a battery -- have the replacement battery to hand and, of course, make a backup first!

Revision 0 Issues

I have identified the following issues with revision 0 of the design:-

  1. The switches could be a little closer to the edge of the board, allowing them to be more easily operated when in-situ in the calculator.
  2. The C2 and C3 silkscreen legends are swapped.
  3. The C4 silkscreen legend is lacking a '+' sign.
  4. Removal of a card from a calculator can be awkward. Consider the addition of a small hole to allow hooking the card out with a paper clip.

Parts List

PartDescriptionDigikey Part Number
R1RES SMD 1M OHM 5% 1/8W 0805311-1.0MARCT-ND
R2, R3, R7, R8, R9, R12RES SMD 47K OHM 5% 1/8W 0805311-47KARCT-ND
R5, R6RES SMD 10K OHM 5% 1/8W 0805311-10KARCT-ND
R4RES SMD 4K7 OHM 5% 1/8W 0805311-4.7KARCT-ND
R15 - R22RES SMD 330 OHM 5% 1/8W 0805311-330ARCT-ND
C1, C4CAP TANT 33UF 6.3V 10% 1206478-8527-1-ND
C2, C3CAP CER 0.22UF 10V X7R 0805445-8190-1-ND
D1DIODE ARRAY SCHOTTKY SOT23-3BAT54CFSCT-ND
Q1TRANS NPN 45V 0.1A SOT23BC847C-TPCT-ND
U1IC SRAM 4MBIT 45NS 32TSOPCY62148GN-45ZSXI-ND
SW1SWITCH SLIDE SPDT 300MA 6V401-2016-1-ND
SW2, SW3SWITCH SLIDE SP3T 300MA 6V401-2017-1-ND
BT1CR2016 3V 90mAh COIN CELLN/A
Battery HolderRETAINER 20MM COIN CELL SMD36-3026-ND

Licence

The materials in this repository are released under a Creative Commons Attribution-ShareAlike 4.0 International License. This means you can do what you like with this material as long as you acknowledge my contribution and distribute any changes you make under the same licence. See cc-by-sa for details.

Paul Onions paul.onions@acm.org

22 June 2017

Parts

34
QtyValueFootprintReferences
1047kResistors_SMD:R_0805_HandSolderingR2, R3, R7, R8, R9, R10, R11, R12, R13, R14
8330Resistors_SMD:R_0805_HandSolderingR15, R16, R17, R18, R19, R20, R21, R22
210kResistors_SMD:R_0805_HandSolderingR5, R6
2220nFCapacitors_SMD:C_0805_HandSolderingC2, C3
233uFSMD_Packages:SMD-1206_PolC1, C4
2SW_SP3THP48:PCM13SMTRSW2, SW3
11MResistors_SMD:R_0805_HandSolderingR1
14k7Resistors_SMD:R_0805_HandSolderingR4
1BAT54CTO_SOT_Packages_SMD:SOT-23_HandsolderingD1
1BC847TO_SOT_Packages_SMD:SOT-23_HandsolderingQ1
1CR2016HP48:KS3026BT1
1CY62148ELL-45ZSXIHP48:TSOP-II-32_21.0x10.2mm_Pitch1.27mmU1
1HP48GX_Slot1HP48:HP48_SlotP1
1SPDTHP48:PCM12SMTRSW1

Questions

How big is the RamCard48 512KB PCB?

It measures 86 × 54 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RamCard48 512KB use?

34 parts, built around the CY62148ELL-45ZSXI, BAT54C, BC847 and CR20160J. 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 RamCard48 512KB KiCad files?

From the pdo/rc48-512 repository on GitHub, at the commit this page was made from: the board is RamCard/RamCard48_512KB.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the RamCard48 512KB design in my own project?

Its repository states no licence, so its author keeps all rights: ask pdo before reusing the design.

Similar boards

  • 2 layers14.2 × 38.1 mmM48t08-battery fix, the printed circuit board in 3D

    M48t08-battery fix

    mdehling/m48txx-battery-fix

    M48TXX Battery Fix

    4 parts4
  • 2 layers106 × 39.3 mmCorne mini 2 l, the printed circuit board in 3D

    Corne mini 2 l

    palette-system/hy0020_my

    26 parts4
  • 2 layers85.5 × 54 mmTinyAVR Business Card, the printed circuit board in 3D

    TinyAVR Business Card

    e-tinkers/tinyAVR-Business-Card

    This is the PCB design files for Hackaday 2024 Business Card Challenge contest

    29 parts2
  • 4 layers68.6 × 56 mmCartridge, the printed circuit board in 3D

    Cartridge

    coco-chameleon/chameleon-hardware

    TRS-80 Color Computer cartridge emulator

    95 partsCERN-OHL-W-2.0
  • 2 layers85.5 × 54 mmSTTS, the printed circuit board in 3D

    STTS

    EthanKerman/STTS

    A behbeh credit card sized synth for your wallet. The keys are a full octave ad you can go up and down 2 more. The noise from a piezo disc which is why theres a hole in the board.

    43 parts
  • 2 layers50 × 50 mmCoaster, the printed circuit board in 3D

    Coaster

    owahltinez/coaster

    Very simple battery-operated device. When you push a button, the light turns on for a few seconds and then it turns off.

    21 parts
  • 2 layers87.5 × 100 mmBusinesscard panel, the printed circuit board in 3D

    Businesscard panel

    RaniSargees/pcb-businesscard

    a thin circuit board businesscard with a charlieplexed LED matrix display

    284 partsBSD-3-Clause
  • 2 layers101.6 × 147.3 mmKarabas pro revER, the printed circuit board in 3D

    Karabas pro revER

    andykarpov/karabas-pro

    FPGA based retrocomputer with FDD and HDD controllers

    223 parts37MIT