Skip to the content
2 layers15 × 15 mmProbeBoard, the printed circuit board in 3D

A device to quickly test cables on robots at the press of a button.

Size
15 × 15 mm
Copper layers
2
Thickness
1.6 mm
Parts
2
Nets
4
Pads
8
Tracks, vias
11, 0
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
17 Jul 2026
Updated
29 Jul 2026

Overview

ProbeBoard is an open-source printed circuit board by maxconine, from the maxconine/Cable-Tester repository on GitHub. It is a 2-layer board of 15 × 15 mm with 2 parts on 4 nets, routed with 11 tracks and 0 vias.

README

README.md

Cable Tester

Handheld continuity tester for 4-conductor power + CAN harnesses. A Teensy 4.0 on a custom PCB drives each conductor in turn, senses which lines light up at the far end, and reports opens, shorts, and miswires on an OLED with pass/fail tones. In Arm mode it also measures the resistance between the CAN conductors.

The four conductors are -, +, Low, and High (CAN Low / CAN High).

Assembled wire tester

Contents

Hardware

A Teensy 4.0 on a custom "Wire Tester" PCB, battery powered through a slide switch and a Schottky diode (so USB and battery can be connected at once), with a 128×64 I2C OLED, Test and Mode buttons, and a piezo buzzer. The whole thing lives in a 3D-printed enclosure with the buttons on a small perfboard behind the faceplate.

Pinout

FunctionPin(s)Notes
Drive outputs0, 1, 2, 3Through series resistors R1–R4 (1.5 kΩ)
Sense inputs14, 15, 16, 17A0–A3, with pull-downs R5–R8 (10 kΩ to GND)
Test button21To GND, internal pull-up (pressed = LOW)
Mode button22To GND, internal pull-up (pressed = LOW)
Piezo buzzer13Passive, to GND
OLED SDA / SCL18 / 19SSD1306 at I2C address 0x3C

Drive index n and sense index n are the two ends of the same conductor, in the order -, +, Low, High. A correctly wired harness therefore lights only the matching sense input.

The series resistors limit current into a shorted harness, and the pull-downs guarantee every sense line reads LOW unless it is actively driven through the cable. The sense pins double as analog inputs for the resistance measurement.

Connectors

The harness under test plugs into In1 at one end and Out1 / Out2 at the other. Out1 and Out2 are wired in parallel so either a connector or bare probe leads can be used. All three carry the same -, +, Low, High ordering.

PCB and schematic

KiCad sources, gerbers, drill files, and a STEP export live under WireTester/, with the probe board under WireTester/ProbeBoard/.

PCB layout Schematic

Building and uploading

  1. Install the Arduino IDE and Teensyduino.
  2. Install these libraries from the Library Manager:
    • Adafruit SSD1306
    • Adafruit GFX Library
  3. Select Teensy 4.0 as the board.
  4. Open CableTester.ino and upload.

Wire, analogReadResolution(), and analogWriteFrequency() come from the Teensy core, so no other dependencies are needed.

How it works

Every test is built from the same primitive: drive one conductor, read all four.

  1. Idle check. All drive pins are released to high-impedance inputs and the sense lines are read. Anything already HIGH means a stuck input or external voltage on the harness, reported as INPUT STUCK HIGH.
  2. Drive one conductor. The drive pin is switched to an output and pulled HIGH through its 1.5 kΩ resistor, then given time to settle.
  3. Sample. All four sense inputs are read seven times and majority-voted into a 4-bit mask (bit 0 = -, bit 1 = +, bit 2 = Low, bit 3 = High). Voting rejects noise on a marginal connection.
  4. Release. The drive pin goes back to an input before the next conductor is tested, so no two lines are ever driven at once during a continuity sweep.

Settle timing depends on the mode: 100 ms settle with a 50 ms release for the static tests, and 8 ms / 2 ms for the flex test so scans repeat quickly.

Fault classification

The mask for each driven conductor is compared against the single bit that should be set:

MaskMeaningShown as
Exactly the expected bitCorrectCounts toward a pass
0 — nothing sensedBroken conductor or bad crimp<wire> OPEN
More than one bitConductor touching others<wire> SHORT: <names>
One wrong bitLanded on the wrong pin<wire> -> <other>

In Cable mode, when two conductors each reach only the other, the pair is collapsed into a single swap line such as + <-> Low instead of two separate miswire lines.

Modes

The Mode button cycles Cable → Arm → 10 Sec, and each mode has its own confirmation chime. The selected mode is shown on the ready screen.

Cable

Strict one-to-one check for a bare harness. Every conductor must reach itself and nothing else; any extra or missing connection fails.

Arm

Intended for a harness that is still attached to live arm electronics, where the CAN conductors are legitimately coupled through termination resistors. The continuity rules are the same as Cable mode with one exception: High reaching Low (or the reverse) is allowed instead of being flagged as a short. Every conductor must still reach itself.

After the continuity sweep the tester measures the resistance between the CAN conductors.

Resistance measurement

Beyond pass/fail continuity, the tester measures the resistance between the High and Low conductors — enough to tell a properly terminated CAN bus (~60 Ω, or ~120 Ω single-terminated) from a dead short or a missing terminator.

It works as a voltage divider using the existing drive hardware:

  1. High is driven to 3.3 V and Low to GND, each through its 1.5 kΩ series resistor.
  2. Both sense lines are read on the ADC (10-bit, 16 samples averaged) to get the settled voltages at the two ends of the harness.
  3. The unknown resistance sits between the two series resistors, so it follows from the measured difference:
text
R = 2 × R_series × |dV| / (V_drive − |dV|)

where  R_series = 1500 Ω,  V_drive = 3.3 V,  dV = V_high − V_low

The result is classified before it is reported:

ConditionReported as
Both sense lines below 0.2 VOPEN — nothing connected
dV magnitude under 20 mVSHORT — ~0 Ω, wires touching
dV magnitude within 50 mV of full scaleOPEN — no path between the conductors
OtherwiseMeasured value in ohms

A passing Arm test shows the value on the OLED in large text with an Ω symbol, labelled CAN High-Low (or OPEN if no path was found). The reading is informational and does not by itself fail the test — the one exception is a hard short, which is treated as the two conductors touching and reported as High-Low SHORT. On a failing Arm test the measured resistance is appended below the fault lines when there is room.

10 Sec (flex)

Catches intermittent faults that a static test walks straight past. The tester runs fast continuity scans in a loop for ten seconds while you flex, wiggle, and tug the harness — especially at the strain reliefs and connector backshells.

While it runs, the screen counts down and shows whether continuity is still clean. Per conductor the tester tallies open, short, and miswire events separately, remembers the first fault mask it saw, and stops early on the first bad scan. A pass reports how many scans completed clean, which is a rough measure of how much of the harness got exercised.

The fault screen reports the dominant fault type per conductor, so a wire that mostly drops out reads OPEN even if it also glitched into a neighbour once.

Screens

ScreenWhenContents
ReadyIdleMode name, TESTER, and press test to begin
TestingDuring a static testTesting
Bend WireDuring the flex testCountdown in seconds, plus Continuity OK or GLITCH DETECTED
GoodPassLarge GOOD, plus mode detail: all wires correct, measured ohms, or scans completed
BadFailLarge BAD, plus up to four fault lines

The fault screen holds a maximum of four lines. INPUT STUCK HIGH and, in Arm mode, High-Low SHORT take priority over per-conductor faults. If a test fails but nothing could be attributed to a specific conductor, the screen reads UNKNOWN ERROR.

Results stay on screen until the next button press, and both buttons are ignored while a test is running.

Sounds

EventSound
Power onThree-note rising chime
Mode changeShort two- or three-note motif, different per mode
PassFour-note rising arpeggio, played at low duty cycle so it stays quiet
FailThree harsh alternating low/high buzzes

Serial diagnostics

Connect at 115200 baud for detail the small display cannot fit. Every test prints a per-conductor verdict — GOOD, OPEN / NO CONTINUITY, SHORTED - reaches ..., or MISWIRED - reaches ... — along with any unexpected HIGH inputs seen before the test.

Arm mode adds the raw ADC counts, both sense voltages, the computed dV, and the final resistance, which is useful for sanity-checking a marginal harness. The flex test adds per-conductor event counts (OPEN x3, SHORT x1 -> High), the first fault seen on each conductor, the number of clean scans, and the total fault count.

Configuration

The constants at the top of CableTester.ino cover most of what you would want to change:

ConstantDefaultPurpose
NUM_WIRES4Conductor count; drivePins, sensePins, and wireNames must match
wireNames-, +, Low, HighLabels used on screen and over serial
DRIVE_SERIES_OHMS1500.0Must match the fitted series resistors, or the resistance reading will be off
OLED_ADDRESS0x3CSome SSD1306 modules use 0x3D
BUTTON_PIN / MODE_BUTTON_PIN21 / 22Test and Mode buttons

Test durations and settle times are local constants: TEST_MS in runFlex10Test() sets the ten-second window, and testOneWire() / testOneWireFast() set the settle and release delays.

Troubleshooting

SymptomLikely cause
Blank screen, OLED initialization failed. on serialWrong I2C address or SDA/SCL not on 18/19; firmware halts here by design
INPUT STUCK HIGH before any testExternal voltage on the harness, a missing pull-down, or a sense line shorted to power
Everything reads OPENHarness not seated, or In1 and Out1/Out2 swapped end for end
Resistance reads OPEN on a known-good CAN busTermination resistor missing or too large for the 1.5 kΩ divider to resolve
Resistance reads far from expectedDRIVE_SERIES_OHMS does not match the resistors actually fitted
Flex test passes on an intermittent harnessNot enough movement; flex at the connector backshells and strain reliefs

Limitations

  • Resistance is measured only between High and Low. The + and - conductors are checked for continuity only.
  • The measurement targets the tens-of-ohms range of CAN termination. Accuracy falls off well above a few hundred ohms, since the divider uses 1.5 kΩ series resistors.
  • Continuity is a logic-level test, so a high-resistance joint that still pulls the sense line above the input threshold reads as good. The flex test is the practical way to find those.
  • The firmware is fully blocking: a test runs to completion before buttons are read again.

Future Improvements

  • Add more ports on the PCB for another button and buzzer.
  • Develop a better way to test round cables
  • Standard resistance measurements we expect when measuring the arm and write them down somewhere or get the device to tell you.
  • Put the micro usb port closer the the wall of the device to make plugging in the device easier

Parts

2
QtyValueFootprintReferences
1~1_My_custom_library:probe_1U1
1~1_My_custom_library:4holesU2

More from maxconine/Cable-Tester

2
  • 2 layers51.5 × 66.5 mmWireTester, the printed circuit board in 3D

    WireTester

    maxconine/Cable-Tester

    A device to quickly test cables on robots at the press of a button.

    19 parts
  • 2 layers50.3 × 59.3 mmWireTesterV1, the printed circuit board in 3D

    WireTesterV1

    maxconine/Cable-Tester

    A device to quickly test cables on robots at the press of a button.

    19 parts

Similar boards

  • 2 layers37 × 19 mmPassive rpi hub75-adapter, the printed circuit board in 3D

    Passive rpi hub75-adapter

    hzeller/rpi-rgb-led-matrix

    Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO

    2 parts4.4kGPL-2.0
  • 2 layersDiode template, the printed circuit board in 3D

    Diode template

    adamws/kicad-kbplacer

    KiCad plugin for automatic keyboard's key placement and routing

    2 parts547GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 button, the printed circuit board in 3D

    L0 button

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    2 parts546MIT
  • 2 layers35.1 × 46.8 mmSDEX2M2 Breakout Board, the printed circuit board in 3D

    SDEX2M2 Breakout Board

    NVNTLabs/switch2-SDEX2M2

    Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2

    2 parts542GPL-3.0
  • 2 layers59.3 × 36.6 mmExpansionBoardTemplate, the printed circuit board in 3D

    ExpansionBoardTemplate

    BlueSCSI/BlueSCSI-v2

    BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350

    2 parts459GPL-3.0
  • 2 layersAlpha.9mm.wire, the printed circuit board in 3D

    Alpha.9mm.wire

    ohmtech-rdi/eurorack-blocks

    Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust

    2 parts410
  • 2 layers26.7 × 64 mmGpu power, the printed circuit board in 3D

    Gpu power

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    2 parts397Apache-2.0

Questions

How big is the ProbeBoard PCB?

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

What parts does the ProbeBoard use?

2 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 ProbeBoard KiCad files?

From the maxconine/Cable-Tester repository on GitHub, at the commit this page was made from: the board is WireTester/ProbeBoard/ProbeBoard.kicad_pcb and its schematic WireTester/ProbeBoard/ProbeBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ProbeBoard design in my own project?

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