PicoUart
See what your UART bridge is doing, without taking over your serial ports.
The pico-uart package adds a Python API, command-line tools, and a local web dashboard to the
PicoUart six-channel USB-to-UART bridge.
For Windows, Linux, and macOS with Python 3.10+.
PyPI · Source · Firmware releases · Report an issue
Inspect channel health, traffic, and dropped-byte counts, or save diagnostics alongside your test results.
Diagnostics use USB HID, separate from the six USB CDC serial ports. Keep using your terminal or serial library for UART payloads, baud rates, and framing. The browser talks to Python, so it does not need WebHID support.
Illustrative WebHID dashboard with simulated telemetry, not a live hardware result. The Python dashboard uses the shared frontend; its layout and controls may differ.
Quick Start
Create and activate a virtual environment on Linux or macOS:
python3 -m venv .venv
. .venv/bin/activate
On Windows PowerShell:
py -m venv .venv
.\.venv\Scripts\Activate.ps1
Then install the package:
python -m pip install --pre pico-uart
--pre allows development releases; omit it to select stable releases when available.
For an isolated CLI installation, use pipx install --pip-args="--pre" pico-uart instead.
Connect a Pico or Pico 2 running PicoUart firmware, then run:
pico-uart web
Open http://127.0.0.1:5000/ on the computer running Python. Use Board to select a device and Rescan to refresh.
Stop the server with Ctrl+C. If the port is occupied, run pico-uart web --port 5001.
Before wiring UART devices: signals are 3.3 V only; never connect 5 V or RS-232 signals directly. Follow the hardware setup guide.
Command-Line Tools
| Task | Command |
|---|---|
| Read a channel status update | pico-uart status |
| Save status as JSON | pico-uart status --json |
| Watch traffic for 60 seconds | pico-uart monitor --duration 60 |
| Read cumulative RX dropped-byte counts | pico-uart overruns |
| Inspect hardware or boot configuration | pico-uart hardware / pico-uart config |
Run pico-uart --help for all commands. To select a board, put --serial SERIAL or --device-path PATH
before the command:
pico-uart --serial ABC123 status
Use one HID monitor/server per physical board; separate processes do not share input reports or traffic totals.
For automated tests, redirect status --json or monitor output to a file alongside your serial test results.
A successful command does not prove continuous reporting or healthy channels; see
result interpretation.
Python API
Read a status snapshot without changing board settings:
from pico_uart import PicoUartHid
with PicoUartHid() as board:
status = board.read_status(timeout_ms=1000)
if status is None:
raise RuntimeError("no PicoUart status report received")
print(status["channels"])
The context manager closes the connection. A snapshot may contain channels still waiting for data; it does not wait
for fresh reports from all six. Use PicoUartHid(serial_number="ABC123") to select a board.
See the Python client guide
for methods, UART readiness checks, errors, and board controls.
Troubleshooting
- Board not found: check firmware, the USB data cable, and the selected serial number or device path. The board must be connected to the computer running Python. With no board attached, a HID command failing is expected.
- Access denied: follow the Linux HID permissions guide. Do not run the dashboard as root to bypass permissions.
- Port already in use: start the dashboard with
pico-uart web --port 5001. - PowerShell activation blocked: install with
.\.venv\Scripts\python.exe -m pip install --pre pico-uart, then run.\.venv\Scripts\pico-uart.exe web. - No valid reports: check firmware compatibility and the USB connection. A timeout does not mean zero traffic.
- Unconfirmed board action: reconnect and inspect state. Never automatically retry a save or reboot.
Saving configuration reboots the board. Close all CDC ports and stop UART traffic first; review the save safety contract before changing settings.
Documentation
- Installation from a checkout, tests, and host development
- Project, firmware, and wiring
- HID report reference and compatibility
- Security and lab-only USB identity
License
Released under the BSD 3-Clause License. For bug reports, include the package and firmware versions, operating system, and exact error message.
Metadata
Release files for pico-uart 0.10.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pico_uart-0.10.1-py3-none-any.whl | Python 3 | none | any | Details for pico_uart-0.10.1-py3-none-any.whl |
Release files / pico_uart-0.10.1-py3-none-any.whl
| Download URL | pico_uart-0.10.1-py3-none-any.whl |
|---|---|
| Size | 44.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
530384e2e87e9e3003497fa1243b2190adef2ba07f695a245f001cd4af0eabbe
|
|
BLAKE2b-256 checksum How to use checksums |
faa6212fdcd88c8c8c897d328f4ddbefdcdbd4b8013a05bc7bde547d7878cdd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for pico-uart 0.10.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for pico_uart-0.10.1-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.