Skip to the content
PCBKitNew board
2 layers60 × 55.1 mmController, the printed circuit board in 3D

Classic SPACE WAR game for PDP-11 transcribed from original source

Size
60 × 55.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
10
Pads
28
Tracks, vias
32, 3
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Jan 2019
Updated
27 Apr 2026

Overview

Controller is an open-source printed circuit board by MattisLind, from the MattisLind/SPACEWAR repository on GitHub. It is a 2-layer board of 60 × 55.1 mm with 11 parts on 10 nets, routed with 32 tracks and 3 vias.

Its parts include 2 resistors, 2 connectors and 1 switch.

README

joystick/README.md

Joystick Controller

Here is the needed information to build a basic joystick.

screenshot

Bill of Materials

  • Project Box (115 x 90 x 55mm) - Aliexpress Link
  • Cable Strain Relief (4.5mm-7.8mm Dia) - Aliexpress Link
  • Arcade Push Button - Aliexpress Link
  • Joystick (JH-D202X-R2 5K 50°)
  • 2x Resistor - 2.2K
  • 4 Core Wire (I used 5 core)
  • DB9 Connector and Housing

Selection of a Joystick

There are quite a few options to choose from, and sometimes the specifications are difficult to find. This set up has been tested with a joystick that uses potentiometers with the range of 0 to 5kOhm and a range of 50°.

Searching JH-D202X on Aliexpress should provide you with several options to pick from.

Assembly

Case

The case is a little tight, so spend some time to work out where you want to place things. Take care to allow space for the nut that holds the button. I have included some KiCad files I used to laser cut holes into the project box (see cut_template_files). You should be able to print them in paper and use them as a template or just for some dimensions. Mount the cable, strain relief and push button.

Wiring

In my case I have use the following assignments:

  • Red - 5v
  • Green - Acceleration
  • Brown - Angle
  • White - Ground

On the DB9 Connector I have used the following:

  • Pin 4 - Red - 5v
  • Pin 1 - Green - Acceleration
  • Pin 7 - Brown - Angle
  • Pin 8 - White - Ground

If you build the controller and find that Acceleration and Angle are swapped you CAN"T just swap the Acceleration and Angle wires. This is because the the fire button is connected to the Acceleration signal. Instead you must rotate the joystick.

screenshot

Joystick

Take note of the orientation of the joystick relative to the case, otherwise you may find your controls are backwards!

Before you start make sure you joystick and button fit in the case. Also make sure you have feed cable through the project box before soldering it to the PCB.

  1. Add the two resistors to the PCB.
  2. Glue the PCB to the bottom of the joystick (I used super glue)
  3. Solder in the potentiometers using loops of wire, allow slack so the potentiometer can be adjusted
  4. Solder in the "Fire" button (the polarity doesn't matter)
  5. Solder in the 4 cables (allow plenty of slack)
  6. Mount the Joystick to the lid

screenshot

Parts

11
QtyValueFootprintReferences
4SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmJP1, JP2, JP3, JP4
22.2kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1, R2
2Conn_01x02_SocketConnector_Wire:SolderWire-0.5sqmm_1x02_P4.8mm_D0.9mm_OD2.3mmJ1, J2
1AccelerationPotentiometer_THT:Potentiometer_Piher_PC-16_Single_HorizontalRV1
1AnglePotentiometer_THT:Potentiometer_Piher_PC-16_Single_HorizontalRV2
1FireConnector_Wire:SolderWire-0.5sqmm_1x02_P4.8mm_D0.9mm_OD2.3mmSW1

Questions

How big is the Controller PCB?

It measures 60 × 55.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Controller use?

11 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 Controller KiCad files?

From the MattisLind/SPACEWAR repository on GitHub, at the commit this page was made from: the board is joystick/controller.kicad_pcb and its schematic joystick/controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Controller design in my own project?

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

More from MattisLind/SPACEWAR

1
  • 2 layers134 × 76.2 mmBreakoutBoard, the printed circuit board in 3D

    BreakoutBoard

    MattisLind/SPACEWAR

    Classic SPACE WAR game for PDP-11 transcribed from original source

    26 parts31

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

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

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

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

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0