Uncle Magic's Liquid Turntable

Uncle Magic's Liquid Turntable: Hardware Overview#

How the turntable is built: what the parts are, how they are connected, how power flows, and what protects what. For operating it, see the User Guide. For exact pin-by-pin detail, see the README; for the reasoning behind design decisions, the detailed README; for their history, the changelog; the KiCad files in kicad_mainboard/ are the authority on connections.

1. System overview#

The turntable is built from two printed circuit boards, a stepper motor and the panel controls, fed by one external 5 V / 12 V supply.

PartWhat it is
Mainboard100 × 100 mm board that carries three plug-in modules, the motor driver, the power protection and every connector. It is the brain of the unit.
LED ring boardA second board in this repository: 178 addressable LEDs on an 8 inch (203 mm) board with a centre hole. It is fixed near the top of the case and does not turn with the platter (section 6).
Stepper motorA NEMA 17 bipolar stepper, joined directly to the platter by a flexible shaft coupler. No gearbox.
Panel controlsFour rotary encoders (with push buttons) and a tap button, wired to the mainboard through small headers. There is no separate panel board.
Power supplyOne 5 V / 12 V supply (Mean Well RD-85A): 12 V for the motor, fan and electronics, 5 V for the LEDs. Outside the board.

Three computers share the mainboard, all running at 3.3 V:

ModuleRole
Waveshare ESP32-S3-ETHThe main controller. Runs this project's firmware: tempo, speed control, web pages, OSC, encoders. Has wired Ethernet (W5500) and Wi-Fi.
BigTreeTech TMC2209 (stepper driver module)Drives the motor coils. Configured over a one-wire serial link.

All three are socketed: they plug into female headers, so each can be replaced or reflashed.

Power flow#

Power flow The 12 volt supply enters at connector J-PWR-12V and goes through fuse F1 and diode D1 to the motor rail, which feeds the motor driver, the fan header and the 3.3 volt regulator. The regulator feeds the main controller, the I/O expander and the encoders. The 5 volt supply enters at the separate connector J-PWR-5V. The ring path goes through the reverse-polarity FET Q5 to the LED ring. A diode D33 taken straight from the input feeds the two LED signal buffers, U3 and U5. 12 V side 5 V side 12 V supplyexternal 5 V supplyexternal J-PWR-12VJST XH, 2 pin J-PWR-5VMini-Fit Jr, 4 pin F1 fuse2 A PTC D1 diodeblocks reverse +12V_MOTOR200 µF bulk, TVS,bleeder TMC2209 + fanVM and fan power U2 regulator12 V to 3.3 V, 2 A +3V3 ESP32-S3-ETHTMC2209 logic,expander, encoders D33 diodefrom the 5 V input U3, U5 buffersLED data and clock Q5 FETreverse block +5V_LED_RINGabout 7 A, TVS D32 LED ring178 LEDs, via J5
Power flow: 12 V and 5 V supplies through fuses and protection to the rails and loads

Signal flow#

Signal flow The ESP32-S3-ETH main controller talks to the network, reads the encoders and tap button directly and the knob buttons and fan tach through an I2C expander, drives the TMC2209 motor driver with step, direction and enable plus a serial link, sets the fan speed with a PWM line, and drives the LED ring itself: data and clock go through two level buffers and their own cable to the ring. NetworkOSC and web pages ESP32-S3-ETH main controller tempo, speed, web, OSC Panel controls4 encoders, tap button encoders, tap 3 knob buttons,fan tach,3 spare encoders MCP23017I/O expander I2C PWM Fan4-wire 12 V, via J-FAN tach step, dir, enable serial link TMC2209motor driver MotorNEMA 17 data, clock U3, U53.3 V to 5 V J-LED-SIGown cable LED ring178 LEDs
Signal flow: main controller, panel, motor driver, expander and lighting

Platter support and bearings#

The platter is a 10 in (254 mm) by 1/4 in acrylic disc, about 380 g, turning at 17 RPM at most. The motor only drives it: the platter's weight is carried on three inexpensive flanged ball units pressed into the lid (flange on the lid top, ball about 3 mm above it), and the drive is a sliding joint. A 5 mm D-flat stub is clamped in the flexible coupler's top end, and the platter's hub slides on it with at least 10 mm engaged, so the shaft's height never holds the platter up (it can be about 4 mm too high or 8 mm too low). The enclosure notes (enclosure/MOTOR_MOUNT.md) have the dimensions and the sketch; the ball units, the hub and the stub are untested.

2. The mainboard#

Mainboard, top view
Mainboard, top view
Size100 × 100 mm, two copper layers, 1.6 mm, 1 oz copper (JLCPCB's default; see section 8).
MountingFour M3 holes (3.2 mm) at the corners.
Design toolKiCad 10 (kicad_mainboard/Mainboard.kicad_pcb)
SchematicA one-page index plus six function sheets, below. PDF: Mainboard_schematic.pdf

Schematic sheets#

SheetContains
PowerThe two power inputs J-PWR-5V and J-PWR-12V, the 12 V resettable fuse F1, diode D1, TVS diode D5, bulk capacitors and the reverse-polarity FET Q5. There is no 3.3 V regulator on the board: the ESP32-S3-ETH module makes +3V3.
ControllerSockets for the ESP32-S3-ETH (J1-H1, J1-H2; VSYS fed from +5V_LED_LOGIC, +3V3 taken from the module) and the boot-strap pull-up R23.
MotorSockets for the TMC2209 (J2-MODE, J2-MOTOR), the UART resistor, and the motor connector J3.
LEDThe ring data and clock buffers U3 and U5 (3.3 V to 5 V), their supply diode D33, the ring signal connector J-LED-SIG (which also brings in the ring's temperature sensor: D34, R65, R66, C16 to GPIO3) and power connector J5 with its TVS D32, and the fan header J-FAN with its PWM inverter Q6.
Panel IOThe TCA9555 I/O expander U1, its I2C pull-ups, and every encoder and button header.
Test pointsTP1 to TP13, the probe pads listed in section 3.

Module orientation#

Each module fits its socket only one way up. The board is silkscreened to match, but a module plugged in backwards would put power on the wrong pins.

ModuleHow it goes in
ESP32-S3-ETHRJ45 side up, with the RJ45 and USB-C end at the top edge of the board. The 72.8 × 21 mm module overhangs the board edge by about 16 mm, which is where the network socket and USB port are reached.
TMC2209Rotated 180° from the usual drawing: EN and VM at the bottom (panel-header edge), EN column on the right, VM column on the left. Check the module's own silkscreen first; a reversed module will be destroyed.

Key parts#

RefPartJob
U374AHCT1G125Lifts the LED data signal from 3.3 V to 5 V
U1TCA9555PWR (TSSOP-24)I2C input/output expander (address 0x20), fixed 100 k pull-ups on its inputs (the firmware also drives an MCP23017, for older boards)
D1SS34 Schottky (SMA)Stops reverse 12 V and stops motor energy flowing back
D5SMBJ15AClamps voltage spikes on the 12 V rail (about 24 V at its rated surge current)
D4PESD3V3S1ULStatic-discharge protection on 3.3 V
Q5SP30P03NK (P-channel FET)Blocks a reversed 5 V feed on the ring line
D32SMBJ5.0AClamps spikes on the ring's 5 V
D33SS34 SchottkyFeeds +5V_LED_LOGIC (the two LED buffers and the module's VSYS, so all of the 3.3 V logic) from the 5 V input and blocks a reversed supply
D34, R65, R66, C16PESD3V3S1UL, 10 k 1 %, 1 k, 100 nFRing temperature input: ESD clamp and pull-up at J-LED-SIG pin 5, then a 1 k / 100 nF filter into GPIO3
Q62N7002Inverts the fan PWM signal
F12 A hold resettable fuse (PTC), 1812Soldered on; trips at about 3.5 A and resets once the fault is gone and it has cooled
C6100 µF 35 V (SMD, same part as C8/C11)Bulk capacitor on the 5 V input; the ring has its own 1000 µF CP1 at its connector
C8, C112 × 100 µF, 35 VBulk capacitance for the motor driver
R231 kHolds the motor-driver enable pin high (driver off) during boot
R26, R6210 kKeep the LED data and clock lines low while the ESP32 starts, so the ring doesn't flash
U3, U574AHCT1G125Lift the ring's data (GPIO18) and clock (GPIO2) from 3.3 V to 5 V
R63, R6433 ΩSource resistors at the buffer outputs, to damp the signal cable
R274.7 k, 1206Bleeder across the 12 V capacitors so the rail drains after power-off

3. Power#

Rails#

RailSourceFeedsProtection
+12V_MOTOR12 V supply via J-PWR-12VMotor driver supply; fan header J-FAN (about 0.1 A)F1 2 A fuse; D1; 200 µF bulk; D5 TVS; R27 bleeder
+3V3The ESP32-S3-ETH's own JW5060 buck, from VSYS = +5V_LED_LOGICESP32-S3-ETH, TMC2209 logic, TCA9555, encoder pull-ups, the ring NTC pull-upThe buck limits its own current; D4 is static protection only
+5V_LED_RING5 V supply via J-PWR-5V pins 1 and 3LED ring; through D33 (from before Q5) the LED buffers U3/U5 and the module's VSYS, so all of the 3.3 V logic7.5 A blade fuse in the harness at the supply; Q5 reverse-polarity FET; D32 TVS

The three rails do not share a protection path: a fault on one cannot ride through into another. The 12 V supply feeds only the motor driver and the fan. The 5 V supply feeds the LED ring and, through D33, the logic: the two signal buffers and the module, whose own regulator makes +3V3 for everything else.

Design choices worth knowing#

Power budget#

RailTypicalWorst case
3.3 V logic0.3 to 0.45 A, Wi-Fi offAbout 0.7 A, Wi-Fi on (2 A available)
12 V motor and fanThe motor runs at 800 mA per phase; about 0.5 A from the supplyF1 holds 2 A (less when hot)
5 V ringDepends on colour and brightness; the LED engine holds each LED to 36.6 mA and the ring to about 4.5 AA single colour at full brightness about 3.2 A (18 mA × 178); white would be 9.6 A at the full current field (31) without the limits, which must never be lifted

Mains side: two switch-mode supplies together draw about 100 to 120 W in steady state, with a 20 to 60 A inrush for a few milliseconds at switch-on. A slow-blow fuse and a switch rated at 10 A or more are recommended.

Power connectors J-PWR-5V and J-PWR-12V#

The two supplies come in on two different connectors, so a 12 V plug cannot be put into the 5 V header.

J-PWR-5V: Molex Mini-Fit Jr, 4 positions (2 × 2). The 5 V is on two pins because of the ring current (about 3.3 A each at full white, 2.3 A at the LED engine's limit).

PinNetPinNet
1+5V2GND
3+5V4GND

J-PWR-12V: JST XH, 2 positions (B2B-XH-A, 3 A; plug housing XHP-2 with SXH-001T-P0.6 terminals, wire 22 to 28 AWG). Pin 1 is +12 V and pin 2 is GND, as printed on the board. A different connector family from the 5 V input, so the two cannot be swapped.

Both connect ahead of the fuses. Never plug or unplug either with power on.

The supply (Mean Well RD-85A)#

The chosen supply is the Mean Well RD-85A, one dual-output unit that gives both rails. The board needs 5 V for the LED ring only (about 6.5 A at full white, 7.3 A at the LEDs' maximum drive current, 4.5 A with the LED engine's current limit) and 12 V for everything else (about 2.5 A worst case), about 70 W together. Prices below are from retailer listings on 2026-10-07 and were not verified; check stock and the datasheet before ordering.

Option5 V12 VApprox. priceNotes
Mean Well RD-85A (chosen)8 A rated, 10 A range4 A rated, 5 A range$27-41One box, one mains connection. The only limit on the ranges is total power (88 W), and the board's worst case is about 70 W; the ring's full white (6.5 A) is inside the 8 A rating.
Alternative: Mean Well LRS-75-5 plus LRS-35-12 (two supplies)14 A3 Aabout $30Full ring current with margin; two boxes and a split mains feed behind the single switch.
Alternative: Mean Well MD-100S (about 100 W dual output)10 A4.2 Anot foundSimilar to the RD-85A with a little more headroom.

Do not use the RD-85B: it is 5 V / 24 V. The board's motor rail is 12 V.

RD-85A points from Mean Well's specification (RD-85-SPEC, 2024-11-22):

Wiring the RD-85A to J-PWR-5V and J-PWR-12V#

The RD-85A has a 7-position screw terminal block: AC L, AC N, FG (earth), then the DC side with one common (COM), +V2 (12 V) and +V1 (5 V). The two outputs share COM, which matches the board's single ground.

RD-85A terminalGoes toWire
+V1 (5 V)the 7.5 A inline fuse, then J-PWR-5V pins 1 and 3 (two wires after the fuse, one per pin)14 or 16 AWG to the fuse, 16 AWG each after it
COMJ-PWR-5V pins 2 and 4 (one wire each) and J-PWR-12V pin 216 AWG for the 5 V pair, 22 AWG for the 12 V lead (or one 16 AWG per terminal screw)
+V2 (12 V)J-PWR-12V pin 122 AWG
FGmains earth, and the enclosure18 AWG

Harness build and test (before first connection)#

Q5 (a P-channel FET in the 5 V ring line) blocks a reversed 5 V feed, and the 5 V and 12 V inputs are separate connectors of different families, so a 12 V plug cannot go into the 5 V header. The remaining mistake is a wire crimped into the wrong cavity of the 5 V plug (12 V on a 5 V pin), and nothing on the board catches it. D32, the SMBJ5.0A on the ring rail, conducts from 6.4 to 7.0 V and clamps at 9.2 V at its rated surge; a board crowbar was tried and dropped, because it could not clamp much lower without tripping on a healthy supply (see the CHANGELOG). A 12 V mis-wire from a supply that can deliver several amps would damage the ring and probably D32. So the harness is tested before it meets the board, every time one is made or modified.

Colour code and labels. Use the same colours at both ends and put a printed heat-shrink label on each wire:

NetColourPinsWire
+5VRedthe fuse holder, then J-PWR-5V 1 and 314 or 16 AWG to the fuse, then 16 AWG each
GND (COM), 5 V sideBlackJ-PWR-5V 2 and 416 AWG each
+12VYellowJ-PWR-12V 122 AWG
GND (COM), 12 V sideBlackJ-PWR-12V 222 AWG
Mains earth (FG)Green/yellownot on these connectors18 AWG

Never use red for anything but +5V. Keep the harness short and twist each supply wire with a ground.

Indicator jig (optional, about 5 USD, an evening). A small perfboard with a mating 2x2 Mini-Fit Jr header and a JST XH 2-pin header, and four indicator circuits, each drawing only a few milliamps:

IndicatorWiringLights when
5 V good (green)5 V pin 1 and pin 3 (one diode each) to a 1 kΩ and a green LED to GNDpins 1 and 3 carry about 5 V
12 V good (green)XH pin 1 to 3.3 kΩ and a green LED to GNDXH pin 1 carries about 12 V
12 V on a 5 V pin (red)5 V pin 1 and pin 3 (one diode each) to a 6.8 V zener, 470 Ω and a red LED to GNDa 5 V pin sees more than about 8.5 V
Ground continuityGND pins (5 V pins 2 and 4, XH pin 2) each to a test pad, meter reads below 0.1 Ω between them

Reversed polarity lights nothing (the LEDs block it), so both green LEDs must be on and the red LED off. Add 4 mm test pads for +5V, +12V and GND so a meter can read the voltages. The jig is not a substitute for the meter readings below; it makes a wrong harness obvious at a glance.

Test points on the board. Thirteen pads and loops are silkscreened with what they carry; none is fitted as a part (they are not in the BOM or placement files).

LabelNetWhereUse
GND (three loops)GNDtop left, right of the J1-H1 socket, and beside ENscope or meter ground; a hook probe or a wire loop clips on
12V+12V_MOTORleft, beside D1supply after the input connector
12V F1+12V_MOTOR_F1right of D1after F1: 12 V here and not at 12V means F1 has tripped (switch off, remove the fault, let it cool)
3V3+3V3right of the ESP32-S3-ETHlogic supply
5V+5V_LED_RINGleft, above J5ring supply after Q5
DAT 3V3LED_DATA_3V3right of the moduleGPIO18, the ring data before R18
DAT, CLKLED_DATA, LED_CLKin the LED block right of the modulethe 3.3 V data and clock at the U3/U5 inputs
SCL, SDAI2C_SCL, I2C_SDASCL below the DAT 3V3 pad, SDA at the right edgepanel expander bus
ENENABLEbeside R23TMC2209 enable (low = driver on)
LEDLED_DATAbeside EN3.3 V ring data before the level shifter

STEP, DIR and the TMC2209 UART lines run only under the plugged-in modules, so there is no pad for them: probe them on the pins of the module itself.

Checklist (supply unplugged from the mains for steps 1 and 2; use a multimeter):

  1. Harness, supply end disconnected.
    • [ ] Continuity (below 0.1 Ω) from each plug pin to the far end of its wire: J-PWR-5V pins 1 and 3 to the +5V lugs, J-PWR-12V pin 1 to the +12V lug, J-PWR-5V pins 2 and 4 and J-PWR-12V pin 2 to the COM lugs.
    • [ ] The 12 V plug is an XH 2-pin and the 5 V plug a Mini-Fit 4-pin: neither fits the other's header (try it, unpowered).
    • [ ] No continuity (no beep) between any two of: +5V group, +12V group, COM group.
    • [ ] Each crimp tugs without moving (pull each wire firmly).
  2. Harness on the supply, mains still off.
    • [ ] Terminals are tight and no strand is exposed; FG is on the enclosure and mains earth.
    • [ ] Still no beep between +5V, +12V and COM at the plug.
  3. Supply on, plug not connected to the board. Read each at the plug, black lead on a COM pin:
    • [ ] J-PWR-5V pins 1 and 3: 4.75 to 5.5 V, then trim to 5.10 V. Positive on the meter, not negative.
    • [ ] J-PWR-12V pin 1: 11.4 to 12.6 V, positive.
    • [ ] Jig: both green LEDs on, the red LED off.
  4. Supply off. Board connected, ring cable not connected.
    • [ ] Plug in J-PWR-5V and J-PWR-12V (each keyed, fully seated, the Mini-Fit latch clicked).
    • [ ] Resistance between the +12V rail and GND at C8 is not a short (it rises from a low reading as the capacitors charge, then climbs above 1 kΩ).
  5. Supply on, F1 is soldered on, ring cable still off.
    • [ ] 12 V at C8, 3.3 V on the +3V3 rail (a pad of C9, or any 3.3 V socket pin).
    • [ ] Nothing hot after a minute (fingertip on D33, the ESP32-S3-ETH module and the TMC2209 carrier).
  6. Ring cable check, supply off. Ring end of the cable:
    • [ ] Pin-for-pin continuity from J5 to the ring's J1 (straight through, no crossed wires). Pin 2 is +5 V on the mainboard but not connected on the ring, so it should show no continuity at the ring end. Pin 1 is unused at both ends.
    • [ ] Signal cable: J-LED-SIG to the ring's J2, pin for pin (1 data, 2 ground, 3 clock, 4 ground), no crossed wires.
    • [ ] +5V and GND at the ring end are not shorted (no beep, and no steady reading below about 100 Ω).
  7. Supply on, ring cable still off.
    • [ ] 5.1 V on J5 pins 5 and 6 (and pin 2, which is tied to +5 V), GND on pins 3 and 4; pin 1 is unconnected. About 0 V on J-LED-SIG pins 1 and 3 before the firmware starts.
  8. Switch off, connect both ring cables, switch on. Check the limits on the LEDs tab first (below).
    • [ ] The ring stays dark at power-on (R26), then shows the set colour.
    • [ ] 5 V at J5 pins 5 and 6 with the ring at full white (briefly) is above about 4.7 V.
  9. Tag the harness with the date and your initials. Any change to the harness voids the tag.

Before the first power-up with the ring, check on the LEDs tab of the settings page that the ring limit is 4500 mA and the per-LED limit 36.6 mA (the defaults, with the SK9822 current at 31). Without them full white would draw about 9.6 A, over the RD-85A's 8 A. The 4500 mA limit holds the ring to about 4.5 A, the 70% of full scale the LEDs' datasheet allows for three-colour use.

If a green LED is off or a red LED is on, stop. Do not connect the board. Re-check the crimps and which wire went into which terminal; a swapped or mis-pinned wire is far cheaper to fix on the harness than on the board.

4. Signals and control#

Main controller pin use#

GPIOSignalGoes to
46STEPTMC2209 step input
48DIRTMC2209 direction input
0ENABLETMC2209 enable (active low); R23 holds it high through boot
47 / 15UART TX / RXTMC2209 one-wire serial, via R9 (1 k)
18 / 2LED data / clockRing data and clock (SPI for SK9822) through U3/U5 to J-LED-SIG
17 / 16I2C SDA / SCLTCA9555 expander
38 / 39Main encoder A / BPanel (its button is on the expander, P0_3)
1 / 40Hue encoder A / BPanel
3Ring temperatureJ-LED-SIG pin 5 through R66 (1 k) and C16, pulled up by R65 (10 k 1 %); ADC1_CH2
43 / 44Saturation encoder A / BPanel
41 / 42Value encoder A / BPanel
45Fan PWMQ6 pulls the fan's PWM input low (inverted); undriven = fan at full speed
21Tap buttonPanel
9 to 14Ethernet chipInside the ESP32-S3-ETH module
19 / 20USBProgramming and log port

Every pin on the ESP32-S3-ETH socket was checked against Waveshare's published pinout, and the TMC2209 sockets against their makers' pinouts.

The motor driver#

The lighting path#

  1. The main controller's LED engine draws each frame (colour, effect, beat flash, current limit), about 100 a second, and sends it to the ring as SK9822 data and clock on GPIO18 and GPIO2 (SPI, 2 MHz).
  2. R18 and R61 (330 Ω) feed the two buffers.
  3. U3 (data) and U5 (clock) lift them from 3.3 V to 5 V (they must be the AHCT part, whose inputs accept 3.3 V as a "high"), and R63/R64 (33 Ω) feed J-LED-SIG and the signal cable.
  4. R26 and R62 hold both lines low while the ESP32 starts, so the ring stays dark rather than flashing. On the ring, R1 and R2 (470 Ω) take the lines into D1.

The VAL knob picks one of the engine's presets (a press of its button makes it the brightness) and EXP1 a palette; HUE and SAT shift and fade the colours of whatever the preset draws (the User Guide's Presets and the knobs).

Panel controls and the expander#

Encoder header pin order#

All seven encoder headers use the same five pins, in this order:

Pin12345
Signal+3V3SW (push)DTCLKGND

(The board is silkscreened V, S, D, C, G.) The tap button header has two pins: GND and TAP. Suggested panel wire colours: main encoder blue, hue red, saturation green, value yellow, buttons orange, ground black.

Network#

Wired Ethernet comes from the W5500 chip on the ESP32-S3-ETH module. Wi-Fi is the module's own 2.4 GHz radio. Both are active at once and share the same OSC port and web pages.

5. Connector reference#

RefConnectorUse
J-PWR-5VMolex Mini-Fit Jr, 4 pin (2×2)5 V in: pins 1 and 3 +5 V, pins 2 and 4 GND (see above)
J-PWR-12VJST XH, 2 pin (B2B-XH-A)12 V in: pin 1 +12 V, pin 2 GND (see above)
J3JST-XH, 4 pinMotor: 1 A+, 2 A−, 3 B+, 4 B− (pins 1+2 are one coil, 3+4 the other)
J5JST VH, 4 pin, vertical (B4P-VH), 3.96 mmLED ring power: 1 and 2 +5 V, 3 and 4 ground
J-LED-SIGJST XH, 5 pin (B5B-XH-A), 2.5 mmLED ring signal: 1 data, 2 ground, 3 clock, 4 ground (5 V), 5 ring thermistor
J1-H1, J1-H2Two 20-pin sockets (1 × 20 each), 2.54 mmESP32-S3-ETH
J2-MODE, J2-MOTOR8-pin sockets, 2.54 mmTMC2209 driver module
J-ENC-MAIN, -HUE, -SAT, -VAL5-pin headersThe four panel encoders
J-ENC-EXP1 to 35-pin headersExpansion encoders: EXP1 palette, EXP2 effect speed, EXP3 spare
J-BTN-TAP2-pin headerTap button
J-FAN4-pin keyed header (KK254 style)4-wire 12 V fan (not 5 V): 1 ground, 2 +12 V, 3 tach (to the expander, P0_6, through 4.7 k), 4 PWM. Powered straight from the 12 V motor rail

The motor connector follows the common stepper wiring, so a motor cable wired black, green, red, blue (A+, A−, B+, B−) plugs straight in. If the platter turns the wrong way, swap two wires of one coil, or tick Reverse motor direction on the settings page.

6. The LED ring board#

The ring board is the second of the project's two printed circuit boards and lives in this repository (kicad_led_ring_offset/, its own KiCad project), so the repository holds every part of the physical build. It is fixed near the top of the case and does not turn with the platter.

Size203.2 x 203.2 mm (8 inch), two layers; 1 oz copper (JLCPCB's default), with the 5 V harness fuse
LEDs178 x SK9822-A (OPSCO, APA102-type with data and clock, 5050 6-pin package, RGB, 5 V with a 5.3 V maximum, 27 kHz PWM so it films without flicker), on a 12.7 mm (0.5 inch) pitch in an offset "brick" pattern, wired as one long chain (D1 at the top to D178 at the bottom)
Per LEDOne 100 nF capacitor each (178 in total), on the top side beside its LED: every part is on the top, so JLCPCB assembles one side only
Other partsCP1, a 1,000 uF 16 V surface-mount bulk capacitor (D10 x L10.2); R1 and R2, 470 ohm in series with the data and clock inputs (the datasheet asks for both); TH1, a 10 k NTC (Murata NCP18XH103F03RB, B 3434 K, 0603) on the top side just inside the inner LEDs, for the ring temperature; four M3 mounting holes
ConnectorsJ1, JST VH 4 pin, side entry (B4PS-VH), in the bottom-right corner about 4 mm in from the bottom edge, with its opening toward the left: power, pin-for-pin the same as the mainboard's J5. J2, JST XH 5 pin (B5B-XH-A): data, clock and the thermistor, pin-for-pin the same as the mainboard's J-LED-SIG
Current18 mA per colour at the full 5-bit current field (31, the firmware default), 12.2 mA at the maker's recommended 22. The firmware holds each LED to 36.6 mA (full white at field 22, the maker's heat limit), so single colours run at the full 18 mA and white at about 68%; full white on every LED would be 9.6 A at 31 and 6.5 A at 22. The LED engine's limiter holds it to about 4.5 A, the 70% of full scale the datasheet allows for three-colour use
MountingFour M3 holes on a 183.8 mm square, fixed near the top of the case; does not rotate with the platter. An aluminium heat plate goes under it (see the enclosure notes, enclosure/MOTOR_MOUNT.md): only J1 and J2 have pins through the board, so the plate needs one closed window there
Check statusDesign-rule check with schematic parity: 0 violations, 0 unconnected, 0 parity issues. Electrical-rule check: 0

Cables to the mainboard#

Two straight-through cables: a four-wire power harness (JST VHR-4N housings and SVH-41T-P1.1 crimps, 16-18 AWG, at both ends) from J5 on the mainboard to J1 on the ring, and a five-wire signal cable (JST XHP-5 housings) from J-LED-SIG to J2, each signal beside a ground and the thermistor on pin 5. No crossed wiring or adapter is needed. Keep the signal cable away from the motor cable.

PinMainboard J5Ring J1
1, 2+5 V ring supply+5 V
3, 4groundground
PinMainboard J-LED-SIGRing J2
1LED_DATA_OUT (5 V data from U3 through R63)LED_DATA_RAW, through R1 (470 ohm) to D1 SDI
2, 4groundground
3LED_CLK_OUT (5 V clock from U5 through R64)LED_CLK_RAW, through R2 (470 ohm) to D1 CKI
5NTC_RING_J: R65 10 k 1 % pull-up to +3V3, D34 ESD clamp, then R66 1 k / C16 to GPIO3NTC_RING, TH1 (10 k NTC) to ground

Wire sizes.

The signal cable's two grounds sit in parallel with the power harness's grounds, so they carry part of the ring's return current: about 15 to 25 %, or about 1 A at the 4.5 A limit. That is harmless at 22 to 24 AWG. With thinner wire, a power plug whose ground pins are not fully home would push the whole ring current through the signal cable. Always plug and unplug both cables with the power off.

Voltage drop and brightness at the platter#

These figures are simulated or estimated, not measured.

Ring copper. The ring's own copper was modelled from the filled pours, with every LED drawing the same current. At 1 oz the worst LED (D1, farthest from J1) sees about 8 mV of drop at 4.5 A, counting +5 V and ground together (2 oz would halve it for about $3 more per board at 50 to 100 boards, roughly double the bare board). The busiest copper carries about 1.4 A per mm of width at 9.6 A, and 1.4 A per mm is still inside 1 oz (IPC-2221 gives about 2.4 A for a 1 mm external 1 oz track at a 10 °C rise). J1's pads join the pours solidly, with no thermal-relief spokes, so there is no narrow neck at the connector. A fault's current is capped by the 7.5 A harness fuse (section 3).

Whole path at the 4.5 A limit. Most of the loss is in contacts and wire, not copper:

Part of the pathAt 4.5 A
Mainboard copperabout 12 mV
Q5about 27 mV
Mated connector pairs (the Mini-Fit input, two VH pins each way on the ring cable)up to about 135 mV at maximum contact resistance (about half that typically)
0.5 m of 18 AWG harnessabout 47 mV

From a 5.1 V supply the LEDs see 4.86 V or more. Do not raise the supply to make up the drop: the SK9822's limit is 5.3 V, and it would see the full supply whenever the ring is dark.

Brightness at the platter. These are estimates from the datasheets' typical luminous intensity, which varies by about ±30 % between parts. The 1/4 in acrylic platter is 1 in above the LEDs; 69 % transmission at 1/8 in works out to about 52 % at 1/4 in. About 92 % of the ring's light reaches the platter. Inside 90 mm of the centre, the platter top is lit evenly to within about 0.64 (darkest to brightest); outside about 110 mm it gets only about 18 % of the centre's light, because the LEDs end at a 96 mm radius.

Platter top, cd/m² (r < 90 mm)WhiteRedGreenBlue
SK9822-A, field 31, per-LED limit 36.6 mA (default)about 2,460 (4.5 A)about 1,350about 3,180about 730
SK9822-A, field 22about 2,460 (4.5 A)about 915about 2,150about 490
SKC6812RV ring (archived), for comparisonabout 3,150 (4.5 A)about 990about 2,890about 600

For scale, a phone screen is 500 to 1,000 cd/m² and an indoor LED video wall 800 to 1,500. White is set by the 4.5 A limit, and the SK9822-A gives about 20 % less light per amp than the SKC6812RV. Single colours draw a third of white's current (3.2 A at field 31), so the ring limit does not hold them, and they are where the SK9822-A is brighter.

The right-angle header was chosen for the ring so the cable enters from the side and fits the low mounting location; the mainboard uses a vertical header.

Strain relief at J1. The ring hangs from the lid on four standoffs, which easily carry its own weight (about 190 g). The load to guard against is the harness: a stiff four-wire cable carrying up to about 7 A pulls on a side-entry connector near the board edge, and plugging and unplugging it pushes there too. Clamp or tie the cable to the tray or the lid a few centimetres from J1, with a loop of slack between the clamp and the connector, so the board never carries the cable's weight or stiffness. When fitting the ring, put all four standoff screws in loosely and then tighten them evenly, so a slightly bowed board is not pulled flat against its 0603 capacitors. On the board, the data line (J1 pin 1, the one thin trace at the connector) now leaves its pad straight up, away from the cable's pull, and tapers from 0.5 mm to 0.2 mm over about 12 mm, so a tug on the connector does not load a thin neck at the pad. (A straight connector on the back was considered and not adopted: its plug stands 15 to 20 mm off the board, which gives a sideways pull about three times the leverage, and through-hole parts on the bottom side are not part of JLCPCB's normal through-hole assembly.)

Layout and power copper#

Parts and ordering#

PartReferenceLCSCJLCPCB tierQty
SK9822-A 5050 clocked RGB LED (OPSCO, 27 kHz PWM, pin 1 = SDI, 2 = CKI, 3 = GND, 4 = VDD, 5 = CKO, 6 = SDO, checked against the maker's datasheet on 2026-11-09)D1 to D178C5378730Extended178
100 nF 0603 X7R, 50 VC1 to C178C14663Basic178
470 ohm 0603, 1 %R1, R2C23179Basic2
1,000 uF 16 V SMD electrolytic, D10 x L10.2 (ROQANG RVT1C102M1010)CP1C72470not checked1
10 k NTC 0603, 1 %, B 3434 K (Murata NCP18XH103F03RB)TH1C13564Extended1
JST VH 4 pin, side entry (B4PS-VH)J1C157996Extended1
JST XH 5 pin, vertical (B5B-XH-A)J2C157991Extended1

The Gerbers, BOM, placement files and cost roll-up are in kicad_led_ring_offset/jlc_export/, generated by kicad_led_ring_offset/tools/build_jlc_assembly.py (re-run it after any board change).

Two earlier comparison layouts (a plain square grid and a true hexagonal packing, neither fully routed) remain in the separate MegaMagicTurntable repository as design history; this offset layout is the one with real order files.

7. Motor and mechanics#

8. Current, heat and protection notes#

9. Manufacturing and files#

ItemWhere
Schematic (sources)kicad_mainboard/*.kicad_sch, rendered to Mainboard_schematic.pdf
PCBkicad_mainboard/Mainboard.kicad_pcb, renders Mainboard_render_top.png and _bottom.png
Manufacturing fileskicad_mainboard/jlc_export/: Gerbers and drill, plus bills of materials and part-placement files in two versions (surface-mount only, or full assembly)
Ring boardkicad_led_ring_offset/ (KiCad project, PDFs, reports) with its own jlc_export/ and tools/build_jlc_assembly.py (section 6)
Check reportserc_report.rpt (electrical rules) and drc_report.rpt (layout rules), in each KiCad folder
Part-number toolkicad_mainboard/tools/build_jlc_assembly.py, which rebuilds the bills of materials from the board
Test pointskicad_mainboard/testpoints.kicad_sch; tools/add_test_points.py places the pads on the board

Ordering from JLCPCB. Surface-mount only: 86 parts, 254 solder joints. Full assembly (through-hole parts too): 104 parts, 370 joints (counted from the files by tools/build_jlc_assembly.py; see jlc_export/README.md). Every part has an LCSC number (JLCPCB re-checks stock when you upload). Notable ones: expander U1 TCA9555PWR C465732, data buffer U3 C7484, TVS D5 C113988, bulk capacitors C6, C8 and C11 C176683 (an "extended" part: confirm stock when ordering).

Fuses. The board has no blade-fuse clips. F1 is a soldered resettable fuse (RUILON C20812, about $0.09) and the 5 V fuse is a standard 7.5 A ATO blade fuse in an inline holder in the harness (section 3), bought with the harness parts, not from JLCPCB. A through-hole ATO holder on the board was considered and not adopted: the only well-stocked one (Littelfuse 178.6165.0002, C207061) costs about $1.91 each at 100.

Ring board. 359 surface-mount parts plus three through-hole parts, about $18 of components (section 6).

Before ordering the board, check:

10. Verification status and limits#

Checked on the computer

Checked on a bench unit. A standalone ESP32-S3-ETH running the current firmware boots, joins Wi-Fi, announces liquidturntable.local and serves its web pages. The automatic renaming of a taken hostname was tested against a name owned by a PC on the network: the unit detected the clash and announced itself as -1.

Not yet verified. No fully assembled mainboard has been powered up yet. Still to confirm on real hardware: the motor driver link and motor behaviour, the boot straps with the driver module fitted, the LED engine and ring, encoder feel, and the fuse clip fit with real fuses. The project README lists these under "Open items".

Known limits