Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 2.15 KB

README.md

File metadata and controls

38 lines (24 loc) · 2.15 KB

alt text alt text

snespad2usb

SNES 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 was tested with SN30 2.4g wireless gamepad for original SNES/SFC and original SNES and SFC gamepads. Everything works flawless!

One footprint is not trivial: SNES gamapad socket (J1). Footprint is DIY.

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 is SNES gamepad connected at all. LED D2 is just a status LED (turn on in setup() function of firmware).

BOM:

Qty Reference(s) Description
2 D1, D2 LEDs 3mm
1 J1 SNES gamepad make connector
1 J2 2x4 Pinheader. pitch terminal: 2.54mm
1 R1, R2 resistors for D1 and D2
1 R3 10KΩ PULL-UP resistor for DATA gamepad pin
1 SW1,SW2 Tact switches from Arduino breadboard projects
1 U1 DIP20 socket (width 15.24mm) + Arduino Pro Micro