Skip to the content
2 layers200 × 65 mmVfd display, the printed circuit board in 3D

Retro-tech HP-25 calculator clone using Z80

Size
200 × 65 mm
Copper layers
2
Thickness
1.6 mm
Parts
48
Nets
133
Pads
391
Tracks, vias
849, 176
Pours
4
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
9 May 2020
Updated
19 Feb 2025

Overview

Vfd display is an open-source printed circuit board by eshazen, from the eshazen/retro-25 repository on GitHub. It is a 2-layer board of 200 × 65 mm with 48 parts on 133 nets, routed with 849 tracks and 176 vias.

It is built around the 74LS125DC, HV5812P-G and 74LS174DC. Its parts include 20 ICs, 12 capacitors, 7 resistors, 3 connectors and 2 diodes. It belongs with the lEDs and displays and retro computing and games boards of this library.

Main components

3

README

README.md

retro-25

Retro-tech HP-25 calculator clones using Z80

<img src=https://github.com/eshazen/retro-25/blob/master/talks/HCC2020/figs/all3_800.jpg width=600>

News!

2023-01-02

This is branch "ScopeClock". Building up another CPU board for used as a general purpose computer for the scope clock, along with the DAC/Interface board from that project, which (whew!) has an actual UART for the serial port.

2021-01-01

Time for something new! The VFD HP-25 is cool and all, but I've lusted after an HP-97 most of my life, plus I love nixie tubes! Starting to think about a nixie-display HP-97 emulator. Probably no card reader, but a small printer is certainly doable. Inspiration from Oliver De Smet (archived elswhere in this repository just in case):

2020-10-10

I gave a talk at the HPCC 2020 conference on these calculators. You can see my slides here: http://www.hpcc.org/conferences/HPCC2020/HPCC2020_04_Retro_25_revC.pdf

Built a new version with VFD display tubes!

See notes.

What's here

hardware has the design files for the CPU and keyboard/display boards

  • firmware/bootloader has a small serial/flash bootloader which should be programmed at $0000
  • firmware/calc has the main calculator operating firmware
  • firmware/umon has a simple Z80 monitor I wrote for debugging
  • firmware/basic has a hacked version of MS BASIC (4K integer version from 1978)
  • util has some utility software, including: firmware loader, program loader, stack/register clip utility, simple assembler for HP-25 programs, and some template and example programs

Hardware

The hardware consists of two boards, a CPU board and an LED+display board.

CPU board ECOs (mistakes!)

  • D2 in the reset circuit - silkscreen is backwards
  • U1 pin 11 must be wired to J17 pin 11
  • BUSRQ should be tied high or pulled up. Solder a 1k resistor (or just a wire) from the Z80 (U3) pin 25 to +5V

Also, recommend to cut the trace to nWE on the EEPROM (U4, pin 27) and wire from pin 27 to pin 28. This disables writing to the EEPROM. Not essential, but I recommend programming the EEPROM separately in a programmer. Rogue code can easily wear out the EEPROM (as I found the hard way!) if writing is enabled. You have been warned.

Memory and I/O map

The memory map is very simple:

text
EEPROM | 0000-7FFF
RAM    | 8000-FFFF

There are six decoded I/O ports:

portnamebitsdescription
00KB (write only)bit 0KB column 1
""bit 1KB column 2
""bit 2KB column 3
""bit 3KB column 4
""bit 4KB column 5 and switches
""bit 5-not used-
""bit 6LED on CPU board
""bit 7Serial output
40Digits 0-7bits 0-7ICM7218 display data
41Digits 0-7bits 0-7ICM7218 control data
80KB (read only)bit 0KB row 1
""bit 1KB row 2
""bit 2KB row 3
""bit 3KB row 4
""bit 4KB row 5
""bit 5KB row 6
""bit 6KB row 7
""bit 7Serial input
c0Digits 8-11bits 0-7ICM7218 display data
c1Digits 8-11bits 0-7ICM7218 control data

All ports except 80 are write-only; port 80 is read-only.

A bit-banged serial port using an FTDI USB adapter is provided as bit 7 of ports 00 and 80. Note that these ports share keyboard scanning functions, so the code must be carefully written if both functions are used simultaneously.

There are no interrupts.

Firmware

See firmware/calc for calculator operating program

See util for assembler and loader utilities

Parts

48
QtyValueFootprintReferences
12IV-6iv-6:iv-6v2U1, U2, U5, U6, U7, U8, U9, U10, U13, U14, U15, U18
7.01uFCapacitor_THT:C_Disc_D3.8mm_W2.6mm_P2.50mmC1, C2, C5, C7, C9, C11, C12
5HV5812Package_DIP:DIP-28_W15.24mm_LongPadsU3, U4, U11, U12, U17
310kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3, R5, R6
210uFCapacitor_THT:C_Disc_D3.8mm_W2.6mm_P2.50mmC4, C10
21uF 50VCapacitor_THT:C_Disc_D3.8mm_W2.6mm_P2.50mmC3, C6
2470Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4, R7
2LEDLED_THT:LED_D3.0mmD1, D2
1100Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
110nF 50VCapacitor_THT:C_Disc_D3.8mm_W2.6mm_P2.50mmC8
174LS125Package_DIP:DIP-14_W7.62mm_LongPadsU19
174LS174Package_DIP:DIP-16_W7.62mm_LongPadsU20
1Conn_01x06_MaleConnector_Molex:Molex_KK-396_A-41791-0006_1x06_P3.96mm_VerticalJ2
1Conn_02x08_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_VerticalJ3
1LM1084-ADJPackage_TO_SOT_THT:TO-220-3_VerticalU16
1OMITResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2
1conn_2x3Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ1

The 44 most common of 48 parts.

More from eshazen/retro-25

3
  • 2 layers116.8 × 172.7 mmLed display, the printed circuit board in 3D

    Led display

    eshazen/retro-25

    Retro-tech HP-25 calculator clone using Z80

    80 parts33
  • 2 layers116.8 × 147.3 mmCpu, the printed circuit board in 3D

    Cpu

    eshazen/retro-25

    Retro-tech HP-25 calculator clone using Z80

    52 parts33
  • 2 layers127 × 50.8 mmPsu, the printed circuit board in 3D

    Psu

    eshazen/retro-25

    Retro-tech HP-25 calculator clone using Z80

    29 parts33

Similar boards

  • 2 layers143.5 × 64.8 mmNixie proj, the printed circuit board in 3D

    Nixie proj

    erickpires/NixieClock

    A Nixie Clock using an Atmel Atmega 328p

    93 parts2MIT
  • 4 layers192 × 71.8 mmVfd clock, the printed circuit board in 3D

    Vfd clock

    MG-5/vfd-clock-hardware

    Hardware for controlling six VFD IV-17 tubes as clock (HH:MM:SS)

    130 parts1MIT
  • 2 layers65 × 71.5 mmAlarm clock v3, the printed circuit board in 3D

    Alarm clock v3

    MG-5/alarm-clock_hardware

    155 partsGPL-3.0
  • 4 layers337.6 × 105.7 mmISA CGA, the printed circuit board in 3D

    ISA CGA

    hkzlab/CGA_Redux

    The Color Graphics Adapter Redux board is a more or less faithful clone of the original IBM CGA, based on the original schematics

    170 parts56
  • 2 layers170.2 × 100 mmZ80-SBC, the printed circuit board in 3D

    Z80-SBC

    skiselev/zeta_sbc

    Zeta SBC is an Zilog Z80 based single board computer. It is inspired by Ampro Little Board Z80 and N8VEM project. Zeta SBC is software compatible with RomWBW Firmware

    75 parts53GPL-3.0
  • 2 layers478 × 183 mmHC2000, the printed circuit board in 3D

    HC2000

    badrianiulian/HC2000

    HC2000 Project

    259 parts9
  • 2 layers58.4 × 84.8 mmC64NIKI2, the printed circuit board in 3D

    C64NIKI2

    ibaldachini/C64NIKI2

    This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].

    27 parts2
  • 2 layers301.5 × 367.3 mmOSI 600D Superboard II Cherry Solder Mask, the printed circuit board in 3D

    OSI 600D Superboard II Cherry Solder Mask

    Bambelweeny57/OSI-600D-SuperBoard-II

    KiCad 10 recreation of the Ohio Scientific Superboard II Model 600 rev D (1980) with Cherry MX keyswitches, 27C16/2816 ROMs, full schematic and assembly guide.

    314 parts

Questions

How big is the Vfd display PCB?

It measures 200 × 65 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Vfd display use?

48 parts, built around the 74LS125DC, HV5812P-G and 74LS174DC. 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 Vfd display KiCad files?

From the eshazen/retro-25 repository on GitHub, at the commit this page was made from: the board is hardware/vfd-display/vfd-display.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Vfd display design in my own project?

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