Skip to the content
4 layers199.9 × 69.3 mmZaphod controller, the printed circuit board in 3D

A DIY high performance delta-bot for fun, and lightpainting...

Size
199.9 × 69.3 mm
Copper layers
4
Thickness
1.6 mm
Parts
251
Nets
215
Pads
839
Tracks, vias
2,078, 388
Pours
56
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
13 Mar 2018
Updated
30 Apr 2025

Overview

Zaphod controller is an open-source printed circuit board by Scottapotamas, from the Scottapotamas/zaphod-bot repository on GitHub. It is a 4-layer board of 199.9 × 69.3 mm with 251 parts on 215 nets, routed with 2,078 tracks and 388 vias.

It is built around the ABS06-107-32.768KHZ, ACS711KEXLT-15AB-T and ISL85410FRZ, with the ULN2003A, ADUM3160BRW and LM5116MH among its other parts. Its parts include 80 capacitors, 69 resistors, 24 diodes, 11 ICs and 10 connectors. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

10

README

README.md

ZaphodBot Lightpainting Robot

lightpainting-photo

ZaphodBot is a DIY, 'high-end' rotary delta robot designed primarily for high-fidelity light painting.

It's served as a personal project where the majority of mechanics, electronics, firmware and higher level software has been designed from scratch (because why not).

I've detailed the design motivation and build in a more longform post here.

Mechanics

Render of V1 Delta Hardware

CAD files for the robot are in Solidworks 2015 format, and can be found in /mechanical/design/.

The power supply and main electronics stacks live inside the hexagonal structure which forms the base, with servos mounted on top, connected directly to the arms.

To manufacture parts, see /mechanical/design/manf_outputs/ for drawings, STEP/DXF files. SLA 3D printing was used for joints, and CNC machining for the aluminium parts and carbon plates.

All fasteners are standard metric hex bolts, with the exception of some bottom mounting holes which are 1/4in and 3/8in threaded holes to suit typical camera tripods.

Electronics

The PCB was designed using KiCAD 5, located in electronics/zaphod-controller. Gerber outputs are available with BoM, but minor design revisions are needed to improve wire-loom layout and debug/expansion connector positions.

Assembled PCB

It's based on a STM32F4 processor, provides regulated 3/5/12V from the 75V system supply, and manages the servos, internal IO and external IO.

  • Power input (75V from Teknic IPC) through 2-pin MOLEX SABRE connector.
  • Clearpath servo motors connect with 8-pin MOLEX MicroFit for signalling, and 4-pin MicroFit for 75V supply.
  • Internal IO NanoFit connectors provide PWM fan support, UART, I2C, 2x ADC/DAC, and PWM. These can also be used as generic IO. See /electronics/zaphod-controller/Outputs/zaphod-controller-sch.pdf for pinouts.
  • Internal IO 2.54mm header strip provides switchable+fused 3.3V and USART, intended for wireless comms backpack in the future (likely ESP32 flavoured).
  • The 9-pin LEMO connector used for external expansion provides galvanically isolated USB and 4 isolated IO lines (2 inputs, 2 outputs). Pinout in /docs/connectors_pinouts.md.
  • The 7-pin LEMO connector supports a 4th Clearpath SD series servo, intended for use with rotating or linear stages. Pinout in /docs/connectors_pinouts.md.

Assembled PCB

Firmware

Microcontroller firmware (STM32) is in /firmware, is written in C, and can be built with a fairly standard arm-gcc-eabi-none toolchain.

I've used (and included config for) CLion as my main IDE, which is CMake based, though building with SW4/Eclipse shouldn't be too hard either.

Flashing the microcontroller is pretty standard as well, a 10-pin ARM CORTEX SWD socket is on the PCB, which connects to a STLink, Blackmagic Probe, or JLink programmer (used all three at various stages of this project).

User Interface

The user interface is built with Electric UI, and can be built and run by invoking arc start from /interface.

It facilitates control and monitoring of the hardware, along with toolpath generation, optimisation and visualisation pipelines.

User interface

Toolpath Generation

Toolpaths for lightpainting are created by exporting spline data from Blender using a Python script, and loading the output with the "Blender" tab in the UI.

The frontend UI is responsible for parsing the Blender scene and performing a series of move planning and TSP optimisation steps to reduce render times.

https://user-images.githubusercontent.com/460325/182141536-1118c95f-b80b-4199-9833-aa961b41ea9a.mp4

This screencap shows a Blender animation being loaded: the 'fast' plan completes within a second, then the multi-threaded TSP solver iterates on each frame to refine the path taken to render the particles.

Accessories

Light Painting

Light-painted spiral sphere

The light-painting 'brush' uses acrylic 1mm core fibre, connected to a 3x3W RGB LED.

The fibre is mounted to the effector with a turned acetal stalk (not documented), or with one of the SLA printed mounts found in /mechanical/fibre-couplers/.

The driver PCB is in /electronics/rgb-led-board/ along with manufacturing files and a simple Arduino test program. This board connects to zaphod-controller via the 8-pin NanoFit connector, which provides PWM+IO and power.

RGB LED driver

External E-STOP + IO Breakout Box

E-STOP Box

The 9-pin LEMO connector is used with a 2m cable, connecting to the breakout box via matching 9-pin LEMO. A Novelkeys Big Switch is used as an E-STOP, with the keyswitch light indicating motor state.

A 2.5mm stereo socket mounted in the box provides support for camera shutter release cable, in this case for a Canon N3 connector.

Parts

251
QtyValueFootprintReferences
31100n_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC1, C4, C16, C22, C24, C37, C38, C39, C40, C41, C42, C43, C44, C46, C47, C50 +15
15BAV99Applidyne_SOT:SOT95P240X110-3L16ND1, D6, D7, D8, D9, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23
1110K0_1608MApplidyne_Resistor:RESC1608X50NR3, R23, R36, R37, R38, R39, R55, R56, R61, R63, R70
91n_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC60, C61, C62, C63, C64, C66, C67, C68, C69
7100R_1608MApplidyne_Resistor:RESC1608X50NR32, R40, R41, R42, R43, R50, R51
71u_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC11, C12, C26, C34, C35, C36, C45
6100K_1608MApplidyne_Resistor:RESC1608X50NR5, R8, R9, R19, R25, R28
622u_X7R_3225MApplidyne_Capacitor:CAPC3225X170NC15, C17, C31, C32, C33, C72
510R_1608MApplidyne_Resistor:RESC1608X50NR49, R52, R53, R54, R62
522K_1608MApplidyne_Resistor:RESC1608X50NR10, R44, R45, R46, R47
410n_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC56, C57, C58, C59
410u_X7R_3225MApplidyne_Capacitor:CAPC3225X170NC3, C21, C75, C80
422R_1608MApplidyne_Resistor:RESC1608X50NR30, R31, R67, R68
422p_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC14, C29, C48, C49
42u2_X7R_4532MApplidyne_Capacitor:CAPC4532X180NC5, C6, C8, C9
43V3Applidyne_SOD:SOD3715X145ND10, D11, D12, D13
447u_TANT_7343MApplidyne_Capacitor:CAPPM7343X310NC25, C27, C28, C30
44K7_1608MApplidyne_Resistor:RESC1608X50NR33, R34, R65, R66
4ACS711KEXLT_15ABApplidyne_QFN:ACS-EX-12U6, U7, U8, U9
4FIDUCIALApplidyne_Fiducial:FID100X200FID1, FID2, FID3, FID4
4LOGOApplidyne_Logo:WARN_TRIANGLE_LOGO440X400LOGO6, LOGO7, LOGO8, LOGO9
4MOLEX_MINIFIT_JR_2x2_WAYApplidyne_Connector_Molex:Molex_Mini-Fit_Jr_5566-04A_2x02_P4.20mm_VerticalP2, P3, P4, P5
4MOLEX_MINIFIT_JR_2x4_WAYApplidyne_Connector_Molex:Molex_Mini-Fit_Jr_5566-08A_2x04_P4.20mm_VerticalP11, P12, P13, P14
30R_1608MApplidyne_Resistor:RESC1608X50NR20, R21, R22
31K_QUAD_ARRAY_1608MApplidyne_Resistor:R_Array_Concave_4x1608MR29, R35, R57
31u_X7R_2012MApplidyne_Capacitor:CAPC2012X110NC19, C20, C23
32K40_1608MApplidyne_Resistor:RESC1608X50NR4, R58, R59
3B3U-1000P_SPST-NO_SMDApplidyne_Switch:B3U-1000PSW1, SW2, SW3
3MNT_M3_PLATEDApplidyne_Mount:MTGP650H330MNT1, MNT2, MNT3
20.5A_1210L_PTCApplidyne_Fuse:FUSC3225X85L50NF1, F2
212K7_1608MApplidyne_Resistor:RESC1608X50NR7, R27
2130K_1608MApplidyne_Resistor:RESC1608X50NR1, R2
21K_1608MApplidyne_Inductor:INDC1608X95NFB1, FB2
2200V_350mW_SOT23Applidyne_SOT:SOT95P240X110-3L16ND2, D3
222u_MCSDRH73BApplidyne_Inductor:INDM7373X355L170X207NL1, L2
22N7002PApplidyne_SOT:SOT95P240X110-3L16NQ3, Q6
2ISL85410FRZApplidyne_QFN:QFN50P400X300X100-13T170X330NU1, U3
2NTC_10K_1608MApplidyne_Resistor:RESC1608X50NTH1, TH2
2PROBE_PADApplidyne_Test:TP200TEST6, TEST8
2Si7852DPApplidyne_SON:SON127P490X575X90-9T313X381NQ1, Q2
2ULN2003AApplidyne_SOIC:SOIC127P1030X265-18L87NU10, U11
1102K_1608MApplidyne_Resistor:RESC1608X50NR11
110K7_1608MApplidyne_Resistor:RESC1608X50NR15
110u2_PA2050Applidyne_Inductor:PULSE_PA2050L3
115p_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC10
116K9_1608MApplidyne_Resistor:RESC1608X50NR69
11K00_1608MApplidyne_Resistor:RESC1608X50NR60
11K2_1608MApplidyne_Resistor:RESC1608X50NR14
11M_1608MApplidyne_Resistor:RESC1608X50NR6
11R0_1608MApplidyne_Resistor:RESC1608X50NR18
11n5_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC13
12R2_1608MApplidyne_Resistor:RESC1608X50NR17
1330p_X7R_1608MApplidyne_Capacitor:CAPC1608X90NC18
133K2_1608MApplidyne_Resistor:RESC1608X50NR64
139K_1608MApplidyne_Resistor:RESC1608X50NR13
147R_QUAD_ARRAY_1608MApplidyne_Resistor:R_Array_Concave_4x1608MR48
147u_ELEC_100V_1350X1350MApplidyne_Capacitor:CAPAE1350X1350D1490DD450L470NC2
1750K_1608MApplidyne_Resistor:RESC1608X50NR16
191K_1608MApplidyne_Resistor:RESC1608X50NR26
19K53_1608MApplidyne_Resistor:RESC1608X50NR12
1ABS06-107-32.768KHZApplidyne_Crystal:XTALDFN200X120X60-2NX3
1ADUM3160Applidyne_SOIC:SOIC127P1032X265-16L87NU5
1ADUM5412Applidyne_SOP:SOP65P780X200-24L40NU12
1BC847BApplidyne_SOT:SOT95P240X110-3L16NQ5
1CLIP_HOOK_BLACKApplidyne_Test:KEYSTONE_5001TEST5
1CLIP_HOOK_BROWNApplidyne_Test:KEYSTONE_5115TEST1
1CLIP_HOOK_ORANGEApplidyne_Test:KEYSTONE_5003TEST4
1CLIP_HOOK_REDApplidyne_Test:KEYSTONE_5000TEST3
1CLIP_HOOK_YELLOWApplidyne_Test:KEYSTONE_5004TEST2
1CONN_01X02Applidyne_Connector_Wurth:61300211121P18
1CONN_01X06Applidyne_Connector_Wurth:61300611121P20
1CSTCE8M00G55ZApplidyne_Crystal:OSCSC-CSCTE-CERALOCKX1
1LED_GREEN_1608MApplidyne_LED:LEDC1608X80L40ND5
1LED_RED_1608MApplidyne_LED:LEDC1608X80L40ND24
1LED_YELLOW_1608MApplidyne_LED:LEDC1608X80L40ND4
1LM5116Applidyne_SOP:SOP21P65_720X780X200L75X30NU2
1LOGOApplidyne_Logo:FIRE_LOGO_320X420LOGO11
1LOGOApplidyne_Logo:BOLT_LOGO_310X490LOGO12
1LOGOApplidyne_Logo:WARN_TRIANGLE_LOGO440X400_MASKLOGO10
1LOGOApplidyne_Logo:BUG_LOGO250X250LOGO2

The 235 most common of 251 parts.

More from Scottapotamas/zaphod-bot

1
  • 2 layers24.1 × 17.8 mmRgb led board, the printed circuit board in 3D

    Rgb led board

    Scottapotamas/zaphod-bot

    A DIY high performance delta-bot for fun, and lightpainting...

    12 parts53

Similar boards

  • 2 layers116 × 122.5 mmMainBot, the printed circuit board in 3D

    MainBot

    ArnaudSchlumberger/MainBotPCB

    This project is part of Robot Télécom Strasbourg's work as part of our participation to the French Robot Cup.

    99 parts
  • 2 layers100 × 100 mmFuentes, the printed circuit board in 3D

    Fuentes

    darioGg3/PowerSuppliesTester

    97 parts1GPL-3.0
  • 2 layers56.3 × 62.4 mmLm5116, the printed circuit board in 3D

    Lm5116

    xiaokaizip/lm5116-digital-power

    c #define MCP41100ENABLE 0B00010011 #define MCP41100DISABLE 0B00100000

    86 parts1
  • 2 layers38 × 65 mmSpe source, the printed circuit board in 3D

    Spe source

    Scottapotamas/spe-marine-node

    Prototype project to build an underwater sensor node, powered by and communicating with the surface via Single Pair Ethernet (10BASE-T1L + 802.3cg)

    99 parts34MIT
  • 2 layers100 × 99.8 mmPre Ignition, the printed circuit board in 3D

    Pre Ignition

    OpenLogicEFI/Hardware

    Hardware is based off an open source project called Speeduino by Josh Stewart.

    152 parts19
  • 2 layers39.6 × 23.2 mmDetector, the printed circuit board in 3D

    Detector

    Ttl/detector

    RF power detector board design files

    52 parts20

Questions

How big is the Zaphod controller PCB?

It measures 199.9 × 69.3 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Zaphod controller use?

251 parts, built around the ABS06-107-32.768KHZ, ACS711KEXLT-15AB-T, ISL85410FRZ and ULN2003A. 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 Zaphod controller KiCad files?

From the Scottapotamas/zaphod-bot repository on GitHub, at the commit this page was made from: the board is electronics/zaphod-controller/zaphod-controller.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Zaphod controller design in my own project?

Its repository states no licence, so its author keeps all rights: ask Scottapotamas before reusing the design.