Skip to the content
2 layers29.2 × 18.4 mmSega Master System, the printed circuit board in 3D

Sega Master System

tebl/C64-JoyKEY27

WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

Size
29.2 × 18.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
4
Nets
9
Pads
25
Tracks, vias
55, 3
Pours
1
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
3 Dec 2020
Updated
14 Jan 2025

Overview

Sega Master System is an open-source printed circuit board by tebl, from the tebl/C64-JoyKEY repository on GitHub. It is a 2-layer board of 29.2 × 18.4 mm with 4 parts on 9 nets, routed with 55 tracks and 3 vias.

It belongs with the retro computing and games and keyboards and input boards of this library.

README

README.md

C64 JoyKEY

The C64 JoyKEY was born out of the desire to build my own joystick, and after having a look at the various options available I chose to build one using Cherry MX keyboard switches. They are around a dollar per piece, so after getting it all to work properly on my beloved Commodore 64 I looked into using it with a whole selection of vintage computer systems as well. There are two main versions of the C64 JoyKEY, the keyboard-variant already described and a board designed for use with Sanwa arcade parts instead.

Last build Last arcade

With options to handle multiple types of systems comes complexity, you'll have to make a few decisions on what you want out of the C64 JoyKEY. Do I only want to use it as a joystick replacement on vintage systems, ideally with 2-3 fire buttons where supported? If so, then you won't need the Arduino Pro Micro.

Want to use it on a modern system as a WASD-style keyboard or a gamepad, then install it - a common use of these types of devices is as a macro-keyboard or a stream-deck. Note that compared to many similar solutions, the microcontroller is not required for use with any of the vintage systems - the adapters actually follow the original circuit descriptions for controllers used with the actual vintage computers. What that means is that there is truly no chance of lag added by the controller. Ever.

The pictures below show the unit when connected to my Commodore 64, including the jumper settings used with it. As I've tried to keep things as close to the standard usually associated with Atari-style joysticks, there are two joystick connectors - this is because a lot of the Commodore 64 games supported using a second joystick for specific game functions.

Commodore 64 C64 Configuration

As with most C64 games port 2 is the one to use, port 1 is just there to connect additional fire buttons. When in doubt, just connect a cable for port 2 and you should have a good time. This was labelled after the way the controller is used on the Commodore 64.

Getting one

I won't be selling these, so if you want one you will probably have to build it yourself (or call your favourite friend, ideally someone with a reasonable quality soldering iron). I've created a separate documents on building a C64 JoyKEY, this is also where you'll find the BOM for this project (a list of needed parts and links to where PCBs can be ordered).

As with all things you're soldering together by yourself, the one who soldered it takes responsibility for it. I'll try answer any opened tickets as far as I am able, but know that this is a hobby-grade project and I might be busy on spending the little energy I have on other things (be patient, check out the schematic while you wait).

Setting it up

The C64 JoyKEY has a handful of jumpers that need to be set correctly in order to: A - function, B - not destroy your precious vintage computer and/or consoles. The necessary details have been put into a separate configuration-document, check it out for some information on the systems I've attempted to use the C64 JoyKEY with.

Parts

4
QtyValueFootprintReferences
1FIRE1_SELPin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmJP1
1FIRE2_SELPin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmJP2
1JoyKEYC64 IDC:IDC_JoystickJ1
1SMSRND_DSUB:DSUB-9_Female_EdgeJ2

More from tebl/C64-JoyKEY

12
  • 2 layers99.7 × 74.9 mmC64 Joykey 2040, the printed circuit board in 3D

    C64 Joykey 2040

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    69 parts27
  • 2 layers99.7 × 74.9 mmC64 Joykey, the printed circuit board in 3D

    C64 Joykey

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    62 parts27
  • 2 layers99.7 × 55.2 mmC64 Arcade, the printed circuit board in 3D

    C64 Arcade

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    49 parts27
  • 2 layers58.4 × 38.1 mmAmiga CD32, the printed circuit board in 3D

    Amiga CD32

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    30 parts27
  • 2 layers81.9 × 52.7 mmArcade 2040, the printed circuit board in 3D

    Arcade 2040

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    29 parts27
  • 2 layers58.4 × 38.1 mmNEC PC Engine, the printed circuit board in 3D

    NEC PC Engine

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    26 parts27
  • 2 layers58.4 × 43.8 mmGameport, the printed circuit board in 3D

    Gameport

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    24 parts27
  • 2 layers70.7 × 46.7 mmAdapter 9 from 2040, the printed circuit board in 3D

    Adapter 9 from 2040

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    21 parts27
  • 2 layers58.4 × 38.1 mmSega Mega Drive, the printed circuit board in 3D

    Sega Mega Drive

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    21 parts27
  • 2 layers58.4 × 38.1 mmNES, the printed circuit board in 3D

    NES

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    20 parts27
  • 2 layers29.2 × 31.8 mmAtari 7800, the printed circuit board in 3D

    Atari 7800

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    10 parts27
  • 2 layers10.4 × 55.2 mmC64 SkeletonKey, the printed circuit board in 3D

    C64 SkeletonKey

    tebl/C64-JoyKEY

    WASD-style joystick for vintage computers. With an added Arduino Pro Micro you can use it as a USB-keyboard, so if you wanted a DIY streamdeck or Macro-keyboard - then the C64 JoyKEY can do that as well.

    5 parts27

Similar boards

  • 2 layers18.5 × 26 mm24g2usb rp2350zero, the printed circuit board in 3D

    24g2usb rp2350zero

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    4 parts1.7kApache-2.0
  • 2 layers116 × 33 mm966595-1 and 963356-1, the printed circuit board in 3D

    966595-1 and 963356-1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    4 parts1.2k
  • 2 layers19 × 18 mmDaughter board, the printed circuit board in 3D

    Daughter board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    4 parts915
  • 2 layers24.8 × 24.8 mmNrf24 breakout, the printed circuit board in 3D

    Nrf24 breakout

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    4 parts803MIT
  • 2 layers26 × 20 mmCap chain, the printed circuit board in 3D

    Cap chain

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    4 parts744MIT
  • 2 layers34.7 × 20 mmXG Station Power MSI, the printed circuit board in 3D

    XG Station Power MSI

    osy/XG_Mobile_Station

    Open source eGPU dock for ROG Ally and ROG Flow

    4 parts712CC-BY-4.0
  • 2 layers20.3 × 24.5 mmJack power input, the printed circuit board in 3D

    Jack power input

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    4 parts546MIT

Questions

How big is the Sega Master System PCB?

It measures 29.2 × 18.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Sega Master System use?

4 parts. 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 Sega Master System KiCad files?

From the tebl/C64-JoyKEY repository on GitHub, at the commit this page was made from: the board is adapters/Sega Master System/Sega Master System.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Sega Master System design in my own project?

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