Build guide BT-P112 · REV A

USB-C to XT30

A two-part printed enclosure for a 14 × 9 mm USB-C PD trigger board, with an XT30 output. Four M2 screws pull the halves together into brass heat-set inserts.

Updated 6 Nov 2026 · REV A: not yet printed and tested · For the PD3.1 / QC3.0 trigger board, low- or high-voltage version · 5 A max

Closed enclosure seen from the XT30 end: the female XT30's nose sits level with the end face inside the keyed channel, with its two sockets showing; four socket-head screws in the lid's counterbores VIEW ISO · BT-P112
XT30 end. The female XT30 sits inside its channel and a male XT30 plugs in around its nose; USB-C is at the far end. Bought-in parts are drawn as simplified shapes.

What it is

The PD trigger board asks a USB-C charger for one fixed voltage and passes it straight to the XT30. Nothing in the enclosure regulates or limits current: the charger and the cable set what you get.

SpecBT-P112 · REV A
Size
28.0 × 24.5 × 10.0 mm
Input
USB-C · PD 2.0 / 3.0 / 3.1 · QC
Output
XT30 female · one fixed voltage
Low-V board
5 · 9 · 12 · 15 · 20 V
High-V board
5 · 20 · 28 · 36 · 48 V
Current
5 A max
Fixings
4 × M2 × 5 · 4 × M2 inserts
Print
2 parts · no supports · about 5 g

Above 3 A you need a charger that offers it and a 5 A e-marked USB-C cable. 28, 36 and 48 V are PD 3.1 EPR voltages: they need an EPR charger and a 240 W EPR cable.

Module 01 · Parts

Parts and tools

Numbers match the exploded view. Buy the PD board in the version that covers your load's voltage; the enclosure fits both.

No.PartSpecQty
1LidPrinted. Counterbored screw holes.BT-P112 LID1
2BasePrinted. Takes the inserts.BT-P112 BASE1
3USB-C PD trigger boardPD3.1 / QC3.0 decoy, 14 × 9 × 4 mm, low- or high-voltage version. Board used for this build14 × 9 × 4 mm1
4XT30 connectorAmass XT30U-F, the female: its contacts sit inside sockets. It lies in a 12 mm keyed channel with its nose level with the end face.XT30U-F1
5M2 brass heat-set insertCNC Kitchen M2 Standard (3.0 mm long, 3.6 mm OD) or a generic M2 × 3 × 3.5. Not the Ruthex M2: it is 4 mm long and needs a 5 mm hole.M2 × 34
6M2 × 5 socket head cap screwISO 4762, A2 stainless or black oxide. 3.8 mm head.M2 × 54

Tools

  • Soldering iron with a fine chisel tip, plus an M2 insert tip or an old conical tip for the inserts
  • Flux, 0.5–0.8 mm solder, side cutters, tweezers
  • Multimeter
  • 1.5 mm hex key
  • A male XT30, one from the pairs pack, to hold the contacts in line while you solder and to check the fit
  • 2.4 mm drill bit in a pin vice
  • A USB-C PD charger that offers the voltage you set, and a USB-C cable rated for your current
Exploded view: four screws above the lid, the PD board and XT30 between the halves, four inserts in the base VIEW EXPLODED · BT-P112
The XT30 sits in its channel behind the board, and its cups are soldered straight to the board's pads. Bought-in parts are drawn as simplified shapes.
Module 02 · Print

Print and check the parts

Print both parts mating face down. The openings start on the bed, so the first layers decide how well the connectors fit.

Print settings0.4 mm nozzle
Material
PETG · or PLA for bench use
Layer
0.2 mm
Walls
4
Top / bottom
5 / 4 layers
Infill
25 % gyroid
Supports
None
Orientation
Mating face on the bed
Elephant foot
0.15 mm compensation
Filament
about 5 g

PLA softens from about 55 °C. If the adapter lives in a car, a toolbox in the sun or next to a motor, print PETG or ASA. Four walls keep the plastic around each insert solid.

Fit check before any soldering

  1. USB-C. The opening is 9.0 × 3.3 mm for the board's 8.94 mm wide receptacle shell, so the fit is snug by design. Lay the board in the base: the receptacle should drop into its slot with finger pressure. If it binds at the bottom edge, shave the first layer of the slot with a deburring blade.
  2. XT30. The channel is 11.0 × 5.7 mm and 12 mm long, with two cut corners on the − side. The female's 10.2 × 5.2 mm body sits in the back half, and a male plug's shroud, the same size outside, slides into the front half around the female's nose. Tape the halves together and slide a male XT30 into the channel from the end: it should go in by hand with light friction. If it binds, ease the front 6 mm with a fine file or a blade and leave the back half alone. The XT30 is fixed in step 6.
  3. Lid holes. The lid's clearance holes print at 2.1 mm, which an M2 thread grips. Open all four to 2.4 mm with the drill in a pin vice. A screw that threads into the lid holds the halves apart instead of pulling them together.
USB-C END17.024.5XT30 END28.014.04× Ø4.0 × 3.0 C’BOREØ2.1 THRU · OPEN TO Ø2.4CHAMBER 12.5 × 14 × 6.1CHANNEL 11.0 × 5.7 × 12
PLAN · CLOSED · mm
9.03.32.5510.0USB-C END
END · mm
11.05.72.151.5 × 45° KEY CORNERS · − SIDE10.0XT30 END
END · mm

Dimensions in mm, measured from the Fusion model (v6, 6 Nov 2026). Dashed lines are hidden edges; the dotted line on the end views is the parting line between lid and base.

Module 03 · Build

Build it

0 of 8 steps done

  1. Fit the heat-set inserts in the base

    1. Set the iron to about 225 °C for PLA or 245 °C for PETG, 10–20 °C above your print temperature, and fit the insert tip.
    2. Base on the bench, mating face up. Sit an insert on a hole, knurled end down.
    3. Press straight down with light force and let the heat do the work. Stop at about 90 % depth, with the insert still a little proud.
    4. Lift the iron straight off and press the insert flush at once with a flat piece of steel. Hold it 5–10 s while the plastic sets. Flush, never proud.
    5. Repeat for all four. Clear any plastic that has risen around an insert with a blade, so the halves meet flat.

    Each hole is 3.1 mm across and 4.0 mm deep, blind. A 3 mm insert leaves 1 mm below it for the plastic it pushes down. CNC Kitchen sizes its M2 for a 3.2 mm hole, so expect a firm press.

    Caution

    The iron tip and a just-fitted insert are hot enough to burn. Hold the part by its edges and let the inserts cool before you touch them.

    Base with four brass inserts fitted flush in the corner holes BASE · MATING FACE UP
  2. Set the output voltage on the board

    The board gives 5 V with no pads bridged. For any other voltage, bridge exactly one pad with a blob of solder. The pads are on the component side, which faces down into the base once it is built, so set them now.

    BridgeLow-V boardHigh-V board
    None5 V5 V
    Pad 19 V20 V
    Pad 212 V28 V · EPR
    Pad 315 V36 V · EPR
    Pad 420 V48 V · EPR

    12 V is optional in USB PD, and many PD chargers offer only 5, 9, 15 and 20 V. Trigger boards differ in what they do when their voltage isn't on offer: some stay at 5 V, some take a higher one. Meter it on each charger you use (step 3). The back of the board carries the same table: column A is the low-voltage board, column B the high-voltage board.

    USB-C1234−+RECEPTACLE · 2.0 PAST PCB EDGEPAD 4PADS 1 2 3 · BRIDGE ONEOUT + / OUT − · PLATED HOLESPD CONTROLLER9.014.0COMPONENT SIDE · SCHEMATIC
  3. Test the board before wiring

    1. Plug the board into the charger with the cable you will use.
    2. Measure across the + and − holes. You should read the voltage you set, within about 5 %.
    3. 5 V when you set something higher means the charger didn't offer that voltage. A reading above the set voltage means the charger lacks it and the board took a higher one: don't use that charger with this adapter. Check the charger's label for its voltages and wattage.
    4. Some boards hold 5 V on the output for a moment while they negotiate. Let the reading settle before you judge it.
  4. Line up the XT30 contacts

    1. Each XT30 contact ends in a half-round solder cup, and the contacts turn in the housing. Turn each one so the solid half of its cup will lie on its pad on the board once both parts are seated.
    2. Find the + and − moulded on the housing. On XT connectors the straight side is usually + and the side with the cut corners −, but go by the moulding on your part.
    3. Flux and tin the board's + and − pads and the solid half of each cup. Keep the tinning thin: the joints have to fit under the lid.
  5. Seat the board and the XT30, then solder them together

    1. Hold the board component side down and lower the USB-C receptacle into the deep slot at the USB-C end of the base. Slide it forward until the PCB's front edge stops and the receptacle's face sits flush with the end of the base. A receptacle set back from the face stops a cable's moulding short of a full plug-in.
    2. Lay the XT30 in its channel from inside the base, nose towards the end and cut corners to cut corners. Slide it along until its nose is level with the end face or just inside it, never proud. Its cups should then lie on the board's pads: each cup's solid half on its pad, the + cup on the board's + pad.
    3. Plug a male XT30 into it from the end. It holds the contacts in line if the housing softens.
    4. Solder each cup to its pad with flux and a hot chisel tip, quickly, 2–3 s a joint. Nothing may stand more than 1.2 mm above the PCB: that is all the room under the lid.
    5. Check the gap between the two cups. Solder bridging it shorts + to −.

    Caution

    The + moulded on the XT30 must land on the board's + pad. If it lands on −, stop: soldered that way, the adapter puts reversed polarity on whatever you plug in.

    Top view of the base, lid off: the PD board at the USB-C end and the female XT30 in its channel at the other end, nose level with the end face, with each solder cup lying on one of the board's corner pads VIEW TOP · LID OFF
    A
    USB-C receptacle in its slot, face flush with the end
    B
    Board + pad, soldered to the XT30's + cup
    C
    Board − pad, soldered to the XT30's − cup
    D
    Cut-corner side of the XT30, the − side on the usual moulding
    E
    XT30 nose, level with the end face
  6. Test, then fix the XT30

    1. Plug in the charger and measure at the XT30's sockets, red probe in +, black in −. The reading must be positive and match the voltage you set. A negative reading means the cups are on the wrong pads: fix it now.
    2. Unplug the charger. Plug a male XT30 in and check it goes fully home.
    3. Fix the XT30 to the base with 5-minute epoxy around the back of its body, where it meets the chamber, working from inside the chamber. Keep glue out of the front 6 mm of the channel, where a plug's shroud goes, and off the solder joints and the mating face of the base. Let it cure before you close up.

    An XT30 takes about 12–34 N to plug in or pull out, and nothing in the channel stops the housing sliding out. With the cups soldered straight to the board, the epoxy is what keeps that force off the joints. Without it, the first hard pull can tear the pads off the board.

  7. Close the enclosure

    1. Lower the lid on, counterbores up. The halves should meet flat with no gap before any screw goes in. If they don't, something is trapped: find it, don't force it.
    2. Fit the four M2 × 5 screws with the 1.5 mm key. Run each one in until it seats, then tighten in a cross pattern until the halves are drawn together.
    3. Stop at snug. Brass inserts in plastic strip out if you lean on the key.

    An M2 × 5 screw passes 2.0 mm of lid and engages the full 3 mm insert, with 1 mm to spare at the bottom of the hole. An M2 × 6 bottoms out in the hole before it can clamp, so don't substitute it.

    CAP M2 × 5 · Ø3.8 × 2.0 HEADC’BORE Ø4.0 × 3.0Ø2.1 · OPEN TO Ø2.4INSERT M2 × 3 · FLUSHHOLE Ø3.1 × 4.01.0 CLEAR BELOW TIPLIDBASE5.05.0
    SECTION · SCREW · mm
  8. Final test and mark the voltage

    1. Plug in the charger and measure at the XT30 once more. Plug a male XT30 in and out a few times, then a USB-C cable: neither the XT30 nor the board may move.
    2. Write the output voltage on the lid with a paint pen or a label, for example "20 V". Every XT30 looks the same, and a 20 V adapter plugged into a 5 V device will destroy it.

    Caution

    The XT30 is live whenever USB-C is plugged in. Its contacts sit inside the sockets, but a wire or probe pushed into both will short them. Unplug the charger before you connect or disconnect a load.

    Caution

    Never connect the adapter to another power source, such as a charger lead or a power supply with a male XT30. Two sources joined together can damage the board and the other supply.

Module 04 · Faults

If something is wrong

SymptomLikely causeFix
5 V instead of the set voltageThe charger doesn't offer that voltage, or the bridge didn't takeCheck the charger's label. Reflow the pad with flux and check it with the meter's continuity range.
More than the set voltageThe charger lacks that voltage and the board took a higher oneDon't use that charger with this adapter. Pick one that lists the voltage you set.
0 V at the XT30A cold joint between a cup and its padMeasure at the board's pads, then at the XT30's sockets, to find the open joint. Reflow it with flux.
Pad lifted or joint crackedThe XT30 moved under plug force before it was gluedRe-solder the joint, or replace the board if the pad has come away. Then epoxy the XT30.
Voltage sags under loadA 3 A cable, or a load above the charger's ratingUse a 5 A e-marked cable. Keep the load inside the charger's wattage.
Halves won't close flatInsert proud, a screw gripping the lid, or a tall solder jointRe-seat the insert flush, open the lid holes to 2.4 mm, trim the joint.
Board moves when a cable goes inLoose receptacle fit in the slotFix the receptacle shell to the base with a drop of epoxy, clear of the opening.
XT30 pushes in or pulls outLoose housing fitEpoxy it as in step 6, after checking a male plug mates fully.
Male plug won't go fully homeTight channel mouth, epoxy in the front of the channel, or the XT30 sitting crookedEase the front 6 mm of the channel with a fine file and clear any glue. Leave the back half alone: it locates the XT30.
Insert spins when the screw goes inFitted too cool or too fast, so the knurl didn't keyReheat it and press it in again, then let it cool under the flat steel.