Skip to the content
2 layers60 × 40 mmBluetooth mic board, the printed circuit board in 3D

Bluetooth mic board

flash555588/ai-probe-router

AI-assisted KiCad probe/test interface designer — automatically generates testpoints, maps probe pins to dev board connectors, and validates placement constraints

Size
60 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
17
Pads
63
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 8 (file 20240108)
Created
6 Jun 2026
Updated
11 Jun 2026

Overview

Bluetooth mic board is an open-source printed circuit board by flash555588, from the flash555588/ai-probe-router repository on GitHub. It is a 2-layer board of 60 × 40 mm with 22 parts on 17 nets.

It is built around the ESP32-S3-WROOM-1-N8, TP4056 and XC6206P332MR. Its parts include 7 resistors, 5 capacitors, 3 ICs, 2 diodes and 2 switches. It belongs with the radio and wireless and sensors and measurement boards and the ESP32 boards of this library.

Main components

3

README

README.md

ai-probe-router

AI-assisted KiCad probe/test interface designer. Automatically generates testpoints, maps probe pins to development board connectors, and validates placement against electrical, mechanical, and manufacturing constraints.

Features

  • KiCad S-expression parser — reads .kicad_sch and .kicad_pcb files, supports gr_rect, gr_line, gr_circle board outlines
  • Net classifier — rule-based classification into power, ground, debug, communication, analog, high-speed, clock, reset, GPIO
  • Constraint-aware placement — generates candidate positions scored by routing cost, board edge clearance, component collision avoidance, and probe spacing
  • Pin mapper — maps target nets to development board pins using capability matching, current ratings, and user preferences
  • Schematic + PCB generation — inserts testpoint symbols/footprints, connector symbols/footprints, protection circuits, fiducials, tooling holes, and keepout zones into KiCad files
  • Protection circuit generation — series resistors for debug/reset signals (33/100 ohm), ferrite beads for power lines
  • Three probe layout modes — distributed test pads, centralized pogo pad array, connector-based interface
  • Verification — constraint validation, ERC/DRC via kicad-cli, coverage reports, manufacturing readiness reports
  • Human review gates — flags high-speed, clock, analog, and high-current nets for mandatory review
  • Net class recommendations — suggests trace width and clearance per net role
  • DSN export — exports Specctra/Electra DSN for FreeRouting autorouter
  • Schema v2 module planning - describes higher-level hardware modules such as SWD debug, GPIO expansion, and power monitoring, then selects a valid implementation from module libraries

Installation

bash
# Clone
git clone https://github.com/flash555588/ai-probe-router.git
cd ai-probe-router

# Core CLI + development checks (requires Python 3.12+)
uv pip install -e ".[dev]"

# Plugin shell GUI
uv pip install -e ".[plugin]"

# Optional CP-SAT solver support
uv pip install -e ".[solver]"

# Everything Python-side
uv pip install -e ".[all]"

Capability Matrix

CapabilityPython extraSystem dependency
Core CLI, reports, tests.[dev]none
Plugin shell GUI.[plugin]desktop display environment
3D plugin preview.[plugin]vtk from the plugin extra
CP-SAT pin mapping.[solver]none
Native KiCad ERC/DRC/exportanykicad-cli
FreeRouting bridgeanyJava + FreeRouting

Quick Start

Inspect a PCB

bash
apr inspect examples/minimal_project/main.kicad_pcb

Generate testpoints

bash
apr generate examples/sample_config.yaml -d examples/minimal_project

Generate with dev board pin mapping

bash
apr generate examples/full_config.yaml -d examples/minimal_project

Validate existing testpoints

bash
apr validate path/to/board.kicad_pcb

Launch plugin shell (3D preview)

Requires uv pip install -e ".[plugin]".

bash
apr plugin-shell output/
apr plugin-shell output/ --step 3D_PCB1.step

Configuration

Define your probe requirements in a YAML file:

yaml
project:
  eda_tool: kicad
  board_file: main.kicad_pcb
  schematic_file: main.kicad_sch

probe_interface:
  type: test_pad          # test_pad | pogo_pad_array | connector
  side: top
  pad_diameter_mm: 1.5
  min_probe_spacing_mm: 2.54
  preferred_grid_mm: 2.54
  require_silkscreen_labels: true
  require_fiducials: true
  require_tooling_holes: true

nets_to_expose:
  - net: SWDIO
    role: debug
    required: true
    preferred_devboard_pins: [PA13]
  - net: GND
    role: ground
    required: true
    duplicate_probe_count: 4

Schema v2 Functional Modules

Schema v2 keeps the old nets_to_expose format compatible, and also adds module-level design intent:

yaml
schema_version: 2

project:
  eda_tool: kicad
  board_file: main.kicad_pcb
  schematic_file: main.kicad_sch

hardware_platform:
  target_voltage_domains:
    - name: VDD_3V3
      voltage: 3.3
      max_current_ma: 800

functional_modules:
  - name: scalable_gpio
    type: gpio_expansion
    channels: 16
    depends_on: [debug_access]
    budget_area_mm2: 250
    preferred_region: top
    ai_hints:
      - type: sensitive_route
    allowed_interfaces: [i2c, spi]
    require_level_shift: true

The module-planning pass is rule based. It writes selected implementations, module library preflight diagnostics, module graph diagnostics, bus/power reports, a per-module BOM, and routing feasibility corridors. It also reports module, implementation, chip, and footprint version metadata for compatibility and substitution review. Generated hierarchical sheet stubs are written under output/generated_modules/ when a schematic is available. AI hints are advisory only and are reported when ignored. The process-control pass covers electrical signoff gaps, power-integrity assumptions, DFM, fixture realism, library governance, waivers, incremental diffs, scalability thresholds, autorouter feedback, and reproducibility manifests.

Architecture

text
ai_probe_router/
├── ai/                  # Net classifier
├── eda_adapters/kicad/  # S-expression parser, PCB/schematic read/write
├── models/              # Board, Net, Probe, Constraints, DevBoard, Protection
├── solvers/             # Constraint checker, placement solver, pin mapper, routing cost
├── routing/             # DSN export for autorouter
└── verification/        # Coverage, pin mapping, manufacturing readiness reports

Design principle: AI assists with classification and suggestions; deterministic rules enforce correctness. The constraint engine validates every placement — the system never trusts AI-generated geometry without verification.

CLI Commands

CommandDescription
apr generate <config> [-d dir]Full pipeline: parse, place, generate, verify
apr inspect <pcb_file>List nets with roles and pad counts
apr inspect-sch <sch_file>List components, labels, wires
apr validate <pcb_file>Validate existing testpoint placement

Output Files

After running apr generate, the output/ directory contains:

Text reports, bom_report.csv, and generated module sheets include a deterministic APR-* run ID so outputs from the same planning run can be traced together.

FileDescription
*.kicad_pcbUpdated PCB with testpoints, connector, fiducials, tooling holes, keepouts
*.kicad_schUpdated schematic with testpoint symbols, connector, protection circuits
*.kicad_proKiCad project file carrying the configured design rules so native DRC validates against them
testpoint_report.txtCoverage report with net class recommendations and review gates
pin_mapping_report.txtDevelopment board pin assignment table
module_report.txtSchema v2 module selections, rejected alternatives, and review gates
module_library_preflight_report.txtModule library YAML structure, metadata, duplicate, and request coverage checks
module_graph_report.txtModule instances, dependencies, generated resources, graph diagnostics
module_compatibility_report.txtModule, implementation, chip, footprint, and alternate compatibility matrix
resource_allocation_report.jsonDeterministic bus and power allocation data for schema-v2 modules
resource_optimization_report.jsonAdvisory bus/rail optimization recommendations with no automatic mutation
bus_report.txtModule bus grouping, I2C address conflicts, pull-up coverage
power_report.txtModule voltage-domain and rail usage
routing_feasibility_report.txtCoarse module corridor, congestion, and sensitivity analysis
module_placement_report.txtModule regions, component placement scaffolds, probe/connector zones
module_instantiation_report.txtGenerated module sheet stubs and child schematic files
generated_modules/*.kicad_schGenerated hierarchical module child sheets
bom_report.csvPer-module generated component rows
manufacturing_report.txtManufacturing readiness summary
design_process_report.txtProcess gaps, waivers, signoff coverage, and next actions
readiness_report.txtTop-level PASS, PASS_WITH_REVIEW, or BLOCKED verdict
decision_manifest.jsonRun ID, tool versions, decisions, waivers, artifact hashes, and diff summary
routing.dsnSpecctra DSN for FreeRouting autorouter

Development

bash
# Run tests
pytest --tb=short -ra -q

# Lint
ruff check .

# Audit Python dependencies
pip-audit --progress-spinner off

License

MIT

Parts

22
QtyValueFootprintReferences
2100kResistor_SMD:R_0402_1005MetricR5, R6
2100nFCapacitor_SMD:C_0402_1005MetricC2, C3
210kResistor_SMD:R_0402_1005MetricR1, R2
210uFCapacitor_SMD:C_0402_1005MetricC1, C5
21kResistor_SMD:R_0402_1005MetricR3, R4
11uFCapacitor_SMD:C_0402_1005MetricC4
12.2kResistor_SMD:R_0402_1005MetricR7
1ESP32-S3-WROOM-1-N8RF_Module:ESP32-S3-WROOM-1U1
1KEY_VOL_DOWNButton_Switch_SMD:SW_SPST_TL3342SW2
1KEY_VOL_UPButton_Switch_SMD:SW_SPST_TL3342SW1
1LED_BLUELED_SMD:LED_0603_1608MetricD2
1LED_REDLED_SMD:LED_0603_1608MetricD1
1LiPo_3V7Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalBT1
1MIC_ELECTRETAudio:MIC_ElectretMK1
1TP4056Package_TO_SOT_SMD:SOT-23-5U2
1USB_TYPE-CConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1XC6206P332MRPackage_TO_SOT_SMD:SOT-23U3

More from flash555588/ai-probe-router

2
  • 2 layers40 × 30 mmBluetooth module, the printed circuit board in 3D

    Bluetooth module

    flash555588/ai-probe-router

    AI-assisted KiCad probe/test interface designer — automatically generates testpoints, maps probe pins to dev board connectors, and validates placement constraints

    5 parts
  • 2 layers80 × 50 mmCpu audio usb project, the printed circuit board in 3D

    Cpu audio usb project

    flash555588/ai-probe-router

    AI-assisted KiCad probe/test interface designer — automatically generates testpoints, maps probe pins to dev board connectors, and validates placement constraints

    3 parts

Similar boards

  • 2 layers80 × 25 mmLedGateController, the printed circuit board in 3D

    LedGateController

    Knifa/ws28xx-led-driver

    A straightforward DIY WS28xx LED driver.

    73 parts3
  • 4 layers45.1 × 45.1 mmSuperPower uC KiCad, the printed circuit board in 3D

    SuperPower uC KiCad

    SuperPower/Artemis

    All hardware designs and products you can find in this repository is licensed under CERN Open Hardware Licence Version 2 - Weakly Reciprocal

    99 parts2
  • 2 layers144.2 × 110.8 mmKeyboard left, the printed circuit board in 3D

    Keyboard left

    lytedev/hypothenar-keyboard

    Like the thenar keyboard but built for pick-and-place

    62 parts
  • 2 layersPR-16PP, the printed circuit board in 3D

    PR-16PP

    RodPaDev/PR-16PP

    Wireless 16Key Macropad

    77 partsMIT
  • 4 layers65 × 40 mmPowermod, the printed circuit board in 3D

    Powermod

    zdeager/powermod

    Machine-generated PCB design for a Raspberry Pi Zero 2 W power scheduler / UPS / battery board. The electrical design is defined in code (netlist.py); the board was laid out and routed with the scripted KiCad +…

    77 parts
  • 6 layers140 × 70 mmHigh speed, the printed circuit board in 3D

    High speed

    NBence0/JedlikBots

    Welcome to the official GitHub page of JedlikBots! 🎓🤖 We are the dedicated team of software development and robotics students from the Jedlik Ányos Technical School in Győr, Hungary.

    274 parts
  • 2 layers129.5 × 50.8 mmLilka, the printed circuit board in 3D

    Lilka

    lilka-dev/lilka

    Схема та документація ігрової консолі Lilka

    39 parts234GPL-2.0

Questions

How big is the Bluetooth mic board PCB?

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

What parts does the Bluetooth mic board use?

22 parts, built around the ESP32-S3-WROOM-1-N8, TP4056 and XC6206P332MR. 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 Bluetooth mic board KiCad files?

From the flash555588/ai-probe-router repository on GitHub, at the commit this page was made from: the board is examples/bluetooth_mic_board/main.kicad_pcb and its schematic examples/audio_player_project/main.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Bluetooth mic board design in my own project?

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