SDrive-MAX (Arduino)

Year
2017
Type
DIY project
Category
SD-card floppy/tape emulator (SIO, Arduino)
Manufacturer
Open-source project by Klaus Brandl (kbr)
Atari emulator window showing the SDrive control program help screen, 'SDrive (NoAutoload+Help) v07 by kbr', listing the key commands for setting files to drives, browsing directories and swapping drives.

Overview

SDrive-MAX is what most people mean today when they say they "built an SDrive". Klaus Brandl (kbr) took his SDrive-NG firmware, itself a heavily extended version of the Czech C.P.U. SDrive, and ported it to the most common hobby electronics there is: an Arduino UNO with a plug-on 2.8" TFT touchscreen shield. The shield's micro-SD slot holds your disk images and the touchscreen replaces the original's LEDs and DIP switches. Apart from the SIO cable there is almost nothing to solder.

The project dates from 2017. Its GitHub repository (github.com/kbr-net/sdrive-max) holds the firmware and a README with wiring and power notes, and release V1.5 is dated 13 July 2025, so it is still being maintained. SDrive-MAX can mount ATX copy-protected images as well as plain ATRs.

Bill of materials

Part Notes
Arduino UNO with ATmega328P the classic DIP or SMD UNO
2.8" TFT touch shield Elegoo or compatible, ILI9341 controller in 8-bit parallel mode; ILI9325/9329/9340 and HX8347G/I panels are also supported, and touch lines are auto-detected
micro-SD card SD or SDHC
1N4148 diode, or better a Schottky diode in the Data In line to the Atari (see below)
SIO plug and cable from a cut SIO cable or a new connector
Power supply optional; see the power notes
Software avrdude to flash the firmware, plus Arduino USB drivers if your OS needs them

How it works

The UNO's hardware UART talks SIO at standard and high speeds, and the firmware answers disk commands from image files on the card. As on every SIO device that shares the bus, the diode on the Atari's Data In line (SIO pin 3) means the Arduino can only pull that line low and never fights another peripheral driving it. It emulates cassette as well as floppy.

Building it

  1. Flash the firmware with avrdude in two steps. First run eeprom-writer.hex to put the right values in the EEPROM, wait for it to finish, then program SDrive.hex into flash.
  2. Plug the shield onto the UNO. It uses pins 2–9 for TFT data, A0–A4 for TFT control and 10–13 for the SD card.
  3. Wire the SIO cable:
Arduino Atari SIO pin
TXD (D1) 3, Data In, through the diode, cathode towards the Arduino
GND 4, Ground
RXD (D0) 5, Data Out
A5 7, Command
+5 V (optional) 10, +5V/Ready
  1. Format the micro-SD card, copy ATR/XEX/ATX files, insert it, and power up. On the first start, touch the calibration crosses. Hold a finger on the screen during start-up to recalibrate, which you also need to do after changing the display rotation.

The touchscreen lets you change disk images while the Atari is running, which the author considers one of its most important features. The SDrive control program can still be used on the Atari side if you prefer, as shown in the picture above.

Power: the most common problem

Builders often find SIO-powered start-up inconsistent, with screen glitches until the first touch, or a display that lights while the card reader fails. The root cause, as the project README itself warns: the 800XL's SIO +5 V output is specified for about 50 mA, but SDrive-MAX draws around 150 mA. Long or thin cables make the voltage drop worse.

Practical fixes:

  • Power the SDrive-MAX from its own 5 V supply, or from the UNO's USB socket, and switch it on together with the Atari, for example from one switched power strip.
  • If you use external power, disconnect SIO pin 10 so the two supplies are never joined.
  • Keep the SIO lead short.

Sharing the bus

SDrive-MAX coexists with real drives as long as their IDs differ. Some USB SIO2PC adapters misbehave on a chain that includes an SDrive-MAX. Most FTDI-based ones are fine, and the usual cure for the rest is a diode on the right signal line.

Why build one

For about the cost of an Arduino kit you get a touchscreen drive emulator that boots ATRs, executables and many protected ATX images, needs no PC, and is open source. It makes a natural first project before tackling cartridge-port devices.

Credits