The PFDBK Disk Unit Emulator

Front 3D-printed case for the Arduino Mega 2560 with shield. USB-B connector, power plug and SD-card are cut out of the front panel. This is an implementation of William R Cooke's floppy emulator for the Arduino line of microcontrollers. William created this in 2019, but only now I build my own version. For now it uses an Arduino Mega 2560 and some standard interface boards (proto-sheld, SD-card and RS-232c).
The code is functional identical to the original from William, but some extensions are planned like changing disk images via the debug/programming interface. This might take some time, so I made the page first.
Back 3D-printed case with the sub-DE9 female connector for connection with the PX-4/8 SERIAL port. The wiring of this connector requires a #725-F9 cable (the original #725 has a 25 pin conenctor).
The rubber bands are to keep the lid shut. The planned self clamping didn't work out as expected. The colour scheme is somewhat accidental, as the filament ran out twice during printing all the versions of the parts.
Inside Inside the case. The shield, SD-card interface and the RS-232c adapter are visible. The contents is an Arduino Mega 2560, an experiment shield and two breakout boards for the SD-card and serial port.
Front 3D-printed case for the Arduino ProMicro. SD-card and blinking lights are cut out of the front panel. This is a cheaper implementation based on the Arduino Pro Micro.
The code is functional identical to the original from William, but some extensions are still planned. At least there are lights indication disk (SD-card) access and SERIAL port activity.
Back 3D-printed case for the Arduino ProMicro. PX-* interfase, power/host interface and reset-switch are cut out of the back panel. The back side contains the connections to PX-4/PX-8 and the optional host interface, doubling as power input. There is also a reset button. The host interface allows changing the configuration; which disk image is mounted on which drive and a disk-level write protect. These are the functionality to be controlled from the PX-4/PX-8, but that functionality still has to be build.
Inside Inside the case; SD-card interface, Arduino Pro Micro and RS232C level shifter/subDE-9 connector Lots of space inside, but a smaller case, can become a problem with stiff cables.
The board is also prepared for a more discrete RS232C interface with separate MAX232, capacitors and sub DE-9 plug.

Changes to the PFBDK firmware

The Arduino sketch is modified to run on both the Arduino Pro Micro and Arduino Mega 2560. Some new commands were added to the EPSP functions to support some management of the images on the SD-card.

The files in the root directory of the SD-card can be listed, mounted on the drives, and set to write protected. New, empty images can be generated.

Some PX-4 specific programs are created to manipulate the SD-card:

More information on the Github page with my fork of the Arduino sketch

Local links:

External links:


Last update: 2023-12-20

fjkraan@electrickery.nl