Skip to the content
2 layers26.4 × 32.1 mmPs2-mouse msx, the printed circuit board in 3D

PS/2 IBM PC Mouse to MSX Mouse Converter KiCad project

Size
26.4 × 32.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
25
Pads
74
Tracks, vias
142, 14
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
10 Sep 2026
Updated
10 Sep 2026

Overview

Ps2-mouse msx is an open-source printed circuit board by iricryst, from the iricryst/ps2-mouse-msx repository on GitHub. It is a 2-layer board of 26.4 × 32.1 mm with 17 parts on 25 nets, routed with 142 tracks and 14 vias.

It is built around the ATTINY2313A-SU. Its parts include 8 resistors, 1 capacitor, 1 connector and 1 crystal. It belongs with the retro computing and games boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

PS/2 PC Mouse to MSX Mouse Converter

PS/2 PC Mouse to MSX Mouse Converter

KiCad schematic project for the 2009 Kami Karilov PS/2-to-MSX mouse converter reference design.

Version 2.0

Warning!!! This is still in concept stage. further testing is required. Not ready for production, please test (electrically) before plug in your MSX / Roland.

BOM not available yet Required parts can be found in the schematic. To keep the pcb clean I removed nearly all markers, deignators and text. Please note the pins on the mini-din connector. I removed pin 2 and 6 to make room for traces and let the Vcc plane intact.

Also, the dsub 9 connector should be the female variant ofcourse. I used the male footprint+3Dmodel in Kicad.

And the ATTiny2313 footprint might be incorrect. As far as I know The center pad should not be split in 4 quadrants. Still needs reviewing.

User manual

This manual is adapted from the original project page by Kamil Karimov (caro): https://caro.su/msx/mous4msx.htm

What it does

The controller connects to either MSX joystick port and allows an IBM PS/2 mouse to be used as an MSX mouse or as an MSX joystick. The controller is based on an Atmel ATTiny2313 running from its internal 8 MHz oscillator.

Hardware modes

  1. Connect the controller to an MSX joystick port and connect a PS/2 mouse.
  2. Set the controller switch to WORK (contacts 2-3 closed).
  3. On power-up, the controller starts in mouse mode and the LED is on.
  4. Press the left and right mouse buttons at the same time to switch between mouse mode and joystick emulation mode. Repeat the action to switch back.
  5. In joystick mode the LED is off. JP2 can be used to select the mouse resolution when a modern optical mouse reports movement too quickly.

If the LED flashes approximately once per second, the mouse was not detected. Check the mouse, its PS/2 compatibility, the PS/2-to-USB adapter if one is being used, and the controller wiring.

Programming connection

The controller can be programmed directly from the MSX joystick port. Set the switch to PROG (contacts 1-2 closed) before starting the programmer. The ATTiny2313 connections are:

ATTiny2313FunctionMSX joystick pin/signal
1RESET8 / STROBE
17MOSI6 / TrgA
18MISO1 / Up
19SCK7 / TrgB
20VDD5 / +5 V
10GND9 / GND

Confirm the pinout and power wiring before applying power. The original design is experimental and should be electrically tested before connecting it to an MSX or Roland computer.

Updating the firmware

The software folder contains the original downloads and extracted files:

  • software/msx_ms21/msx_ms21.hex - firmware version 2.1.
  • software/prg2313t/PRG2313T.COM - MSX programmer version 0.4.
  • software/prg2313t/prg2313t.src/ - programmer source and build files.

On an MSX, copy PRG2313T.COM and the desired Intel-HEX file to an accessible drive, set the controller to PROG, and run:

text
A>PRG2313T MSX_MS21.HEX

The programmer checks for an ATTiny2313, reads its signature, fuse settings and current firmware, then updates the fuses for the internal 8 MHz oscillator if needed. If the firmware differs, it writes and verifies the new image and reports Ok or Error. Running the command without a HEX filename only reports the detected controller and its current state.

After programming, power off, return the switch to WORK, and reconnect the mouse. The included programmer documentation describes the original MSX environment and command behaviour in more detail.

Download attribution

The files in software/ were downloaded from the original project page on 2026-09-10. They are retained here for use with this hardware project; the original author and any notices included with the downloaded files remain the authoritative source for their licensing and redistribution terms.

Parts

17
QtyValueFootprintReferences
4220Resistor_SMD:R_0402_1005MetricR4, R5, R6, R7
21N4148Diode_SMD:D_0402_1005MetricVD2, VD3
24.7KResistor_SMD:R_0402_1005MetricR2, R3
10.1uFCapacitor_SMD:C_0402_1005MetricC1
11-2 PROG / 2-3 WORKConnector_PinHeader_1.00mm:PinHeader_1x03_P1.00mm_VerticalJP1
110KResistor_SMD:R_0402_1005MetricR1
12KResistor_SMD:R_0402_1005MetricR8
1ATtiny2313Package_DFN_QFN:MLF-20-1EP_4x4mm_P0.5mm_EP2.6x2.6mmDD1
1DE9_SocketConnector_Dsub:DSUB-9_Pins_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset4.94mmJ1
1MOUSELED_SMD:LED_0402_1005MetricVD1
1MiniDIN6ps2usb:DIN8X1
1RATIOConnector_PinHeader_1.00mm:PinHeader_1x02_P1.00mm_VerticalJP2

Similar boards

  • 2 layers47 × 39 mmQrss clock tx, the printed circuit board in 3D

    Qrss clock tx

    swharden/AVR-projects

    A collection of standalone AVR projects written in C

    32 parts184MIT
  • 2 layers78.3 × 74.6 mmVGAtonic, the printed circuit board in 3D

    VGAtonic

    dqydj/VGAtonic

    Entry level embedded video card in a neat little CPLD package.

    57 parts132
  • 2 layers482.6 × 35.6 mmPrecision clock, the printed circuit board in 3D

    Precision clock

    mitxela/PrecisionClock-Hardware

    PCB design for the Precision Clock Mk III

    49 parts41
  • 2 layers31.7 × 23.7 mmAvr hid usb init tester, the printed circuit board in 3D

    Avr hid usb init tester

    bga/avr-hid-usb-init-tester

    Avr attiny2313 soft usb hid "keyboard" for testing bios usb initialization. Device is blinking if bios assign usb endpoint address and continue sending USB SOF (ie bios in alive).

    20 parts3
  • 2 layers28.4 × 30 mmThulog, the printed circuit board in 3D

    Thulog

    isuruceanu/thulog

    Temperature & Humidity Usb Logger device

    16 parts3
  • 2 layersDevice plan, the printed circuit board in 3D

    Device plan

    lyase/hello-bulb

    making the simplest usb device using atmel2313 the board design is available in kicad format .code is c, licence GPL V3

    29 parts2
  • 2 layers150.2 × 62.6 mmUV timer, the printed circuit board in 3D

    UV timer

    VGCH/UV_lamp_PCB

    UV Lamp for PCB

    85 parts1

Questions

How big is the Ps2-mouse msx PCB?

It measures 26.4 × 32.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ps2-mouse msx use?

17 parts, built around the ATTINY2313A-SU. 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 Ps2-mouse msx KiCad files?

From the iricryst/ps2-mouse-msx repository on GitHub, at the commit this page was made from: the board is ps2_mouse_msx.kicad_pcb and its schematic ps2_mouse_msx.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ps2-mouse msx design in my own project?

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