
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

AI-assisted KiCad probe/test interface designer — automatically generates testpoints, maps probe pins to dev board connectors, and validates placement constraints
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.
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.
.kicad_sch and .kicad_pcb files, supports gr_rect, gr_line, gr_circle board outlineskicad-cli, coverage reports, manufacturing readiness reports# 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 | Python extra | System 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/export | any | kicad-cli |
| FreeRouting bridge | any | Java + FreeRouting |
apr inspect examples/minimal_project/main.kicad_pcbapr generate examples/sample_config.yaml -d examples/minimal_projectapr generate examples/full_config.yaml -d examples/minimal_projectapr validate path/to/board.kicad_pcbRequires uv pip install -e ".[plugin]".
apr plugin-shell output/
apr plugin-shell output/ --step 3D_PCB1.stepDefine your probe requirements in a YAML file:
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: 4Schema v2 keeps the old nets_to_expose format compatible, and also adds
module-level design intent:
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: trueThe 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.
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 reportsDesign 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.
| Command | Description |
|---|---|
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 |
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.
| File | Description |
|---|---|
*.kicad_pcb | Updated PCB with testpoints, connector, fiducials, tooling holes, keepouts |
*.kicad_sch | Updated schematic with testpoint symbols, connector, protection circuits |
*.kicad_pro | KiCad project file carrying the configured design rules so native DRC validates against them |
testpoint_report.txt | Coverage report with net class recommendations and review gates |
pin_mapping_report.txt | Development board pin assignment table |
module_report.txt | Schema v2 module selections, rejected alternatives, and review gates |
module_library_preflight_report.txt | Module library YAML structure, metadata, duplicate, and request coverage checks |
module_graph_report.txt | Module instances, dependencies, generated resources, graph diagnostics |
module_compatibility_report.txt | Module, implementation, chip, footprint, and alternate compatibility matrix |
resource_allocation_report.json | Deterministic bus and power allocation data for schema-v2 modules |
resource_optimization_report.json | Advisory bus/rail optimization recommendations with no automatic mutation |
bus_report.txt | Module bus grouping, I2C address conflicts, pull-up coverage |
power_report.txt | Module voltage-domain and rail usage |
routing_feasibility_report.txt | Coarse module corridor, congestion, and sensitivity analysis |
module_placement_report.txt | Module regions, component placement scaffolds, probe/connector zones |
module_instantiation_report.txt | Generated module sheet stubs and child schematic files |
generated_modules/*.kicad_sch | Generated hierarchical module child sheets |
bom_report.csv | Per-module generated component rows |
manufacturing_report.txt | Manufacturing readiness summary |
design_process_report.txt | Process gaps, waivers, signoff coverage, and next actions |
readiness_report.txt | Top-level PASS, PASS_WITH_REVIEW, or BLOCKED verdict |
decision_manifest.json | Run ID, tool versions, decisions, waivers, artifact hashes, and diff summary |
routing.dsn | Specctra DSN for FreeRouting autorouter |
# Run tests
pytest --tb=short -ra -q
# Lint
ruff check .
# Audit Python dependencies
pip-audit --progress-spinner offMIT
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 100k | Resistor_SMD:R_0402_1005Metric | R5, R6 |
| 2 | 100nF | Capacitor_SMD:C_0402_1005Metric | C2, C3 |
| 2 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | 10uF | Capacitor_SMD:C_0402_1005Metric | C1, C5 |
| 2 | 1k | Resistor_SMD:R_0402_1005Metric | R3, R4 |
| 1 | 1uF | Capacitor_SMD:C_0402_1005Metric | C4 |
| 1 | 2.2k | Resistor_SMD:R_0402_1005Metric | R7 |
| 1 | ESP32-S3-WROOM-1-N8 | RF_Module:ESP32-S3-WROOM-1 | U1 |
| 1 | KEY_VOL_DOWN | Button_Switch_SMD:SW_SPST_TL3342 | SW2 |
| 1 | KEY_VOL_UP | Button_Switch_SMD:SW_SPST_TL3342 | SW1 |
| 1 | LED_BLUE | LED_SMD:LED_0603_1608Metric | D2 |
| 1 | LED_RED | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | LiPo_3V7 | Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal | BT1 |
| 1 | MIC_ELECTRET | Audio:MIC_Electret | MK1 |
| 1 | TP4056 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | USB_TYPE-C | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | XC6206P332MR | Package_TO_SOT_SMD:SOT-23 | U3 |

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

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


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


lytedev/hypothenar-keyboard
Like the thenar keyboard but built for pick-and-place


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 +…

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.

It measures 60 × 40 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask flash555588 before reusing the design.