Skip to main content.

Quick links: PIC-based Model-102 printer emulator

Bill Kotaska's Busicom 141-PF Replica Schematics

New - Version 2 (Updated 11/18/2008) — Click on each thumbnail to view full-size image.

Busicom 141-PF Replica schematics 1 of 5 Busicom 141-PF Replica schematics 2 of 5
Busicom 141-PF Replica schematics 3 of 5 Busicom 141-PF Replica schematics 4 of 5
Busicom 141-PF Replica schematics 5 of 5

Tim McNerney's Shinshu Seiki Model-102 printer emulator for PIC18F2320

This hardware emulator converts the printer interface signals that come from the calculator hardware into ASCII characters output over the PIC's serial port (configured by default to drive an external RS-232 level shifter). This interface can be used to drive a serial LCD display, PC running a terminal emulator, etc. The emulator also provides the calculator firmware running on the 4004 with the all-important "heartbeat" sync pulses. Without the proper timing pulses, the calculator won't work at all!

I built the exerciser to test the emulator. This was necessary because my own hardware replica wasn't quite working yet (and then Bill "scooped me" :-). The exerciser runs on a separate PIC connectected to the emulator PIC. It generates all the signals that the calculator would send to the printer, and responds to the index pulses. I extracted the test data by running calculator examples on an instrumented 4004/Busicom simulator written in Java.

I used the CCS C compiler to deploy the emulator on the PIC. In test mode, the code probably still compiles with gcc and runs under POSIX with little or no modifications.

Legal Notices