Skip to the content
2 layers30 × 30 mmCapy bara, the printed circuit board in 3D

This project implements a wearable LED earring system built around an STM32 microcontroller, designed to drive LED lighting patterns on a custom PCB while maintaining constraints on size, power consumption, and…

Size
30 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
29
Pads
90
Tracks, vias
140, 4
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
8 May 2026
Updated
9 May 2026

Overview

Capy bara is an open-source printed circuit board by NicoleLiang21, from the NicoleLiang21/pcb_earrings repository on GitHub. It is a 2-layer board of 30 × 30 mm with 32 parts on 29 nets, routed with 140 tracks and 4 vias.

Its parts include 11 resistors, 8 diodes, 5 ICs and 4 capacitors. It belongs with the STM32 boards of this library.

README

README.md

PCB Earrings

Overview

This project implements a wearable LED earring system built around an STM32 microcontroller, designed to drive LED lighting patterns on a custom PCB while maintaining constraints on size, power consumption, and wearability.

The hardware design focuses on balancing compact form factor, low-power operation, and visual appeal.


System Architecture

The system consists of three primary subsystems:

  • Microcontroller (STM32)
    Handles LED sequencing, timing control, and GPIO-based output driving.

  • LED Array
    Radially arranged LEDs designed to create a myriad of different lighting effects.

  • Power System
    Low-voltage regulated supply designed for safe wearable operation and stable LED driving.


PCB Design Constraints

The PCB was designed under the following constraints:

  • Compact form factor suitable for wearable earrings
  • Radial symmetry for consistent visual aesthetics
  • Minimal trace length and optimized routing for small footprints
  • GPIO current limitations respected for direct LED driving
  • 3.0V logic compatibility with STM32 outputs

These constraints directly influenced both component selection and board layout decisions.


LED Current Design

LED current was calculated using Ohm’s law:

$$ I_{LED} = \frac{V_{CC} - V_f}{R} $$

Where:

  • $V_{CC}$ is the supply voltage (3.0V)
  • $V_f$ is the LED forward voltage (~1.8–2.3V depending on component)
  • $R$ is the current-limiting resistor

Initial (V1) and revised (V2) calculations were performed to refine resistor values and achieve the desired luminous intensities of the LEDs.

All supporting calculations are documented in docs/calculations/.


Power Considerations

Power design priorities:

  • Drive LEDs directly from GPIO within safe current limits
  • Limit peak current draw to extend battery life
  • Conservative resistor sizing based on worst-case forward voltage

These considerations ensure stable operation under battery-powered conditions.


Bill of Materials (BOM)

A full Bill of Materials is included in hardware/media/exports/.


Media

Additional photos, demonstrations, and project visuals are available on the project website:

Project Website

Parts

32
QtyValueFootprintReferences
8150RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR1, R2, R3, R4, R5, R6, R7, R8
8LEDLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D2, D3, D4, D5, D6, D7, D8
20.1 µFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C3
210kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR10, R11
23V0Custom Footprints:Through_HoleU2, U5
247 µFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C4
1100RResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR9
1GNDCustom Footprints:Through_HoleU3
1LOGOCustom Footprints:capy+baraG***
1MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965_Pad_TopBottomH1
1STM32F030F4PxPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmSTM32
1TC2030Connector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalTC2030
1~Custom Footprints:Batt_ModuleU4
1~Custom Footprints:PTS645U6

Similar boards

  • 2 layers50 × 23.2 mmAnalog, the printed circuit board in 3D

    Analog

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    32 parts1kGPL-3.0
  • 2 layers136.8 × 54.2 mmRetropie zero, the printed circuit board in 3D

    Retropie zero

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    32 parts915
  • 2 layersMooltipass top, the printed circuit board in 3D

    Mooltipass top

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    32 parts531
  • 2 layers16 × 20 mmESPKey, the printed circuit board in 3D

    ESPKey

    octosavvi/ESPKey

    Wiegand data logger, replay device and micro door-controller

    32 parts353GPL-2.0
  • 2 layers82 × 40.9 mmDisplay7447, the printed circuit board in 3D

    Display7447

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    32 parts269
  • 2 layers40 × 38 mmShield, the printed circuit board in 3D

    Shield

    murexrobotics/electrical

    Highly integrated electronics design and printed circuit boards (PCBs) for the MATE ROV Competition. Attempt the impossible.

    32 parts192MIT
  • 2 layers47 × 39 mmQrss clock tx, the printed circuit board in 3D

    Qrss clock tx

    swharden/AVR-projects

    A collection of standalone AVR projects written in C

    32 parts184MIT
  • 2 layers30.9 × 63 mmStm32-io extend, the printed circuit board in 3D

    Stm32-io extend

    hardenedlinux/cheap-pcb

    Cheap PCB: Better understanding the current status of hardware supply chain

    32 parts170CC0-1.0

Questions

How big is the Capy bara PCB?

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

What parts does the Capy bara use?

32 parts. 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 Capy bara KiCad files?

From the NicoleLiang21/pcb_earrings repository on GitHub, at the commit this page was made from: the board is hardware/src/capy_bara.kicad_pcb and its schematic hardware/src/capy_bara.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Capy bara design in my own project?

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