{% extends "base.html" %} {% block content %}
Bringup-time helpers for identifying pin assignments on a new custom board.
Each tool briefly stops vendora-coin while it owns the GPIO chip,
then restarts it on exit. Not for use during business hours — they interrupt
paying customers' sessions.
Drive any gpiochip0 line HIGH or LOW for a few seconds to identify which OPi One pin is wired to a particular signal on a new custom board. Pulse each candidate line in turn and watch the relay (or LED, or scope) until you find the one that responds.
Heads up: this temporarily stops vendora-coin
so it releases its line claims. Any in-progress paying session will be
interrupted. Auto-release after the duration expires — you cannot
accidentally leave a line stuck driven.
Sweeps every PA header pin: HIGH for 3 s, rest, LOW for 3 s, rest, then moves on. Total runtime ≈ 1 min 45 s. Watch the slot relay — the pin label shown at the moment it clicks is your slot-power pin.
Heads up: stops vendora-coin for the
duration. Driving UART2 pins (PA0/PA1) briefly garbles any attached
serial console — harmless on headless setups. Pins are driven for
≤3 s with no external short; no risk of damage under normal wiring.
Listens on every PA header pin simultaneously for a FALLING edge
(matches CH-926's active-low pulse). Click Start, drop a single coin,
and the firing pin lights up below — that's your pulse_line.
Faster than sweeping: one coin drop ≈ one answer.
Heads up: stops vendora-coin while running
(we need exclusive access to the GPIO chip). Each watched pin gets
an internal pull-up; pins already reserved by the kernel are skipped
and listed below.