Skip to the content
2 layers150.8 × 146.5 mmBall balancer, the printed circuit board in 3D

Custom 3RRS Parallel Manipulator + CV to balance a ball!

Size
150.8 × 146.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
58
Pads
121
Tracks, vias
102, 6
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 Mar 2026
Updated
23 Sep 2026

Overview

Ball balancer is an open-source printed circuit board by tecknet-gg, from the tecknet-gg/ball-balancer repository on GitHub. It is a 2-layer board of 150.8 × 146.5 mm with 11 parts on 58 nets, routed with 102 tracks and 6 vias.

It is built around the RASPBERRY PI ZERO 2 W. Its parts include 3 diodes, 2 ICs and 1 connector. It belongs with the Raspberry Pi (Linux) boards of this library.

Main components

1

README

README.md

Ball-Balancer

A custom 3RRS parallel manipulator that leverages CV to locate and mainpulate a ball on a 2D planar surface.

Features:

  • Low cost hardware: By leveraging edge computing the CV processing is done on a companion computer. The onboard hardware is a low cost Pi Zero 2. Frames are served over Flask, and data is received by the hardware over UDP.
  • Low latency: ~75ms between frame being served and data being received back
  • Resilient CV pipeline: Able to work in high noise environments. Uses a variety of techniques and optimisations, such as static and dynamic ROIs (region of interests) to reduce frame size, novel colour based filtering, ensures target is within a pre-defined HSV range to reduce false detections, and an EMA filter to maintain simplicity whilst improving performance.
  • Inverse Kinematics: A robust IK class that converts target pose vectors to 3 actuator angles.
  • PID: A PID loop to calculate pose vectors taking the three (P, I & D) paramaters into account, in order to move the ball to the centre, or any arbitrary point on the plane.
  • Auto-Callibration: An IMU is sampled to get orientation data, which is then fed into a basic gradient descent algorithm in order to minimise error. Setpoints can be manually defined
  • Live config updating: Instead of re-deploying the code every time a paramater is chagned, a companion script running on your laptop pushes PID config paramaters over UDP, so tuning can be done in real-time, streamlining the process.

Building

Build instructions can be found in the BUILD.md file, and instructions for running my firmware can be found in the FIRMWARE.md file. If I do get time, I will eventually post this on Instructables!

Pictures

Without PCB:

image

With PCB:

image

My Build:

image

Still some tuning needed, but the hardware totally works, and it even balances it fully sometimes :]

https://www.youtube.com/shorts/TCPpPW1j67o

Parts

11
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.5mmH1, H2, H3, H4
3LEDLED_THT:LED_D3.0mmD1, D2, D3
1815pca9685:MODULE_815U2
1Barrel_Jack_MountingPinConnector_BarrelJack:BarrelJack_HorizontalJ1
1LOGOpics:scott1G***
1RASPBERRY_PI_ZERO_2_WRASPBERRY_PI_ZERO_2_W:MODULE_RASPBERRY_PI_ZERO_2_WU1

Similar boards

  • 2 layers87.6 × 100.8 mmEtherKraken, the printed circuit board in 3D

    EtherKraken

    karmakrafts/EtherKraken

    A RP3A0 SiP based controller with 34 programmable IOs, Cortex M0 co-processor, 2MB of flash, SPI, I²C, UART and 100Base-T connectivity.

    84 parts3Apache-2.0
  • 2 layers56.1 × 53.6 mmYashica8 ver0.1.1, the printed circuit board in 3D

    Yashica8 ver0.1.1

    airpocket-soundman/motocamera

    The project to digitize Pathé's MotoCamera.

    24 parts1
  • 2 layers75 × 55.4 mmGaiaBeronia, the printed circuit board in 3D

    GaiaBeronia

    dihermos/GaiaBeronia

    Gaia Beronia is an inspired on Flipper Zero embeeded system. It uses a system based on Python running on Linux in a Raspberry Pi Zero 2W.

    31 parts1Apache-2.0
  • 2 layers90 × 39 mmTEARIS, the printed circuit board in 3D

    TEARIS

    impatrq/TEARIS

    TEARIS (TEA + auris, latín: oído) es un sistema innovador de auriculares con cancelación activa de ruido adaptativa, creado para personas con Trastorno del Espectro Autista (TEA), PTSD, fibromialgia, migrañas crónicas y…

    5 parts1
  • 2 layers69.5 × 68.5 mmRP0-HandHeld, the printed circuit board in 3D

    RP0-HandHeld

    OndrejVac/RP0-HandHeld

    Raspberry Pi Zero 2 gaming handheld

    22 parts1MIT
  • 2 layers115.6 × 67.9 mmGlowClockPCB, the printed circuit board in 3D

    GlowClockPCB

    Sierra-College-Robotics-Club/GlowClock

    PCB and Code for Sierra College Robotics Club Glow Clock

    52 parts1
  • 2 layers150 × 195 mmSCB, the printed circuit board in 3D

    SCB

    Stogalosu/Smart-Chess-Board

    A smart chess board that connects to your phone and automatically makes moves

    52 parts1
  • 2 layers30.2 × 77.8 mmLaika, the printed circuit board in 3D

    Laika

    AeybelV/Laika_PCB

    PCB for the Laika Flight Computer

    22 parts

Questions

How big is the Ball balancer PCB?

It measures 150.8 × 146.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ball balancer use?

11 parts, built around the RASPBERRY PI ZERO 2 W. 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 Ball balancer KiCad files?

From the tecknet-gg/ball-balancer repository on GitHub, at the commit this page was made from: the board is pcb/Ball Balancer.kicad_pcb and its schematic pcb/ballbalancerschm.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ball balancer design in my own project?

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