HARDWARE · CUSTOM CONTROL BOARD

One board. 58 servos. Zero spaghetti.

The XR2 / XJ5 mainboard V5 puts two Arduino Megas, a 7-port USB hub, two SD drives and all the servo power on a single board. We give you the files for free. You order it online yourself.

How to order itBoard guide (PDF)
3D view of the XR2 mainboard V5, top face, with USB ports, Mega sockets and servo headers
58
servo positions, 32 with feedback
2
Arduino Mega 2560 PRO sockets
7
USB ports, each fused
3
power rails: 12 V, 6 V, 5 V
WHAT IT DOES

Everything the robot plugs into.

58 servos, three voltages

21 servos at 12 V and 11 at 6 V, each with a feedback pin, plus 26 more at 5 V.

Two Megas, linked

MEGA 1 and MEGA 2 plug straight in and talk to each other over a built-in serial link.

A USB hub that behaves

Seven ports powered by the board, not the PC. It resets itself on start-up, so no more unplugging cables.

Two SD drives

A micro SD socket under each Mega for storage.

Power, sorted

One 12 V input feeds everything. Add a 5 V and a 6 V UBEC and each rail gets its own ON light.

Protected

Reverse-polarity protection on the input, a resettable fuse on every USB port, and 12 V sense pins.

KNOW YOUR BOARD

Every connector, labelled.

Board map of the top face with numbered parts
  1. 1MEGA 1 socket (Arduino Mega 2560 PRO)
  2. 2MEGA 2 socket (Arduino Mega 2560 PRO)
  3. 3SD drive 1 (micro SD, under Mega 1)
  4. 4SD drive 2 (micro SD, under Mega 2)
  5. 57 USB-A hub ports (USB1 to USB7)
  6. 6Port status lights, one pair per port
  7. 7Hub RESET button
  8. 8USB-C socket (hub to PC)
  9. 9Hub chip and its parts (underside)
  10. 10MEGA 1 12 V servo bank: 21 servos with feedback
  11. 11MEGA 2 6 V servo bank: 11 servos with feedback
  12. 12Left 5 V servo header: 13 servos (Mega 1)
  13. 13Right 5 V servo header: 13 servos (Mega 2)
  14. 14Mega 1 side header: I2C and serial
  15. 15Mega 2 side header: I2C and serial
  16. 16Spare header, Mega 1 (8 pins)
  17. 17Spare header, Mega 2 (16 pins)
  18. 18SOURCE: 12 V main supply in (fuse and E-STOP go in this wire)
  19. 1912 V UBEC IN pads
  20. 20To PC Power terminal (12 V out)
  21. 2112 V ON light
  22. 2212 V capacitor, 1000 uF
  23. 23PC power capacitor, 1000 uF
  24. 245 V terminal block
  25. 25Second 5 V terminal block
  26. 265 V capacitor, 1000 uF
  27. 276 V terminal block
  28. 285 V UBEC OUT pads
  29. 296 V UBEC OUT pads
  30. 3012 V UBEC IN pads
  31. 313.3 V / 5 V / GND header (Mega 1)
  32. 323.3 V / 5 V / GND header (Mega 2)
  33. 335 V ON light
  34. 346 V ON light
  35. 356 V capacitor, 1000 uF
  36. 3612 V SENSE pins
  37. 37Reverse-polarity diode (underside)
  38. 38RobotsBuilder logo
  39. 39HUB RST IN pins: reset the hub from a Mega pin

Where every pin goes.

Pinout map of the top face

PINOUT MAP · THE FULL-SIZE COPY IS IN THE DOWNLOAD

INSIDE AND UNDERNEATH

Four layers. 172 parts. None soldered by you.

The 172 small parts are placed by machine at the factory. You order the board with assembly turned on, and it arrives ready for your Megas.

Exploded view of the board and its parts
EXPLODED VIEW
Underside of the board with the hub chip
UNDERSIDE: HUB CHIP, FUSES AND PROTECTION
SPECIFICATIONS
Size
241.2 × 79.9 mm
Layers
4, on 1 oz copper
Controllers
2 × Arduino Mega 2560 PRO (CH340G)
Servo positions
58
With feedback
32
12 V bank
21 servos, MEGA 1
6 V bank
11 servos, MEGA 2
5 V headers
13 + 13 servos
USB
7 × USB-A, USB 2.0, USB-C to the PC
Storage
2 × micro SD
Input
One 12 V supply
12 V bank current
About 5 A continuous
Works with
XR2 and XJ5
GET THE BOARD

How to get yours.

You order it yourself, straight from the board maker. The files are free, and we make nothing from your order.

DO IT YOURSELF
JLCPCB

Order it online yourself

You download the files and order straight from a board maker. The files are set up for JLCPCB, who make the board and fit the parts for you.

  1. 01Download the board files: one zip with the Gerber files, parts list (BOM), placement file (CPL) and the board guide.
  2. 02Upload them to JLCPCB. Choose 4 layers and 1 oz copper, and turn on PCB Assembly so they fit the parts.
  3. 03Check part rotations in their placement preview.
  4. 04Order. The board arrives with all 172 parts fitted by the factory.

You pay the board maker directly. We make nothing from it. If you leave PCB Assembly off, the board arrives bare and you solder all 172 parts yourself.

FITTING THE MEGAS

Two Megas. They just plug in.

Each Arduino Mega 2560 PRO drops straight onto its socket. No soldering, no wiring. Turn it so the USB port faces the SD drive, line up the pins and press down.

An Arduino Mega 2560 PRO held above the MEGA 1 socket on the mainboard, with guide lines from its pins to the sockets
MEGA 1: LINE UP THE PINS AND PRESS DOWN
The mainboard with one Mega seated on the MEGA 2 socket and one above the MEGA 1 socket
MEGA 2 SEATED, MEGA 1 ON ITS WAY
Download the board guide (PDF)Step-by-step fitting is on page 3a. You need both Megas for the board to work.

ILLUSTRATION. THE MEGA IS ITS REAL 3D MODEL. THE MAINBOARD IS DRAWN FROM ITS LAYOUT FILES.

YOU ADD

What you add yourself.

Two Arduino Mega 2560 PRO

They plug into the sockets. No soldering.

A 5 V and a 6 V UBEC

Soldered to marked pads, they supply the 5 V and 6 V rails.

12 V supply, fuse and E-STOP

Wired into the SOURCE holes. The E-STOP cuts power to every servo.

Standoffs

The hub chip is underneath, so the board must sit off the surface.