Design and research — Electronics
Power distribution
ExplanationHow 24 V gets from the wall to every part of the machine, what is fused where, and the ratings of the cables, connectors and devices on the way.
AI-generated first draft. Written from the Pico firmware, the control program and the board's KiCad files, not from an actual build. The part names, pins and numbers are read from those files and have not been checked against a built machine.
The whole machine runs from one 24 V power supply. The other voltages (12 V, 6.5 V, 5 V and 3.3 V) are made from the 24 V further down, mostly on the control board. Each of these voltages is called a rail, a wire inside the board that carries one voltage. There is no separate power board in this version, so the protection is light: two fuses on the control board and a fused inlet on the mains side (the wall-socket side).
This page describes the basically board v1.3 and the cables as the Wire harness page draws them. Which plug goes in which socket is on Connecting the components and is not repeated here. This page is not wiring instructions. Mains voltage is lethal, and the mains side is built on the PSU box page.
From the wall to 24 V
- Inlet: an IEC C14 inlet with an illuminated rocker switch (15 A, 250 V) and a 10 A fuse (5 × 20 mm). It is the machine's main switch and also its mains fuse.
- Supply: a Mean Well LRS-350-24, 24 V at up to 14.6 A (350 W), with no minimum load. It is not universal input: a slide switch on the side of its case selects 115 V or 230 V, and the setting has to match your wall socket before you switch on for the first time.
- Behaviour: the datasheet gives a typical inrush of 60 A at either mains voltage (a short surge of current at the moment you switch on). If the load is 110 to 140% of the rated power, the output switches itself off and on again repeatedly (hiccup mode) and recovers by itself when the load drops. The output voltage can be adjusted from 21.6 to 28.8 V with a small adjustable pot (a trimmer) beside the terminal block.
The supply has three +V and three -V screw terminals. Each +V/-V pair is wired to one panel-mount barrel jack (a round DC power socket) on the front of the PSU box, so the supply has three 24 V outputs, all the same.
Three jacks, three loads
Each jack feeds one load through its own lead, and nothing else runs from the supply. The cooling fans are not on it either.
PWR1, the control board: a lead from a barrel plug toJ1, a JST VH header (a two-pin power connector on the board).PWR2, the USB hub: a lead to the hub's own DC input, which takes 7 to 36 V.PWR3, the Orange Pi: a lead to a 24 V to 5 V buck converter, whose USB-C lead (sealed in resin) then plugs into the Orange Pi. The converter takes 8 to 32 V in and gives 5 V at up to 5 A. It protects itself against reversed connection, too high a voltage, too high a current, overheating and short circuits. The Orange Pi asks for 5 V at 4 A over USB-C.
The board has two USB-C sockets that look the same, and only the one marked PWR IN takes power. The other is for data and for a screen, and the machine does not use it. The hub has its own 24 V feed (PWR2), so the Orange Pi does not power the hub, and it does not power the cameras or the Pico through it.
- The three leads and their drawings: Ordering the wire harness
- Making them: PSU pigtail, board 24 V lead, Orange Pi 24 V lead
- The converter and the board in the catalog:
parts-calculator/catalog/parts.json(buck-24v-5v-usbc,sbc-orange-pi-5) - The harness data the drawings are generated from:
electronics/wire_harness/power.yml
Why 24 V and these converters
- One 24 V rail. The plan stated in November 2025 was a 24 V main rail, with converters from it to whatever voltages are needed.
- The supply model. The supply is a Mean Well LRS-350-24, 350 W. Mean Well was the brand contributors preferred over unbranded supplies (November 2025), and by March 2026 the plan was a DIN-rail supply with a fused mains inlet as the machine's main switch. The 350 W size was chosen because it was certain to be enough, not from a power budget: in the August 2026 engineering meeting the designer said he picked it as something known to work, and that a 100 to 150 W supply would be a later optimization. A 150 W Mean Well (LRS-150) is the candidate a contributor planned to try after measuring.
- A boxed supply. An open-frame supply was ruled out because people should not be required to work with mains voltage (November 2025).
- The 6.5 V converter takes 12 V, not 24 V. The converter module cannot take 24 V directly (May 2026). The modules were chosen because they were the easiest to be sure would just work, even though they are expensive singly (July 2026).
- Fuse guidance. The guidance given in the design discussion was that the main fuses can be cheap ordinary ones, meant only as protection against a disaster, with resettable fuses on the individual loads (January 2026).
Inside the control board
24 V comes in at J1, through a fuse in each wire (F1 on the +24 V wire, F2 on the return wire). A diode, D2, sits across the supply to protect the board if the supply is connected the wrong way round. From there:
- 24 V goes straight to the five stepper driver sockets to power the motors, to the four LED ports, and to the converters below.
- 5 V: a RECOM R-78 converter module (
U3, 1 A) makes it from the 24 V. It feeds the Pico through its VSYS pin, the servo controller chip and the level shifters (small chips that translate between voltages). - 12 V: a RECOM R-78 converter module (
U4, 2 A) makes it from the 24 V. It is available on headerJ2and is also the input of the next stage. - 6.5 V, "ServoV": a RECOM R-78 converter module (
U5, 1.5 A) makes it from the 12 V. It powers the servos and runs down the ribbon cable to every layer's adapter board (see The servos and the layer adapter boards). - 3.3 V comes from the Pico's own 3V3 output, not from a separate voltage regulator on the board. It goes to the driver sockets.
All three converters are switching modules that fit where a simple linear 78xx regulator would go (the same three pins). A linear regulator that lowers 24 V to 5 V at 1 A would turn about 19 W into heat, which is why one is not used.
- The schematic:
Power.kicad_sch, with the LED ports onLevel_Shifters.kicad_sch - Preparing the board before it is installed: Preparing the control board
The motors
The five stepper motors run on the 24 V rail, each through its own TMC2209 driver on the control board. Their sizes, how the drivers are set up and how much current each motor gets are on The motors. Their electrical ratings are in the device table below.
The lamps and the fan
The board has four LED ports, J8 to J11. Each is the 24 V rail through a 180 Ω resistor on its +24 V pin, and a MOSFET (AO3400A, an electronic switch) on its ground pin that the Pico controls. So a lamp or fan always has 24 V on one side, and the board switches the ground side on and off. For brightness it does this very fast (PWM), and the share of time it is on sets how bright the lamp is. Two ports share each of the Pico's two PWM outputs, J8 with J9 and J10 with J11, so dimming one dims its partner.
The 180 Ω resistor is there for a bare LED board that does not limit its own current. The camera lamps use an LED strip that does limit its own current, so the resistor would only make them dimmer. On a v1.3 board each port has a solder jumper (a spot you can bridge with solder) across its resistor, and the build bridges all four; v1.4 and later have no resistor. The same bridge is what lets the 24 V fan run at full voltage from a port.
The three lamps each use about 920 mm of strip at roughly 10 W per metre, so about 9 W each. The housing fan is a 40 mm, 24 V fan on the fourth port. The Orange Pi's own heatsink fan is 5 V and plugs into the Orange Pi's FAN socket instead.
- Bridging the resistor jumpers (v1.3 boards only): Preparing the control board
- Which lamp or fan is on which port: Connecting the components
- The strip and its cables: LED strip, and the lamp itself: Camera lamp
What is fused where
- Mains side: the 10 A fuse in the inlet. It comes before the power supply, so it does not protect anything on the 24 V side.
- 24 V side: the PSU jacks and their leads are not fused.
- Control board:
F1andF2, 1206 (a small surface-mount size) slow-blow fuses rated 10 A and 32 V DC, one in each wire ofJ1. Nothing after them is fused: not the LED ports, the driver sockets, or the 12 V, 6.5 V and 5 V outputs. The diodeD2, which protects against a reversed supply, is rated 8 A, so it is the weaker part if the supply is ever connected the wrong way round. - Orange Pi branch: only the buck converter's own protection.
A 10 A fuse opens on a dead short, not on a modest overload. The supply's own overload point is roughly 16 to 20 A (110 to 140% of 14.6 A), and between a barrel jack's 5 A rating and that point nothing opens.
- Board fuse and diode parts:
Power.kicad_sch
Ratings: cables and connectors
The wire harness (the set of cables) uses tinned, stranded UL1007 wire rated 300 V. Wire sizes are given in AWG, where a smaller number means a thicker wire. The harness lists the size and colour of each cable, but not an ampere rating for the wire itself. On every two-wire power cable, red is +24 V and black is ground (the return wire). In the table, names such as PSU1, PWR1 and STP1 are the cable labels used on the wire harness page.
| Part | Rating or spec | Where it is used |
|---|---|---|
| 18 AWG (0.82 mm²), red and black | UL1007, 300 V | PSU1 to PSU3, PWR1 |
| 22 AWG (0.33 mm²), red and black | UL1007, 300 V | PWR2, PWR3, LED2a to LED4a, LED2 to LED4 |
| 24 AWG (0.20 mm²), blue, green, red, black | UL1007, 300 V. Set by the JST-PH contact limit | STP1 to STP4, CHU1 |
| IEC C14 inlet with switch and fuse | Switch 15 A 250 V, fuse 10 A | Mains side of the supply |
| Insulated fork terminal, M3.5 | 18 AWG wire, 8 mm wide at most | Both leads of PSU1 to PSU3, onto the supply's terminal block |
| Barrel jack and plug, 5.5 × 2.1 mm | 5 A or better, centre positive | PSU1 to PSU3, PWR1 to PWR3, LED2 to LED4, LED2a to LED4a |
JST VH header J1, housing VHR-2N, contact SVH-21T-P1.1 | 7 A with 18 AWG wire in the shrouded header | PWR1 into the board |
| Clamp-on LED strip connector, 8 mm | 3 A maximum | One per camera lamp |
| Dupont, JST-PH, #187 quick-connect | No current rating given | Dupont on LED2a to LED4a and LIM1, JST-PH on STP1 to STP4 and CHU1, #187 on the limit switch |
In the board's 24 V path, the part with the lowest rating is the barrel jack at 5 A, then the VH header at 7 A, then the 10 A fuses. The order page asks for "5 A or better" on every barrel connector.
- The length, gauge and connectors of every cable: Ordering the wire harness
- The RFQ text with the wire spec:
electronics/wire_harness/rfq.txt
Ratings: devices
| Device | Rating | Where it is in the machine |
|---|---|---|
| Mean Well LRS-350-24 | 24 V, 14.6 A, 350 W. Mains draw 6.8 A at 115 V or 3.4 A at 230 V | The only supply; three outputs |
| NEMA 17 stepper, StepperOnline 17HE15-1504S | 1.5 A per phase, 2.3 Ω per phase | Three feeder channels and the carousel, on STP1 to STP4 |
| NEMA 23 stepper, StepperOnline 23HS32-4004S | 4.0 A per phase, 0.65 Ω per phase | The chute, on CHU1 |
| TMC2209 driver module | 2 A RMS continuous, 2.8 A peak, 5 per machine | One per stepper, on the control board |
| Camera lamp, 24 V COB LED strip | About 10 W per metre, so about 9 W per lamp | Three lamps, on three LED ports |
| Housing fan, WINSINN 4010 | 24 V, 0.04 A | Fourth LED port |
| Orange Pi 5 | 5 V at 4 A over USB-C | PWR3, through the buck converter |
| 24 V to 5 V buck converter | 8 to 32 V in, 5 V at 5 A (25 W) out | Between PWR3 and the Orange Pi |
| Powered USB hub, Waveshare USB3.2-Gen1-HUB-4U | 7 to 36 V in | PWR2 |
| MG995 servo | 4.8 to 7.2 V. 10 mA idle, 170 mA no load, 1.2 A stalled | Flaps, on the 6.5 V ServoV rail |
| Board 5 V, 12 V and 6.5 V converters | 1 A, 2 A and 1.5 A | Control board, U3, U4, U5 |
The one place a motor can ask for more than its supply gives is the 6.5 V ServoV rail. A stalled MG995 takes about 1.2 A against the converter's 1.5 A, so two flaps stalling together are over it. How the servos and their boards use that rail is on The servos and the layer adapter boards.
- Every part's attributes:
parts-calculator/catalog/parts.json
Load against supply
The supply can give 350 W. The three camera lamps are about 28 W of that, or about 1.2 A at 24 V. The motors draw what their drivers are set to give (see The motors), and the Orange Pi branch tops out at the buck converter's 25 W. The supply, the jacks and the cables are well inside their ratings in normal use.