Skip to the content
PCBKitNew board
2 layers18.6 × 15 mmJoyMegaAvr3, the printed circuit board in 3D

Sega Mega Drive joypad to MSX adapter based on AVR MCU

Size
18.6 × 15 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
34
Pads
84
Tracks, vias
181, 19
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
28 Jun 2026
Updated
29 Jun 2026

Overview

JoyMegaAvr3 is an open-source printed circuit board by vanpit, from the vanpit/JoyMegaAvr3 repository on GitHub. It is a 2-layer board of 18.6 × 15 mm with 18 parts on 34 nets, routed with 181 tracks and 19 vias.

It is built around the ATMEGA328PB-MN. Its parts include 5 resistors, 2 capacitors and 2 diodes. It belongs with the retro computing and games and interfaces and adapters boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

JoyMegaAvr3

Sega Mega Drive joypad to MSX adapter based on AVR MCU

  • Modes:

    1. Default mode

      • MD buttons A and B mapped to MSX triggers 1 and 2
      • X and Y buttons switch autofire for trigger 1 and 2
      • Z button reset both autofires
      • MODE button switches alternate mode (clocked MSX_OUT pin) between Nyyrikki Mouse (RED), MegaDrive passthrough (BLUE) and OFF (purple)
    2. Alternate mode Nyyrikki Mouse (RED/D1)

      • Direction buttons move mouse cursor
      • Mouse buttons A, B, X, Start, Mode
      • Mouse scroll buttons Y, Z
      • Mouse slow motion - hold C button or 8bitdo M30 right bumper
    3. Alternate mode Mega Drive passthrough mode (BLUE/D2)

      • Buttons passed 1:1 to MSX
  • Bill Of Materials:

    • PCB - use file from "Gerber" folder when ordering pcb
    • 3D printed case - print case with included STL file - translucent PETG prefferred
    • MCU Atmega328PB-M
    • D1 - LED SMD RED 0805 ex. IN-S85CS5R
    • D2 - LED SMD BLUE 0805 ex. IN-S85CS5B
    • Capacitors 100nF 0805 - 3 pcs.
    • Resistors 1 KOhm 0805 - 2 pcs.
    • Resistor 10 KOhm 0805 - 1 pc.
    • Resistor 470 Ohm 0805 - 2 pcs.
    • Male and female 9 pin DE9 connectors
  • !IMPORTANT! Please remember to solder 3rd 100nF capacitor between V and G pads of ISP connector as it's decoupling main MCU power.

  • AVR fuses - default, no change needed

  • Program ATmega329pb-m with "firmware.hex" using onboard ISP connector. Recommend using common AVR programmer like STK500v2 compatible hardware and avrdude+avrdudess software. Temporarily soldering wires to the ISP pads and proper connection to programmer is required for programming.

Parts

18
QtyValueFootprintReferences
6AVR ISPTestPoint:TestPoint_Pad_1.0x1.0mmG, Mi, Mo, R, S, V
2100nFCapacitor_SMD:C_0805_2012MetricC1, C2
21KResistor_SMD:R_0805_2012MetricR4, R5
2470Resistor_SMD:R_0805_2012MetricR1, R2
110KResistor_SMD:R_0805_2012MetricR3
1ATmega328PB-MPackage_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mmAVR
1DE9_Plug_MEGADRIVEConnector_Dsub:DSUB-9_Pins_EdgeMount_P2.77mmMD
1DE9_Plug_MSXConnector_Dsub:DSUB-9_Pins_EdgeMount_P2.77mmMSX
1LED 1LED_SMD:LED_0805_2012MetricD2
1LED 2LED_SMD:LED_0805_2012MetricD1

Questions

How big is the JoyMegaAvr3 PCB?

It measures 18.6 × 15 mm and has 2 copper layers, 1.6 mm thick.

What parts does the JoyMegaAvr3 use?

18 parts, built around the ATMEGA328PB-MN. 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 JoyMegaAvr3 KiCad files?

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

Can I use the JoyMegaAvr3 design in my own project?

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

Similar boards

  • 2 layers100 × 100 mmFloppyExerciser, the printed circuit board in 3D

    FloppyExerciser

    schlae/FloppyExerciser

    Simple tool for testing and repairing floppy drives

    118 parts47
  • 2 layers53.3 × 68.6 mmArduino uno, the printed circuit board in 3D

    Arduino uno

    Chicken-Fried/Cave-Uno

    Modernized Arduino Uno R3 compatible board powered by Microchip ATmega328PB. Features driverless USB-C, 1.5A sync buck, ideal-diode OR-ing, dual I2C/SPI/UART, and LiDAR topographic artwork.

    85 parts
  • 4 layers35.8 × 35.8 mmCar display v5, the printed circuit board in 3D

    Car display v5

    jsandmeyer/camaro-aftermarket-radio-aux-display

    Temperature and Reverse Sensor Display for Gen5 Camaro with Aftermarket Radio and Trims

    51 partsMIT
  • 4 layers38.6 × 40.3 mmStrato connect, the printed circuit board in 3D

    Strato connect

    kevinlutzer/strato-connect

    A RF module you can comunicate with over I2C to send AX.25 formatted data over (G)FSK

    49 partsApache-2.0
  • 2 layers68.6 × 53.3 mmKid, the printed circuit board in 3D

    Kid

    NicolasE04/yeah-

    Student Name: Nicolas Evangelista Student #:5007797790 Student Email: evangn1@unlv.nevada.edu

    20 parts
  • 4 layers203.8 × 99.1 mmISOpower complete bothboards, the printed circuit board in 3D

    ISOpower complete bothboards

    practable/iso-power-pcb

    Remote power control board for ISO experiment containers, used for remote labs projects

    196 partsGPL-3.0
  • 4 layers48.9 × 17.8 mmGeneric node, the printed circuit board in 3D

    Generic node

    lucanastasio/myHomeAutomation

    Home automation stuff

    47 parts1
  • 4 layers20 × 20 mm40Vservo, the printed circuit board in 3D

    40Vservo

    SJSURoboticsTeam/urc-electrical-2026

    The 2024 - 2026 rover electrical monorepo

    28 parts1