Skip to the content
2 layers40.6 × 48.3 mmMD2MSX, the printed circuit board in 3D

MD2MSX is a joystick adapter to connect a Mega Drive / Genesis controller to an MSX computer.

Size
40.6 × 48.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
9
Nets
33
Pads
60
Tracks, vias
80, 0
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
23 Dec 2023
Updated
4 Aug 2024

Overview

MD2MSX is an open-source printed circuit board by DigitalSpacemen, from the DigitalSpacemen/MD2MSX repository on GitHub. It is a 2-layer board of 40.6 × 48.3 mm with 9 parts on 33 nets, routed with 80 tracks and 0 vias.

It is built around the BAT85. Its parts include 2 diodes and 2 connectors. It belongs with the retro computing and games and keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

About MD2MSX

MD2MSX is a joystick adapter to connect a Mega Drive / Genesis controller to an MSX computer. Software that works with the JoyMega adapter should also work with the MD2MSX.

This is a hardware project by retro computing enthusiasts. We are not experts. USE AT YOUR OWN RISK! Please make sure to read the Usage Notes first.

Photo of MD2MSX externals

Why another joystick adapter?

The JoyMega works great with official controllers. However, many 3rd-party controllers don't implement the controller protocol very accurately. Here's some examples of possible issues:

  • 8BitDo wireless receivers working in 3-/6-button mode, but not working as a plain MSX joystick.
  • Retro-Bit wired controllers and receivers not working in 6-button mode.
  • Unbranded 3rd party controller switching to a permanent 3-button mode when the Mode button is pressed in-game.

Please check our Controller Notes for more detailed information.

How does MD2MSX work?

Our proposed solution places an Arduino inbetween the controller and the MSX. This Arduino robustly reads the controller on the input side. On the output side, it implements the controller protocol more accurately than the 3rd-party controllers. We designed a simple PCB for this purpose with two DB-9 (or DE-9) ports and header pins to plug in an Arduino Nano. MD2MSX also implements the JoyMega pin mapping and select signal inversion. MD2MSX should be connected to the MSX directly; do not connect it to the JoyMega.

Photo of MD2MSX internals MD2MSX with a cable soldered directly to the board in place of the 2nd DB-9 port.

How do I make one?

Apart from the MD2MSX PCB you need the following components:

  • 1x male DB-9 port (matching the footprint on the PCB).
  • 1x female DB-9 port (matching the footprint on the PCB) OR a cable with a female DB-9 at the end, to solder directly to the board.
  • 2x BAT85 DO-35 diodes. Other switching diodes should also work, but have not been tested.
  • 2x 15-pin female header pins.
  • 1x Arduino Nano (or clone) with male header pins.

For the hardware, the KiCad design files can be found in the hardware/ directory. KiCad is used to produce Gerber files for upload to your favourite PCB manufacturer.

The firmware resides in firmware/ and is compiled with PlatformIO.

Important usage notes

Do not connect the MD2MSX to both an MSX computer and USB at the same time, even if only one of the devices is powered on!

If you're planning to use a wireless receiver, the current draw may exceed the 50mA rating of the MSX joystick port. Make sure your particular MSX computer can handle this.

Some things to consider if you decide to build one

If you build it without the cable directly attached, you would either need to obtain a straight-through DB-9 to DB-9 cable, or figure out a way to plug the board directly into the MSX computer. The latter may prove to be difficult.

Ensure the cable going to the MSX computer has a sufficient gauge for the current needed by the Arduino and the controller, especially if you're planning to use a wireless receiver. If you do end up using a cable with thin wires, we recommend making the cable as short as possible.

Parts

9
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
2BAT85Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2
1Arduino_Nano_v3.xModule:Arduino_NanoA1
1DE9_Plug_MountingHolesConnector_Dsub:DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mmJ2
1DE9_Receptacle_MountingHolesConnector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mmJ1

Similar boards

  • 2 layers213 × 65.1 mmSizif512, the printed circuit board in 3D

    Sizif512

    UzixLS/zx-sizif-512

    ZX Spectrum CPLD-based clone for rubber case

    214 parts195MIT
  • 2 layers111.3 × 106.4 mmSuper Sixteen v1, the printed circuit board in 3D

    Super Sixteen v1

    matthewcieplak/super-sixteen

    Code and schematics for the Super Sixteen Eurorack sequencer

    141 parts171
  • 2 layers66 × 99 mmNucleo32TNC, the printed circuit board in 3D

    Nucleo32TNC

    mobilinkd/NucleoTNC

    The Nucleo TNC is a breadboard implementation of the Mobilinkd TNC3 using a STM32L432KC Nucleo32 board. This TNC faithfully implements the audio section and EEPROM storage of the TNC3.

    54 parts110GPL-3.0
  • 2 layers28.6 × 36.8 mmZXROM-4in1, the printed circuit board in 3D

    ZXROM-4in1

    pmandes/zx-spectrum-issue6a-replica

    ZX Spectrum 48k Issue 6A board replica

    9 parts52
  • 2 layers140 × 85 mmSizif128, the printed circuit board in 3D

    Sizif128

    UzixLS/zx-sizif-128

    Easy-to-build minimalistic ZX Spectrum clone

    112 parts34MIT
  • 2 layers20 × 110 mmNode main, the printed circuit board in 3D

    Node main

    attoparsec/Node

    KiCAD project and Arduino code for the Node module

    47 parts19
  • 2 layers335 × 250 mmACE Board, the printed circuit board in 3D

    ACE Board

    acwright/6502-ACE

    6502-ACE 8-Bit Retro Computer Project

    205 parts12CERN-OHL-P-2.0
  • 2 layers36.4 × 31.8 mmMB9X UART, the printed circuit board in 3D

    MB9X UART

    famicomical/MB9X-UART

    In-system Serial Programming Adapter for Fujitsu F2MC-16LX microcontrollers

    15 parts6

Questions

How big is the MD2MSX PCB?

It measures 40.6 × 48.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MD2MSX use?

9 parts, built around the BAT85. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the MD2MSX KiCad files?

From the DigitalSpacemen/MD2MSX repository on GitHub, at the commit this page was made from: the board is hardware/1.3/MD2MSX.kicad_pcb and its schematic hardware/1.3/MD2MSX.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MD2MSX design in my own project?

Its repository states no licence, so its author keeps all rights: ask DigitalSpacemen before reusing the design.