saturnus docs
Open the app

Cables

To move files between a computer and a real calculator you need a serial cable and, on a computer of today, a USB serial adapter. The HP 48 series has one kind of connector, the 49G and the 38G another. The 42S, 27S, 17B, 17BII, 19BII and 28S have no serial port at all.

Which models have a port

ModelConnectorCable
HP 48S, 48SX4 pins, top edgeHP 82208A (PC), 82209A (Macintosh)
HP 48G, 48G+, 48GX4 pins, top edgethe same cables
HP 49G10 pinsthe cable of HP's Connectivity Kit; a 49G-to-49G cable in the box
HP 38G10 pins, as the 49Gthe cable of HP's Connectivity Kit
HP 39G, 40Gthe 49G's hardwarea PC adapter and a cable from calculator to calculator in the 40G's box
HP 42S, 27S, 17B, 17BII, 19BII, 28Snoneonly infrared to HP's 82240 printer, one way

Infrared from the 48 or the 39G to a computer is possible, but slow (2400 baud) and short-ranged, and saturnus does not use it.

The HP 48's port

The 48 has four pins in a small recess on its top edge, spaced 2 mm apart. Looking at the calculator, from the outer edge inwards:

PinSignal
1shield
2TX, data out of the calculator
3RX, data into the calculator
4signal ground

The recess is not symmetrical: the pins are nearer the top of the calculator, which keeps a home-made plug from going in upside down.

HP sold two cables for it: the HP 82208A with a PC's 9-pin connector (and an adapter to 25 pins), and the HP 82209A for the Macintosh. HP's link kits came in two versions, at about $20 and $50; the dearer one added software and a manual, the cable was the same.

At the PC end the wiring is a null-modem: the calculator's TX goes to the PC's RX and back.

CalculatorPC, 9-pin (DE-9)PC, 25-pin (DB-25)
shieldshell1
TX (out)2, RX3, RX
RX (in)3, TX2, TX
signal ground57

The calculator uses no other lines: no RTS, CTS, DTR or carrier detect. Programs on the computer must be told not to wait for them.

Building a 48 cable

The HP 48 FAQ explains how to build one. You need a female 9-pin (or 25-pin) connector with its shell, some wire, and a plug with four sockets 2 mm apart: not the usual 0.1 inch (2.54 mm) spacing, which damages the calculator's pins.

The FAQ's tip for the plug is an old CD-ROM audio cable from a PC: one of its two ends has the 2 mm spacing and fits the 48. Cut off the other end and solder three wires to the PC connector as in the table above; the empty socket is the ground. Its harder way is four sockets taken from an IC socket strip, glued together at 2 mm.

The 49G, 38G, 39G and 40G

The 49G's port has ten contacts and a different shape. In the box came a cable with a 10-pin plug at each end, for connecting two 49Gs, and a small cap that turns its 10-pin plug into the 48's 4-pin one, for connecting a 49G to a 48.

HP's Graphing Calculator PC Connectivity Kit of 1999 had one cable for the 48 series, the 49G and the 38G: a 9-pin plug for the PC at one end and, at the other, the plug of the 49G and 38G, with an adapter for the 48 series. The kit's guide warns not to use that adapter with the 49G or the 38G. The 38G's 10-pin connector also carries the signals for HP's overhead projector display.

The 39G and 40G are built on the 49G's hardware. The 40G, which has no infrared, came with a PC adapter and a cable from calculator to calculator. This page could not confirm from HP's documents that the 39G's and 40G's connector is the 49G's, so check the plug before you buy a cable for one.

Early 49Gs, with a serial number below 94xxxxxx, have a weak transmitter that some PC ports cannot read. Two community circuits fix it: one patches the calculator, the other is a small buffer in the cable, powered from the PC's RTS and DTR lines. The program on the computer then has to raise RTS and DTR; HPComm, the program of HP's Connectivity Kit, did.

USB serial adapters

A computer of today has no serial port, so the cable's 9-pin end goes into a USB serial adapter. Any adapter with a 9-pin male RS-232 plug works; the operating system shows it as a serial device:

SystemDevice name
macOS/dev/cu.usbserial-…
Linux/dev/ttyUSB0
WindowsCOM3 or another COM port

Two things to watch:

satx finds the adapter by itself when it is the only USB serial port, and Files in the app asks Chrome or Edge for it.

Sources