Skip to the content
2 layers82 × 30 mmArcader usb, the printed circuit board in 3D

Quick Links Schematic Gerber Files PCB Renderings Photos

Size
82 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
25
Pads
124
Tracks, vias
197, 29
Pours
4
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
9 Feb 2021
Updated
9 Dec 2021

Overview

Arcader usb is an open-source printed circuit board by mbarszcz-pcb, from the mbarszcz-pcb/arcader-usb repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 82 × 30 mm with 30 parts on 25 nets, routed with 197 tracks and 29 vias.

It is built around the ATMEGA32U4-AU. Its parts include 8 connectors, 7 capacitors, 5 resistors, 3 switches and 2 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

ArcadeR-USB

A Replacement PCB that brings USB connectivity to the Retroradionics ArcadeR Joystick based on the Daemonbite Arcade Encoder and the Arduino Leonardo.

Quick Links

Introduction

The ArcadeR USB is an open source PCB project with firmware based on the open source DaemonBite Arcade Encoder Firmware and circuit design based on the Arduino Leonardo. The original PCB inside the ArcadeR output provided Atari/Amiga/C64 style outputs through a DB9 connector. While the DB9 connector is great for retro computers and consoles, using the ArcadeR with a PC, Raspberry Pi, or MiSTER requires external adapters. Moreover, many of the inexpensive adapters introduced significant input latency, running the experience.

The ArcadeR USB aims to solve these problems plus introduces some extra features by simply providing a new PCB that fits inside the joystick with no modifications require and allows you to simply plug in the internal joystick and button cables.

Features:

  • DIY / Open Source
  • Simple installation. Remove the screws, replace the PCB and cable, and plug everything back in
  • Built around the Atmega32U4, Arduino Libraries, and DaemonBite Arcade Encoder firmware. Use the firmware as-is or customize however you see fit
  • Functions as a standard HID Gamepad, so no extra drivers required
  • Replaces the two front latching switches with tactile switches wired as individually addressable buttons. Now the front buttons can be used for Start/Select, Coin/Start, pressed together to bring up menus in emulation, or even used as an additional button in games
  • Quickly link/unlink the two buttons on the fly with a simple button press. Unlike with the original PCB, no opening of the case and rewiring of the buttons is required to link the two main buttons. Simply press and hold the top two buttons for 1 second to link or unlink the buttons. Now you can quickly switch between left and right handed use for 1 button games, or unlink the buttons and use them independently with arcade games that take advantage of both buttons. The ArcadeR USB saves your last setting to the EEPROM of the Atmega32U4, so your buttons will stay linked or unlinked even after unplugging the controller.
  • Designed with customization and DIY in mind. With open firmware, Arduino library support, a standard Arduino ICSP header for reprogramming, and 2.54mm pin headers on the board for all button and joystick inputs, you can mix, match, rewrite, and reconfigure the ArcadeR to suit your needs
  • Fits ready to use “Zero Delay USB Encoder” USB to JST-XH cables with built in strain relief or any other USB cable soldered directly to the 2.54mm headers.

Bill of Materials (BOM)

ReferenceTypeValueQtyManufacturerPart #Digikey PartDescriptionSub PartSub Digikey
U1Microcontroller1MicrochipATMEGA32U4RC-AUATMEGA32U4RC-AU-NDMicrocontrollerATMEGA32U4-AUATMEGA32U4-AU-ND
J5Header2x31Amphenol ICC (FCI)10129381-906002BLF10129381-906002BLF-ND2x3 2.54mm Short Pin Header for ICSP
J11Connector41JSTB4B-XH-A(LF)(SN)455-2249-NDJST-XH Header - 4 Contact (USB)
J21, J31Connector22Molex0532610271WM7620CT-NDMolex Picoblade 53261 - 2 Contact
J41Connector51Molex0532610571WM7623CT-NDMolex Picoblade 53261 - 5 Contact
SW3Tactile Switch1TE Connectivity ALCOSWITCH1825910-6450-1650-NDTactile Switch (Reset)
SW7, SW8Tactile Switch2E-SwitchTL1105JAF250QEG1864-NDTactile Switch, Right Angle, Plunger for Cap
SW7A, SW8ATactile Switch Cap2E-Switch1RBLKEG1882-NDCap-Round
R1, R21206 Resistor2.2K2Stackpole Electronics IncRMCF1206JT2K20RMCF1206JT2K20CT-ND2.2K 1206 Resistor 5%
R3, R41206 Resistor222Stackpole Electronics IncRMCF1206JT22R0RMCF1206JT22R0CT-ND22R 1206 Resistor 5%
R51206 Resistor10K1Stackpole Electronics IncRMCF1206JT10K0RMCF1206JT10K0CT-ND10K 1206 Resistor 5%
D1, D21206 LEDAmber1Würth Elektronik732-4988-1-ND732-4988-1-NDAmber 1206 LED
C1, C4, C51206 Ceramic Capacitor1uF3KEMETC1206C105K4RACTU399-1254-1-ND1uF Ceramic Capacitor 16V
C2, C31206 Ceramic Capacitor22pF2KEMETC1206C220K3HAC7800399-C1206C220K3HAC7800CT-ND22pF Ceramic Capacitor 25V
C61206 Ceramic Capacitor10uF1KEMETC1206C106K4RACTU399-3525-1-ND10uF Ceramic Capacitor 16V
C71206 Ceramic Capacitor0.1uF1KEMETC1206C104K4RACTU399-9305-1-ND0.1uF Ceramic Capacitor 16V
Y1Crystal16 MHz1TXC CORPORATIONAS-16.000MAHK-B887-1591-ND16 MHz Crystal - 20-22pF

Building the ArcadeR USB

Most of the build is pretty self explanitory, although there are a few things to keep in mind.

  • For ease of use, I'd recommend buying can buying the USB cable designed for the Zero-Delay USB encoder. This cable is inexpensive and comes with the correct JST XH connector already installed along with a strain relief. You can use any USB cable though and crimp the JST connector on it, or omit the JST connector all together, and solder it directly into the 0.1" throguh holes on the PCB.

  • The ICSP pin header is a tight fit in the joystick. It is designed to be mounted to the bottom of the board, but ensure that you check fitment before soldering the pin header. Depending on the length of your headers, you may need to "cheat" by pushing the header against a hard surface to make the pin length a bit shorter. If need be, trim any excess length off the back of the pin header (top of the board) to preserve the bevel on the pin header.

  • I recommend installing the front facing right angle tactile switches into the PCB, fitting the PCB into the Arcader USB joystick housing, and then soldering 1 or 2 of the pins on the tactile switches in place. This will ensure a nice straight fit on the front buttons.

  • The reset button has proven to be unnecessary and can simply be omitted in most cases. I have not needed to use the reset button as the Arduino IDE can auto-reset the microcontroller over USB. My recommendation would simply be to not include it and if a reset is needed, short the pads with a small pair of tweezers. Although it can be made to work, it is a tight fit under the right fire button. If you do decide to include it, care must be taken to ensure the connectors on the bottom of fire button 2 are not depressing the reset button when assembled. The best way I've found to ensure enough clearance is to unplug the two connectors on the bottom of the fire button, bend the two flat tabs completely flat, and then reattach the connector.

  • If you plug your ArcadeR USB into your system and nothing happens, check that the reset button isn't being held down.

  • When you close up the case, take care to make sure nothing is being pinched and the cables aren't interfering with the closing of the case. The strain relief at the front is a fairly tight fit though.

Programming the ArcadeR USB

Once the board has been assembled, you will need to program the microcontroller as an Arduino Leonardo and then load the firmware sketch.

Part 1 - Burn the Arduino Bootloader

The Atmega32u4 on the ArcadeR USB needs to be programmed as an Arduino Leonardo compatible device so it can be recognized and prorgrammed by the Arduino IDE. This only has to be done once. There are two ways to accomplish this:

  1. By using an AVR programmer such as this one from Sparkfun

  2. By using another Arduino (Uno or compatible) in an "Arduino as ISP" configuration. If you have another Arduino laying around, this will let you program the ArcaderUSB without having to purchase a separate programmer. This was how I programmed mine.

The ICSP header on the ArcadeR USB is compatible with the standard Arduino ICSP pinout, and can be programmed as per the examples here. When programming the microcontroller, it is important not to connect the USB cable to your PC until this has been completed. Connect up your Arduino Uno to the ICSP header on the ArcaderUSB board, and follow the instructions above. The key here is to select "Programmer: Arduino as ISP" and "Board:" as Arduino Leonardo. The "board" setting is the board you are programming INTO the Atmega32u4 (we're making the ArcadeR USB a Leonardo), not the board you are programming it from (Likely an Arduino UNO).

Part 2 - Load the firmware sketch

Once the ICSP programming is complete, disconnect the ICSP header. You will need the Arudino IDE installed to load the firmware (Arduino sketch) onto the ArcadeR USB. If you have used an Arduino before, this part should be very familiar. Connect your USB cable and attach the ArcadeR USB to your computer. Select File > Open and navigate to the .ino sketch of the firmware. Under the tools menu, select board: "Arduino Leonardo"

Once everything is set, hit Sketch > Upload. If the board does not program successfully, check Device manager to make sure the Arduino Leonardo is showing up under "Ports (COM & LPT)". If not, check your cables and make sure the ICSP completed successfully. Once the sketch has been uploaded, unplug the Arcader USB from your computer and reconnect it. If you are on a Windows PC, you can hit start > run > type "joy.cpl" and hit enter. This will open the Game Controllers configuration, and you should now see a controller named "Arduino Leonardo". When you hit properties, it will display the buttons and joystick axis. Move the joystick around and test that all your buttons and directions are working. If there are any issues, go back and check your soldering and cables. Any changes to the firmware can simply be done over USB now without the ICSP header or disassembling the joystick.

Using the ArcadeR USB

  • The firmware is designed to use the HID Joystick library, so no additional drivers are required and it should be out-of-the-box compatible with most systems.

  • To link/unlink the two fire buttons, simply hold the top two buttons for about 1 second until the LED flashes. This indicates that the buttons have been linked/unlinked. This setting is stored in the EEPROM of the Atmega32u4, so it will be restored automatically the next time you use the joystick.

  • The firmware sketch can be edited and re-uploaded to the controller if you wish to change the behavior of the joystick. One tweak you may wish to make is to change DEBOUNCE 0 to DEBOUNCE 1 to enable the debouncing routines if you have debouncing with the buttons. If you are so inclided, you can also edit the board types in the Arduino configuration directory to reprogram the device ID and name to something more to your liking.

Links

License

This PCB design and the firmware are licensed as GNU General Public License v3.0. The DaemonBite Arcade Encoder firmware was modified with additional functionality specific to the ArcadeR USB PCB in accordance with it's GPL3 license. For additional details please see LICENSE

Parts

30
QtyValueFootprintReferences
31uFCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC1, C4, C5
21KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1, R2
222RResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR3, R4
222pFCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC2, C3
2Conn_01x02_MaleConnector_Molex:Molex_PicoBlade_53261-0271_1x02-1MP_P1.25mm_HorizontalJ21, J31
2Conn_01x02_MaleArcadeR USB:PinHeader_1x02_P2.54mm_Vertical-BoxSilkJ22, J32
2MountingHoleMountingHole:MountingHole_3.5mmH1, H2
2SW_PushArcadeR USB:SW_Tactile_SPST_Angled_PTS645Vx83-2LFS-DoubleSidedSSSW7, SW8
10.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC7
110KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR5
110uFCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC6
116MHzCrystal:Crystal_HC49-4H_VerticalY1
1ATmega32U4-AUPackage_QFP:TQFP-44_10x10mm_P0.8mmU1
1Conn_01x04_MaleArcadeR USB:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical-BoxSilk-BackJ11
1Conn_01x05_MaleArcadeR USB:PinHeader_1x05_P2.54mm_Vertical-BoxSilkJ42
1Conn_01x05_MaleConnector_Molex:Molex_PicoBlade_53261-0571_1x05-1MP_P1.25mm_HorizontalJ41
1Conn_01x06_MaleConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ5
1RxLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD2
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H4.3mmSW3
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1TxLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD1

Similar boards

  • 2 layers243.2 × 106 mm3W6, the printed circuit board in 3D

    3W6

    weteor/3W6

    a small compact 3x5+3 split ortho keyboard

    113 parts488
  • 2 layers228.4 × 85 mmLeChiffre, the printed circuit board in 3D

    LeChiffre

    tominabox1/Le-Chiffre-Keyboard

    Great thanks goes to Jake at P3D for really making the case amazing and open sourcing his work. Check him out at P3Dstore.com

    105 parts183GPL-3.0
  • 2 layers228.6 × 76.8 mmSchwann Rev0.5b, the printed circuit board in 3D

    Schwann Rev0.5b

    The-Royal/The_Royal_Open-Source-Projects

    A Master Repository For All things Royal Made

    127 parts159MIT
  • 2 layers30 × 65 mmKeyboard mcu, the printed circuit board in 3D

    Keyboard mcu

    dpapavas/lagrange-keyboard

    A configurable, handwired, ergonomic keyboard

    26 parts137AGPL-3.0
  • 2 layers88.4 × 80 mmLHS Controller PCB, the printed circuit board in 3D

    LHS Controller PCB

    dmcke5/ZenDeck

    This is the second revision of my Mini PC based handheld Gaming PC! It is designed for a Beelink SER 5 Mini PC but could be adapted to other systems by changing the mounting brackets and outlet plate.

    76 parts133CERN-OHL-S-2.0
  • 2 layers259.5 × 89.1 mmSteno, the printed circuit board in 3D

    Steno

    crides/steno

    Embedded steno firmware + custom steno PCBs

    61 parts75MIT
  • 2 layers99.1 × 99.1 mmPower supply panelized, the printed circuit board in 3D

    Power supply panelized

    thebiguno/microcontroller-projects

    A home for a bunch of microcontroller projects which don't warrant their own repos.

    223 parts75
  • 2 layers323.9 × 95.1 mmUnSplit, the printed circuit board in 3D

    UnSplit

    swiftrax/UnSplit

    Ergo 40% mechanical keyboard with all components on the top with diodes arranged in an array

    110 parts68GPL-2.0

Questions

How big is the Arcader usb PCB?

It measures 82 × 30 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Arcader usb use?

30 parts, built around the ATMEGA32U4-AU. 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 Arcader usb KiCad files?

From the mbarszcz-pcb/arcader-usb repository on GitHub, at the commit this page was made from: the board is kicad/ArcadeR USB.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Arcader usb design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).