Skip to content

About

Control software for the instaprobe flying-probe in-circuit tester (Qt 6, GPL-3.0)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Instaprobe

CI Release License: GPL v3

Control software for the instaprobe flying-probe in-circuit tester.

Instaprobe takes the test points of a board straight from KiCad, generates continuity and isolation tests, assigns them to up to four test heads, aligns the board with the head cameras, runs the tests, and writes a report per board. It runs on Windows, macOS and Linux, interactively or headless.

Instaprobe main window

Features

  • KiCad integration
    • A KiCad 9+ plugin sends test points from the PCB editor with one click.
    • Alternatively, import IPC-D-356 netlists or position files.
  • 1 to 4 test heads
    • Upper and lower heads, each with its own travel area, park position and camera.
    • Probe head light, rotating tilted needle, switchable output and an extension UART terminal.
    • Tests are assigned to heads automatically and ordered for short travel.
    • Idle heads are parked out of the way.
  • Camera-guided probing
    • Two-point board alignment.
    • Before every touch-down, the head camera finds the pad and corrects the position.
    • If a pad isn't where it should be, the step reports an error instead of probing beside it.
  • Measurement
    • Resistance, voltage and diode tests through one or two reference boards.
    • Each board has its own reference contact and external-meter jacks.
  • Learn mode
    • Learn the limits from a known good board.
    • Tests that fail their fixed threshold get a tolerance window around the measured value.
    • Open circuits become isolation tests.
  • Production
    • Serial numbers and per-board CSV reports.
    • Emergency stop (Esc), live board view and log.
    • English and German.
  • Automation
    • Local HTTP API and headless mode.
    • One-shot runs with exit codes for scripts and manufacturing systems.
  • Plug and play
    • Finds the controller over USB automatically.
    • Several controllers on one PC are told apart by their USB serial number.
  • Built-in simulator to try everything without hardware.

Download

Get the latest release from the Releases page:

Platform File
Windows 10/11 (x64) Instaprobe-<version>-windows-x64.exe (installer) or .zip
macOS 13+ (Apple Silicon and Intel) Instaprobe-<version>-macos-universal.dmg
Linux x86_64 Instaprobe-<version>-linux-x86_64.AppImage or .tar.gz
KiCad 9+ plugin instaprobe-kicad-plugin-<version>.zip

On the first start the app asks whether it may check for updates, send anonymous usage statistics, and offer a problem report after a crash. Each is off until you allow it; change it in Settings ▸ Privacy. Details: docs/PRIVACY.md. Problems can be reported from ? ▸ Report a problem….

The packages aren't code-signed yet. Windows SmartScreen asks for confirmation on first start (More info ▸ Run anyway). On macOS, right-click the app and choose Open the first time. The Linux AppImage needs chmod +x.

Quick start

  1. Start Instaprobe and press Simulator (or plug in the tester; see below).
  2. Import the board (Ctrl+I) or send it from KiCad. Tests are generated straight away.
  3. Align the board: bring the camera over two test points, Record each, Compute.
  4. Learn once on a known good board (Mode ▸ Learn), then save the project (Ctrl+S).
  5. Test: enter the serial number and press ▶ (F5). A report is written to reports/ next to the project.

Esc or the red STOP button stops all heads immediately.

Keyboard shortcuts

F1 (or the ? button) shows all of them. The most used are below; on macOS, Ctrl is ⌘ and Alt is ⌥.

Keys Action
F5 / F6 / Shift+F5 Start or resume / pause / stop after the current step
Esc Emergency stop, from anywhere
Ctrl+1 … Ctrl+4 Select head
Alt+arrow keys Jog the selected head (with Shift: ten steps); Alt+- / Alt+= change the step
Alt+H / Alt+Shift+H Home the head / all heads
Alt+P Probe down / up
Ctrl+D / Ctrl+L / Ctrl+K Detect pad / align board / find controller
Ctrl+O / Ctrl+S / Ctrl+I / Ctrl+E Open / save / import / export report

Keys that move the machine always need Alt, so typing in a field can never move a head.

Getting test points out of KiCad

Recommended: the KiCad plugin.

  1. Install instaprobe-kicad-plugin-<version>.zip with KiCad's Plugin and Content Manager ▸ Install from File….
  2. Enable Preferences ▸ Plugins ▸ KiCad API.
  3. In the PCB editor, press Send test points to Instaprobe.

It sends the selected footprints, or otherwise every TP* footprint and every pad marked as a test point. Details are in kicad_plugin/README.md.

Or export a file:

  • IPC-D-356 netlist (preferred: it has nets, pad sizes and sides): File ▸ Fabrication Outputs ▸ IPC-D-356, or kicad-cli pcb export ipcd356 -o board.d356 board.kicad_pcb
  • Position file (no nets; the footprint value is used as the net name): kicad-cli pcb export pos --format csv --units mm -o board-pos.csv board.kicad_pcb

Hardware

Part Notes
Main controller USB through an FT230X at 921600 baud. Its EEPROM is programmed once so the app finds it on its own: docs/FT230X.md
Gantries 1–4 Position set by DIP switch: TOP_1, TOP_2, BOT_1, BOT_2. Fitted positions need not be contiguous
Reference boards Board 1 (CAN node 9, DIP SW1-1 OFF) measures with gantries 1+2, board 2 (node 10, SW1-1 ON) with gantries 3+4. Each has a REF contact and METER HI/LO jacks

The host protocol is described in docs/PROTOCOL.md. Settings ▸ Firmware… lists every board with its firmware version and updates the main controller (STM32 ROM bootloader over USB) and the gantries, probe heads and reference boards (over CAN); the main controller's production data (serial number) is never erased. See docs/FIRMWARE_UPDATE.md. ? ▸ Machine diagnostics… runs the controller self-test and lists its CAN nodes.

Automation: API and headless mode

Instaprobe serves a local HTTP/JSON API on 127.0.0.1:8765. It can:

  • transfer test points;
  • open and save projects;
  • connect to the machine;
  • start, pause and stop test runs;
  • read results;
  • trigger an emergency stop.

Set an access token (Settings ▸ API or --api-token) whenever other software runs on the test PC.

# Server without a window, controlled through the API
instaprobe --headless --api-token "$TOKEN" board.ipp

# One run, verdict as exit code (0 pass, 1 fail, 2 aborted, 3 setup error)
instaprobe --headless --run --serial SN-0001 board.ipp

All endpoints, with examples, are in docs/API.md.

Command line:

instaprobe [--simulate | --port <name> | --controller IPC00002] [project.ipp | board.d356 | board-pos.csv]
instaprobe --headless [--run [--learn] [--serial SN]] [--api-port N] [--api-token T] [project.ipp]

Building from source

Requirements:

  • Qt 6.8 or newer (6.10 recommended) with Multimedia, SerialPort, HttpServer, WebSockets and gRPC/Protobuf (all in the Qt online installer);
  • CMake 3.21+, Ninja, protoc, and a C++20 compiler.
git clone https://github.com/bitcrushtesting/instaprobeapp.git
cd instaprobeapp
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=~/Qt/6.10.2/<platform>
cmake --build build
ctest --test-dir build --output-on-failure
build/instaprobe --simulate          # macOS: build/Instaprobe.app/Contents/MacOS/Instaprobe

Packages: cmake --build build --target package (NSIS installer and zip, DMG, or tar.gz), and packaging/linux/make-appimage.sh build for the AppImage. Signing, notarization and the details are in docs/PACKAGING.md.

Tests

Suite Covers
tst_core KiCad import (against real KiCad 10 exports), board alignment, test planning, pad detection
tst_simulation End to end against the simulator: alignment, learn/test runs, API, headless control, controller detection over a pseudo-terminal, update check, two reference boards
kicad_plugin Plugin logic, HTTP client, and the kicad-python adapter
tst_ip_frame Serial frame codec
tst_firmware Firmware updater against the real bootloader sources (needs a firmware checkout; skipped otherwise)

Releasing

  1. Set project(instaprobe VERSION x.y.z) in CMakeLists.txt and commit.
  2. git tag vx.y.z && git push origin vx.y.z

The release workflow then:

  • builds and tests on Windows, macOS (universal) and Linux;
  • packages everything, including the KiCad plugin;
  • publishes a GitHub release with checksums.

Tags like vx.y.z-rc1 become pre-releases. The update check ignores those.

Repository layout

Path Contents
src/core/ Qt Core only, unit tested: import, alignment, planning, vision, firmware-update protocols
src/app/ Machine link (serial and simulator), cameras, test runner, API server, update check, models
qml/ User interface
i18n/ Translations (cmake --build build --target update_translations after changing UI text)
kicad_plugin/ KiCad 9+ plugin
external/common/ Sources shared with the firmware (frame codec, CAN protocol)
packaging/ Icons, desktop integration, AppImage script, licence-notice generator
docs/ Protocol, API, FT230X set-up, packaging, privacy and telemetry endpoint
examples/ Golden reference board (KiCad project and exports), used for machine checks and by the tests
tests/ Test suites

License

Copyright © 2025-2026 Bitcrush QA FlexCo · https://bitcrushtesting.com

Instaprobe is free software under the GNU General Public License v3.0 or later. The binary packages include Qt, FFmpeg and other third-party components under their own licences. See LICENSES/THIRD_PARTY_NOTICES.txt, also available in the app under Settings ▸ About ▸ Third-party licenses.

About

Control software for the instaprobe flying-probe in-circuit tester (Qt 6, GPL-3.0)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages