Skip to the content
PCBKitNew board
4 layers45 × 34 mmTriangle flywheel balancer, the printed circuit board in 3D

Triangle flywheel balancer

RobbyV2/smart_latch_lock

A self-closing bike lock built as a clamshell ring. A fixed arc bolts to the housing, a hinged arc swings 180 degrees to meet it, and a worm gearmotor closes the loop around the frame and rim on a button press or a BLE…

Size
45 × 34 mm
Copper layers
4
Thickness
1.59 mm
Parts
70
Nets
64
Pads
284
Tracks, vias
539, 143
Pours
16
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
13 Aug 2026
Updated
14 Aug 2026

Overview

Triangle flywheel balancer is an open-source printed circuit board by RobbyV2, from the RobbyV2/smart_latch_lock repository on GitHub. It is a 4-layer board of 45 × 34 mm with 70 parts on 64 nets, routed with 539 tracks and 143 vias.

It is built around the ESP32-C3-MINI-1-N4, DW01A and MCP73831T-2ACI/OT-HXY, with the XC6220B331MR-G, CL21A106KAYNNNE and CL21A226MAQNNNE among its other parts. Its parts include 22 capacitors, 21 resistors, 7 ICs, 7 connectors and 3 diodes. It belongs with the ESP32 and RISC-V boards of this library.

Main components

12

README

README.md

Folding-Arc Bike Lock

A self-closing bike lock built as a clamshell ring. A fixed arc bolts to the housing, a hinged arc swings 180 degrees to meet it, and a worm gearmotor closes the loop around the frame and rim on a button press or a BLE command. A spring latch pin seats with power off, a keyed cam lock covers a dead battery, and an ESP32-C3 on a 4-layer PCB runs the state machine.

Housing with the swing arc folded open and the latch pin retractedHousing with the swing arc closed and the latch pin seated
Animated lock cycle

The animation shows one closing cycle: the swing arc starts folded open and sweeps around until it seats in the receiver at the fixed arc tip.

Top view of the boardBottom view of the boardAngled view of the board

Read docs/design.md for the mechanism, the torque analysis, and the electronics.

Repository layout

  • hw/ holds the KiCad schematic, the board, the design rules, and the stack manifest.
  • lib/ holds the symbols, the footprints, and the 3D models.
  • firmware/ holds the PlatformIO project for the ESP32-C3.
  • 3d/ holds the OpenSCAD housing, the board render script, and the renders.
  • scripts/ holds the release script and the validation scripts.
  • fab/ holds the fabrication data, written by scripts/release.sh.

Build

text
pio run -d firmware
openscad -o temp/arc_swing.stl -D 'part="arc_swing"' 3d/housing.scad
python3 3d/build.py
scripts/release.sh hw/triangle_flywheel_balancer.kicad_pcb

The first command builds the firmware, the second renders one housing part (housing_inner, housing_lid, arc_fixed, arc_swing, latch_pin, assembly), the third writes the board renders and the viewer page, and the fourth writes the fabrication tree.

Parts

70
QtyValueFootprintReferences
10100nFtriangle_flywheel_balancer:C_0402_1005MetricC3, C6, C12, C14, C17, C18, C19, C20, C21, C22
71ktriangle_flywheel_balancer:R_0402_1005MetricR4, R7, R10, R14, R17, R18, R19
4100ktriangle_flywheel_balancer:R_0402_1005MetricR13, R15, R16, R21
4MountingHoletriangle_flywheel_balancer:MountingHole_3.2mm_M2.5H1, H2, H3, H4
31uFtriangle_flywheel_balancer:C_0603_1608MetricC1, C7, C8
3Fiducialtriangle_flywheel_balancer:Fiducial_1mm_Mask2mmFID1, FID2, FID3
210uFtriangle_flywheel_balancer:C_0805_2012MetricC2, C9
222uFtriangle_flywheel_balancer:C_0805_2012MetricC10, C11
24.7uFtriangle_flywheel_balancer:C_0603_1608MetricC4, C5
25.1ktriangle_flywheel_balancer:R_0402_1005MetricR2, R3
2LEDtriangle_flywheel_balancer:LED_0603_1608MetricD2, D3
1100uFtriangle_flywheel_balancer:C_1210_3225MetricC13
110ktriangle_flywheel_balancer:R_0402_1005MetricR1
1110ktriangle_flywheel_balancer:R_0402_1005MetricR8
115ktriangle_flywheel_balancer:R_0402_1005MetricR9
11nFtriangle_flywheel_balancer:C_0402_1005MetricC16
11uHtriangle_flywheel_balancer:L_Murata_DFE201610PL1
122nFtriangle_flywheel_balancer:C_0402_1005MetricC15
12ktriangle_flywheel_balancer:R_0402_1005MetricR5
1330triangle_flywheel_balancer:R_0402_1005MetricR6
133ktriangle_flywheel_balancer:R_0402_1005MetricR11
151ktriangle_flywheel_balancer:R_0402_1005MetricR12
168ktriangle_flywheel_balancer:R_0402_1005MetricR20
1BATTERYtriangle_flywheel_balancer:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ2
1CLOSEDtriangle_flywheel_balancer:PinHeader_1x02_P2.54mm_VerticalJ7
1DRV8876PWPRtriangle_flywheel_balancer:HTSSOP-16-1EP_4.4x5mm_P0.65mm_EP3.4x5mm_Mask3x3mm_ThermalViasU2
1DW01Atriangle_flywheel_balancer:SOT-23-6U5
1ESP32-C3-MINI-1-N4triangle_flywheel_balancer:ESP32-C3-MINI-1U1
1FS8205Atriangle_flywheel_balancer:TSSOP-8_4.4x3mm_P0.65mmQ1
1LATCHtriangle_flywheel_balancer:PinHeader_1x02_P2.54mm_VerticalJ5
1MCP73831T-2ACI/OTtriangle_flywheel_balancer:SOT-23-5U4
1MOTORtriangle_flywheel_balancer:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ3
1OPENtriangle_flywheel_balancer:PinHeader_1x02_P2.54mm_VerticalJ6
1SERVOtriangle_flywheel_balancer:PinHeader_1x03_P2.54mm_VerticalJ4
1SW_Pushtriangle_flywheel_balancer:SW_Push_1TS009xxxx-xxxx-xxxx_6x6x5mmS4
1TLV1701AIDBVRtriangle_flywheel_balancer:SOT-23-5U3
1TPS61023DRLRtriangle_flywheel_balancer:SOT-563U7
1TYPE-C-31-M-12triangle_flywheel_balancer:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1USBLC6-2SC6triangle_flywheel_balancer:SOT-23-6D1
1XC6220B331MR-Gtriangle_flywheel_balancer:SOT-23-5U6

Questions

How big is the Triangle flywheel balancer PCB?

It measures 45 × 34 mm and has 4 copper layers, 1.59 mm thick.

What parts does the Triangle flywheel balancer use?

70 parts, built around the ESP32-C3-MINI-1-N4, DW01A, MCP73831T-2ACI/OT-HXY and XC6220B331MR-G. 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 Triangle flywheel balancer KiCad files?

From the RobbyV2/smart_latch_lock repository on GitHub, at the commit this page was made from: the board is hw/triangle_flywheel_balancer.kicad_pcb and its schematic hw/triangle_flywheel_balancer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Triangle flywheel balancer design in my own project?

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

Similar boards

  • 4 layers78 × 86 mmSJ-201-R10, the printed circuit board in 3D

    SJ-201-R10

    MycroftAI/hardware-mycroft-mark-II

    Mycroft's Mark II Rpi mechanical, electrical and industrial designs

    185 parts113
  • 4 layers50 × 70 mmRp569, the printed circuit board in 3D

    Rp569

    kelu124/rp569

    RP569 - PIOs to usb3 ( rp2350 x ch569 )

    146 parts3
  • 4 layers65 × 56 mmSensor HAT, the printed circuit board in 3D

    Sensor HAT

    Eniemooo/Sensor-HAT

    Open-hardware indoor air sensor (CO2, VOC/NOx, T/RH, light, sound): HAT for Raspberry Pi or standalone with Seeed XIAO + ESPHome. KiCad 10.

    112 parts
  • 4 layers50 × 50 mm50x50 2 Layer, the printed circuit board in 3D

    50x50 2 Layer

    UC-Aerospace/Electrical-Tut-26

    2026 Avionics tutorial example boards for UC Aerospace

    86 parts
  • 4 layers39 × 92 mmChaac ng, the printed circuit board in 3D

    Chaac ng

    alvarop/chaac

    This is a work in progress for a wireless weather station project.

    82 parts21MIT
  • 4 layers25 × 30 mmSmove r2-main, the printed circuit board in 3D

    Smove r2-main

    okbrainhq/sMove

    Applied to power.kicadsch, compute.kicadsch and smove-r2-main.kicadsch:

    53 parts1MIT
  • 4 layersElec, the printed circuit board in 3D

    Elec

    elkel53930/twilight2

    A robosweep agent Twilight-2

    164 parts
  • 2 layers68 × 42 mmDormRadar RX, the printed circuit board in 3D

    DormRadar RX

    gancaokuai/dorm-radar-pcb

    ESP32-C3 radar PCB with TX and RX boards, KiCad sources, Gerbers and manufacturing files

    27 parts