Converting an HP 20B into a WP 34S
The most powerful RPN Calculator you can build
If you're into scientific calculators and miss, like me, the golden age of RPN machines, you're going to love this project. I'm talking about transforming a basic HP 20B business calculator into a WP 34S, arguably the most powerful RPN scientific pocket calculator ever created.

I decided to write this post because while the conversion procedure is documented across various sources online, it's not always easy to find a straightforward, complete guide, especially when it comes to dealing with the infamous Pogo Pin cable issue. Back when HP sold these calculators, in fact, you could buy an official programming cable with a 6-pin Pogo Pin connector and erase/reset buttons. Today? Good luck finding one of those. They're practically extinct, which is a real problem because that cable is essential for flashing the new firmware.
In an age where everyone reaches for their phone or a computer when they need to calculate something, there's something deeply satisfying about having a dedicated, purpose-built tool that does one thing exceptionally well. The WP 34S embodies the best of HP's calculator legacy while pushing beyond what even HP achieved in their golden era.
This is a love letter to the calculators that got us through engineering school, that sat on engineers' desks for decades, that were passed down from mentor to student. But it's also something new: a community-driven project that proves open-source hardware and firmware hacking can create tools that rival or exceed commercial products.
What is the WP 34S Project?
The WP 34S is an open-source firmware project that breathes new life into HP's 20B and 30B business calculators. Started in 2011 by Walter Bonin, Paul Dale, and Marcus von Cube (hence "WP"), this project replaces the original business-oriented firmware with a full-featured scientific calculator that rivals (and in many ways surpasses) legendary models like the HP-42S.
The WP 34S has been stable since 2011 and runs on version 3.3 since 2014, with comprehensive documentation that's even available as a printed manual. The firmware is completely open source and actively supported by a passionate community of calculator enthusiasts on the HP Museum forums.
What makes it special? Think of it as combining an HP-42S with an HP-16C, then adding features that never existed in any calculator before. It's keystroke programmable, incredibly fast, and packed with mathematical functions that would make any engineer or scientist drool! :)
The procedure to turn the cheap HP 20b into a powerful WP34s involves:
- Acquiring an HP 20B Business Consultant calculator,
- Optionally modding it with two 18pF SMD capacitors and a crystal oscillator,
- Connecting the calculator to a computer's serial port via that elusive cable,
- Transferring the new firmware.
As you can see, there are already some challenges here for the modern hacker: first, the cable availability; second, the use of a serial port (when's the last time you saw one of those on a laptop?).
Thanks to some fantastic help from my friends Paolo and Guido—with whom I spent a very pleasant afternoon troubleshooting this—I managed to work around these issues using:
- Breadboard jumper wires (the kind you'd normally use with Arduino projects)
- An FTDI FT232 USB-to-serial adapter (we had one lying around from old ham radio projects)
This combination replaces the original Pogo Pin cable entirely and works beautifully. Here's what you'll need for this conversion.
Essential Hardware
- HP 20B or HP 30B calculator (the 30B has a better display and keyboard but costs more)
- FTDI FT232 USB-to-serial adapter (CRITICAL: Must operate at 3.3V, not 5V - the standard 5V serial voltage will permanently damage the calculator)
- Breadboard jumper wires (male-to-female and male-to-male)
- Small Phillips screwdriver
- Plastic prying tools (old credit card or phone repair spudgers work great)
- Pin or pointed tool for pressing the reset button
Optional but Recommended Components
- 2 × 18pF SMD capacitors
- 32.768 kHz crystal oscillator (the kind used in watches)
- Soldering iron and solder (if installing the crystal mod)
- Keyboard overlay (highly recommended - available from the really kind Jeff Roetman)
Software
- WP 34S firmware files (available in multiple variants)
- MySamba modified flashing software for Windows by Marcus von Cube
- Windows computer (Windows 10/11 work fine, to run with admin privileges)
The oscillator affair
Before we dive into the procedure, let's talk about the optional crystal mod. This isn't strictly necessary, but here's why you might want to do it. The crystal oscillator enables the stopwatch function in the firmware, making it significantly more accurate and reliable. If you're going through all this trouble anyway, why not go all the way and unlock every feature? The mod involves soldering two tiny 18pF SMD capacitors and a 32.768 kHz crystal oscillator to specific points on the calculator's PCB. It's delicate work, but if you're comfortable with basic SMD soldering, it's totally doable.
Firmware Variants
The WP 34S firmware comes in several flavors:
- Full version - All standard features enabled
- Full version with crystal support - Includes stopwatch functionality (requires the hardware mod)
- IrDA variant - For those who want to add an infrared LED for calculator-to-calculator communication
- WP 31S - A simpler variant with a reduced function set
My advice is to choose the version that matches your hardware modifications and needs.
Step-by-Step Conversion Process
Phase 1: Disassembly
Opening the HP 20B requires removing five screws (see Gallery below), but there's a catch:
- Remove the two button cell batteries
- Carefully peel back the lower rubber anti-slip strip on the back (it's attached with double-sided tape)
- You'll find two hidden screws under this strip, remove them
- Remove the three visible screws
- Use a plastic prying tool to carefully separate the case halves
- Work your way around the edges gently
- The plastic clips aren't super fragile, but take your time
- Don't force it
Once open, you'll have access to the mainboard with the Pogo Pin contact pads clearly visible.
Phase 2: Crystal Oscillator Installation (Optional)
If you're doing the crystal mod:
- Identify the three soldering points on the PCB (refer to the included images in the photo gallery)
- Solder the two 18pF capacitors in their designated positions
- Solder the 32.768 kHz crystal oscillator
- Double-check all connections for cold joints or bridges
My advice? If you're doing this mod, complete it before reassembling the calculator. It's much easier to work with when everything is accessible.
Phase 3: Understanding the Pogo Pin Connections
This is where most people get stuck, so pay attention. The Pogo Pin pads on the calculator's PCB are arranged in a specific way, and you need to understand which pad does what. Thanks to Dewster's excellent hand-drawn documentation (seriously, bookmark that page - it's invaluable), we know exactly which contacts to use:
- RX (Receive, J35) - This needs to connect to TX on your FTDI adapter
- TX (Transmit, J33) - This connects to RX on your FTDI adapter
- 3.3V (power, J31) - This feed the serail connection
- Ground (GND, J34)- Connect to GND on your FTDI adapter
- Reset button (J32) - There's a small hole just above the Pogo Pins
- Erase pins (J36) - Two specific contacts that need to be shorted during the boot sequence
Phase 4: Wiring the Connection
Here's how to set up your breadboard wire connections:
- Reassemble the calculator completely - Yes, you read that right. It's easier to work with when it's together.
- Prepare your jumper wires:
- One wire for RX
- One wire for TX
- One wire for 3.3V+
- One wire for GND
- One wire for creating the erase short circuit
- One wire or pin for pressing reset
- Connect to the FTDI adapter:
- Calculator RX → FTDI TX
- Calculator TX → FTDI RX
- Calculator 3.3V+ → FTDI VCC
- Calculator GND → FTDI GND
CRITICAL SAFETY CHECK: Verify that your FTDI adapter is set to 3.3V mode! The standard RS-232 serial protocol uses 5V, which will fry the calculator's circuitry instantly. Most FTDI boards have a jumper to switch between 3.3V and 5V—make absolutely sure it's on 3.3V.
Phase 5: The Flashing Sequence
And now, this is the tricky part. The calculator needs to be put into a special bootloader mode that opens the serial port for programming. Here's the exact sequence (and yes, order matters!):
- Turn on the calculator - Press the ON button
- Short the erase pin - Use a jumper wire to connect the two erase contacts (ERASE + 3.3V)
- Keep the short in place - Don't remove the wire yet
- Press the reset button - Use a pin or another jumper wire to press the tiny reset button in the hole above the Pogo Pins
- Turn on the calculator again - Press ON while maintaining the short
- Remove the short circuit wire
- Press reset again
- Turn on the calculator one more time - Press ON
At this point, the calculator should be in bootloader mode, ready to receive the firmware.
Phase 6: Flashing the Firmware
Now launch the MySamba software on your Windows computer:
- Run as Administrator - This is essential. Right-click the executable and select "Run as administrator." If you don't do this, the software won't detect the COM ports.
- Select your COM port - The FTDI adapter will create a virtual COM port. Select it from the dropdown menu.
- Choose your firmware file - Browse to the .bin file you downloaded earlier.
- Start the transfer - Click the send/upload button.
- Wait for the progress bar - The entire transfer takes about 20 seconds. You'll see a progress bar in MySamba's modest interface.
- Press reset after completion - Once the transfer finishes, press the reset button one more time.
- Power on your new calculator - Press ON and marvel at your handwork!
Troubleshooting Notes
If the flashing doesn't work on the first try, don't panic. This procedure often requires a few attempts to get the timing right. The key is getting the calculator into bootloader mode—that erase/reset/ON dance can be finicky.
Important: Keep both button cell batteries installed during the entire process. The calculator needs stable power throughout the firmware transfer.
MySamba compatibility: The MySamba software was written quite a while ago and was designed for older Windows versions. On Windows 10 and 11, we found it works perfectly fine as long as you run it with administrator privileges. If you're having issues detecting COM ports, that's almost always the problem.
Phase 7: The Finishing Touch - Keyboard Overlay
Once you've successfully flashed the firmware, you'll notice something immediately: the key labels on the calculator no longer match their functions. At all. The WP 34S has vastly more functions than the original HP 20B, so the keyboard layout is completely different.
This is where a keyboard overlay becomes essential. I can't thank Jeff (Spiff72) enough for quickly and courteously sending me some die-cut adhesive overlays that he produces. These overlays are professionally made and transform the calculator from a confusing mess of mislabeled keys into a proper, readable scientific calculator. They're well worth the investment. Trust me, trying to memorize which business-calculator button now triggers which scientific function is an exercise in frustration.
The Result: Your New WP 34S
Fire up your newly converted calculator and you'll have in your hands:
- 400+ built-in functions including complex numbers, matrices, statistics, probability distributions, numerical integration, and solving
- Keystroke programming with alpha labels and full program editing
- RPN or algebraic entry modes (though let's be honest, if you're doing this conversion, you're here for RPN)
- 8-level stack with named registers
- Stopwatch function (if you did the crystal mod)
- Base conversions and logical operations for programmers
- Double precision floating point for maximum accuracy
All of this in a calculator that costs you maybe $30-50 plus the cost of an FTDI adapter! According to users and the project maintainers, it's the most powerful and fastest RPN scientific pocket calculator ever built. And they're not exaggerating.

An interesting update
I recently came across an HP20b that appeared to be completely dead: no response when powered on, no signs of life whatsoever. Reading through various forums, I discovered this can happen when the firmware gets erased or corrupted. Upon inspecting the calculator, I immediately noticed that all the pogo pin pads were heavily damaged from previous soldering attempts. Completely unusable for serial connection. As hardware enthusiasts well know, repeatedly soldering on these motherboards is never a good idea: traces lift easily and pads deteriorate quickly!
I decided to bypass the pogo contacts entirely using a method that, as far as I could verify, is not documented online or in any of the dedicated forums. A completely original approach.
Procedure
- I soldered the 3.3V+ power supply directly to the positive battery terminal (don't rely on the wires' colors in the picture!)
- The ground was connected to the negative battery terminal
- Using a microscope, I carefully traced the RX and TX tracks on the motherboard
- I soldered two thin wires directly to the identified points, just before the SMD capacitors, as shown in the figure below
At this point, I connected the wires directly to the USB-to-Serial FTDI adapter (the one mentioned previously) following the usual wiring scheme.
I then executed the standard WP34S firmware flashing procedure as previously described, and... success! The calculator came back to life and now works perfectly as a WP34S.
This direct bypass solution represents a valid alternative when pogo pads are compromised. It requires some patience and a steady hand (plus a good microscope), but it's definitely doable and allows you to recover calculators that would otherwise be destined for the trash.
If anyone finds themselves in the same situation, I hope this method can help!
Nessun commento
Info
Hai mai cercato un posto dove architettura, cultura geek e hardware vintage si incontrano davvero? Dal 2004 questo spazio è il laboratorio digitale di Simone Garagnani: qui si sperimentano idee, si collezionano storie nerd, si parla da tempo immemore di soluzioni BIM, rilievi digitali, computer graphics e retrocomputing. Ma non è nato tutto da solo: alle origini, fra i banchi universitari, c’erano anche Pasquale Squillace e Giuseppe Pernigotti. Da quei giorni, il blog è diventato una calamita per chi vuole sporcarsi le mani tra tecnologie d’epoca, cultura underground, digitalizzazione avanzata e creatività architettonica. Se ami la contaminazione tra passato, innovazione e un pizzico di ironia nerd, sei nel posto giusto.
Since 2004, this blog has been Simone Garagnani's digital playground - where geek culture, science, architecture, engineering ITs and vintage hardware come together. Here you can find hands-on experiments with retrocomputing, stories about underground nerd culture, and in-depth explorations of BIM, high-resolution digital surveying, and computer graphics for architecture, engineering, and construction. The blog was originally launched during my university years together with Pasquale Squillace and Giuseppe Pernigotti. Over time, it has grown into a hub for anyone interested in crossing wires between technology, creative design, and the hidden treasures of digital heritage. If you're passionate about mixing past innovations with new digital adventures, and enjoy a good dose of nerd irony, welcome, you'll feel right at home!
Segui le attività in TC Project: Registrazione
Follow TC Project activities: Registration/login
Simone's World
TC Project home
Simone Garagnani's UniUrb's homepage
Imaging for Humanities Lab
Simone Garagnani's BIM Foundation
Associazione City Space Architecture
The Journal of Public Space
City Space Architecture Community
Public Space Academy
Architecture & Friends
Luisa BravoBravoDesign
kill-9
Ultimi commenti
SiliconSimon (VIC-20 The friend…): Thanks for the feedback Trevor, even though my reply comes so late! :)Petr (Faro Scenect and …): Hello. I have a Kinect XBOX360. I installed Scenect (scenect_5.2.100.32597_wma nual_x64_setup) on my c…
Ray Randolph (Cray-1 - The home…): One of two machines on my bucket list to make on my laser cutter. The second is an Enigma machine. C…
Trevor Dwyer (VIC-20 The friend…): Hi there, I feel your pain on updates and the internet not being the same these days – well since 199…
SiliconSimon (Cray-1 - The home…): If someone is interested in my little Cray’s files, please PM me since I do not often read comments o…
Robert (Cray-1 - The home…): If it’s possible, I would love to get the files from you for this project. I have a Cray-1 chip sitti…






