segapad2usb

Public

@mistepien

Download board files

Files for version 1. Pick what you came for.

Share segapad2usb

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

segapad2usb

Sega MD/Genesis gampepad adapter to USB.

Adapter is actually a shield for Arduino Pro Micro based on ATmega 32U4.

ATmega 32U4 has a hardware support for fullspeed USB, thus polling rate 1000Hz is not an issue for that chip.

You can use the gerber file to order the PCB.

Attached code uses port registers so that is quite efficient. The code is based on SegaController library. That library was changed to use port registers and support HOME button. The code was tested with M30 2.4G for SEGA Genesis & Mega Drive and SEGA Genesis 6-button Arcade Pad. M30 2.4G for SEGA Genesis & Mega Drive has a HOME button and it is fully supported by the code.

One footprint is not trivial: DB9 male socket (J1). Officialy the J1 footprint (segapad2usb has been designed in KiCad) is "DSUB-9_Male_Horizontal_P2.77x2.84mm_EdgePinOffset9.90mm_Housed_MountingHolesOffset11.32mm" however it was chosen to fit LD09P13A4GX00LF Amphenol.

J2 is redundant -- you can use it to add some new features like autofire switch or sth.

Sometimes during uploading code to Arduino board you may face some issues -- then you will need to use RESET -- so SW1 can be useful if you like to develope your own code.

SW2 can be usefull to have a so-called "Hot key" -- you can need it eg. in Batocera.

LED D1 shows whether controller is working in 6-button mode. LED D2 shows is Sega MD/Genesis gampepad connected at all. LED D3 show status of Arduino (turn on in setup() function of firmware).

BOM:

QtyReference(s)Description
2D1, D2, D3LEDs 3mm
1J1DB9 Male Connector LD09P13A4GX00LF Amphenol
1J22x4 Pinheader. pitch terminal: 2.54mm
1R1, R2. R3resistors for D1, D2 and D3
1SW1,SW2Tact switches from Arduino breadboard projects
1U1DIP20 socket (width 15.24mm) + Arduino Pro Micro
Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.