

JoyMegaAvr3
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
1README
README.mdJoyMegaAvr3
Sega Mega Drive joypad to MSX adapter based on AVR MCU
-
Modes:
-
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)
-
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
-
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| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | AVR ISP | TestPoint:TestPoint_Pad_1.0x1.0mm | G, Mi, Mo, R, S, V |
| 2 | 100nF | Capacitor_SMD:C_0805_2012Metric | C1, C2 |
| 2 | 1K | Resistor_SMD:R_0805_2012Metric | R4, R5 |
| 2 | 470 | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 1 | 10K | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | ATmega328PB-M | Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mm | AVR |
| 1 | DE9_Plug_MEGADRIVE | Connector_Dsub:DSUB-9_Pins_EdgeMount_P2.77mm | MD |
| 1 | DE9_Plug_MSX | Connector_Dsub:DSUB-9_Pins_EdgeMount_P2.77mm | MSX |
| 1 | LED 1 | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | LED 2 | LED_SMD:LED_0805_2012Metric | D1 |
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 mm

- 2 layers53.3 × 68.6 mm

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 mm

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 mm

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 mm

Kid
NicolasE04/yeah-
Student Name: Nicolas Evangelista Student #:5007797790 Student Email: evangn1@unlv.nevada.edu
20 parts - 4 layers203.8 × 99.1 mm

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 mm

- 4 layers20 × 20 mm
