Post Reply 
HP-25 DIY with Z80
04-28-2020, 05:37 PM
Post: #1
HP-25 DIY with Z80
After my HP-25 keyboard got too flaky to put up with, I decided to build a replacement! While I was at it, I decided to super-size it as a desktop machine so I could read it easily with my boomer eyes, and use Cherry MX mechanical keyswitches which should hopefully out-last me.

The hardware is typical of the era but unrelated to HP calculators: Z80 CPU, 32K EEPROM, 32K static RAM, ICM7218 display drivers and simple matrix keyboard.

I started out with great enthusiasm to write my own microcode emulator in Z80 assembly language, but in the end I ported the "famous" nonpareil simulator core by Eric Smith to the Z80 using the z88dk development environment with SDCC compiler. It is a bit slow, but running the CPU at 16MHz is close to original speed.

Some day when I'm really bored I might revive the assembly version just for fun.

The finished product also needs a box.

CPU board schematic

LED/Display board schematic

Photo below: Calculator running, with Cherry MX key switches and "re-legendable" keycaps. Printed the labels on a color laser printer, and after a bit of tweaking I'm pleased with the appearance.

[Image: calc.jpg]

The guts are a stack of two PC boards, all thru-hole, made for almost nothing by JLC-PCB in China. The keyboard/display PCB has two ICM7218 display driver chips on the back driving nice bright 10mm common anode 7-segment displays. Had to use the "unencoded" mode so it correctly displays things like "Error".

The 6-pin connector on the CPU board accommodates a USB/serial adapter (FTDI) for a bit-banged serial port. (Note to self -- never build another Z80 system without a UART, big-banging serial on a Z80 is no fun!).

[Image: boards.jpg]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-25 DIY with Z80 - eshazen - 04-28-2020 05:37 PM
RE: HP-25 DIY with Z80 - teenix - 04-29-2020, 12:10 AM
RE: HP-25 DIY with Z80 - Steve Simpkin - 04-29-2020, 12:34 AM
RE: HP-25 DIY with Z80 - Dwight Sturrock - 04-29-2020, 01:44 AM
RE: HP-25 DIY with Z80 - Graan - 04-29-2020, 05:43 AM
RE: HP-25 DIY with Z80 - Nad - 04-29-2020, 05:44 AM
RE: HP-25 DIY with Z80 - Paul Dale - 04-29-2020, 10:36 AM
RE: HP-25 DIY with Z80 - Moggul - 04-29-2020, 10:53 AM
RE: HP-25 DIY with Z80 - rprosperi - 04-29-2020, 12:30 PM
RE: HP-25 DIY with Z80 - twoweims - 04-29-2020, 03:38 PM
RE: HP-25 DIY with Z80 - Geoff Quickfall - 04-29-2020, 06:51 PM
RE: HP-25 DIY with Z80 - Nad - 05-01-2020, 03:04 AM
RE: HP-25 DIY with Z80 - Jake Schwartz - 04-30-2020, 02:36 PM
RE: HP-25 DIY with Z80 - jjohnson873 - 04-30-2020, 04:31 PM
RE: HP-25 DIY with Z80 - Craig Bladow - 04-30-2020, 06:01 PM
RE: HP-25 DIY with Z80 - andylithia - 05-02-2020, 08:41 AM
RE: HP-25 DIY with Z80 - GreyUser - 06-04-2020, 05:01 AM
RE: HP-25 DIY with Z80 - Harald - 06-04-2020, 11:35 AM
RE: HP-25 DIY with Z80 - sa-penguin - 06-04-2020, 11:50 AM
RE: HP-25 DIY with Z80 - eshazen - 09-02-2020, 03:10 PM
RE: HP-25 DIY with Z80 - eshazen - 09-02-2020, 03:20 PM
RE: HP-25 DIY with Z80 - BobVA - 09-02-2020, 08:10 PM
RE: HP-25 DIY with Z80 - mpark - 10-11-2020, 07:49 AM
RE: HP-25 DIY with Z80 - Eric Rechlin - 10-11-2020, 05:39 PM



User(s) browsing this thread: 1 Guest(s)