Skip to main content

USB resetter

3D render of the assembled usb resetter PCB

The compact USB resetter restarts a downstream device on a timer. The control computer connects at the top, the upstream supply connects on the right, and the device being reset connects on the left.

Compact board datasheet (PDF) · Original 42 × 42 mm board datasheet (PDF)

Modeled component height: approximately 3.3 mm above the component-side PCB surface.

Usage​

Connect the control port to the computer, the passthrough input to the upstream supply, and the target to the output. Choose Add device → USB resetter. Send status to read the input and output voltages, or cycle 1 to interrupt downstream power for one second. Leave access to all three connectors.

Status indicator​

The three adjacent LEDs are red, green and blue. The indicator starts off. Send led auto to show the power state.

LightPower state
BlueInput is below 4 V.
RedInput power is present and output power is switched off.
GreenOutput is enabled and measures at least 4 V.
Red and greenOutput is enabled but measures below 4 V.

Protocol​

USB serial · 115200 baud · DTR on. Send one ASCII command per line, ending in LF (\n).

CommandPurposeReply
idIdentify the device and firmware.DEVICE tscircuit resetter 2.0.0
helpList supported commands.One line of command syntax.
?Alias for help.Same command list.
statusRead output state and measured input/output voltages.Status line shown below.
onEnable output power and cancel a pending cycle.Status line with out=on.
offCut output power and cancel a pending cycle.Status line with out=off.
cycleCut power for the default 1 second, then restore it.OK cycling
cycle 0.5Cut power for the given number of seconds (0.01–60).OK cycling
resetAlias for cycle, with the same optional duration.OK cycling
led onTurn the indicator on.OK led=on
led offTurn the indicator off.OK led=off
led autoShow power state on the indicator.OK led=auto

Status reply​

OK out=on vin=5.001 vout=4.992

out is the commanded switch state. vin and vout are measured in volts. The board starts with output enabled and times each power cycle locally.

Protocol implementation

Mounting​

The compact PCB measures 36 × 30 mm. Four Ø2.2 mm holes fit M2 screws on a 30 × 20 mm grid. With J1 at the top, measure from the lower-left corner to X = 3 and 33 mm and Y = 5 and 25 mm. The LED centres are 2 mm apart.

Mounting holes and USB-C ports. J1 control at the top, J2 switched output on the left, and J3 passthrough input on the right.

Open full-size drawing · Drawing TSX · PCB source

Firmware and board revisions​

Hold BOOTSEL while plugging in the control port. Copy the UF2 for your board to the RPI-RP2 drive.

Identify your boardFirmwareEnclosure files
36 × 30 mm, four M2 holes, three adjacent LEDsCompact v2.0.0 UF2Use the drawing and CAD downloads above.
42 × 42 mm, four M3 holes, one square RGB LEDOriginal v1.0.0 UF2Original mounting drawing · Original STEP

Compact board fabrication files and assembly BOM