Octoprobe entry page¶
HIL (Hardware in the Loop) testinfrastructure¶
Terms¶
See Terms
Goal¶
octoprobe
allows to automatically test various micropython boards against various gadgets.Tests should run automatically and include firmware update.
Tests should be triggered from the github workflow, for example on commits or pull requests.
octoprobe testenvironment¶
Software
dockerized on linux
Test script:
pytest
github runner
Hardware
A tentacle may be ordered assembled at JLCPCB and will cost below USD50.
Every tentacle is equipped by a RP2040 which controls the DUT.
The Inkbus connects the tentacles. Typically exactly one BoardTentacle and one GadgetTentacle is connected to the Inkbus.
Extended Hardware
octoprobe may also have specialized tentacles like a scope tentacle.
octoprobe may also control cams to read displays, wlan hotspot, etc.
Firmware under test
Must be provided by the tester
Test software
octoprobe provides basic functionality like updating firmware, connecting the inkbus, tentacle inventory.
However the pytest code itselve is provided by the tester together with the firmware.
Tentacles / testbed_showcase¶
Kicad schmatics/pcb may be found herex.
A testbed describes how test using a set of tentacles.
testbed_showcase is described here here and allows to test i2c, uart, onewire and timers.
4 tentacles - ribbon cable

4 tentacles - stacked

MCU tentacle

Test flow¶
In this test the OLED display shall be tested agains PYBv1.1 and ESP32 using firmware v9.12.