km003c-rs

Open tools for the POWER-Z KM003C USB-C analyzer: CLI, GUIs and USB PD capture

Image 1 of 2: Desktop monitor plotting live voltage, current and power

A Rust library, a CLI, desktop and Android GUIs and Python bindings for the ChargerLAB POWER-Z KM003C: streams voltage, current and power up to 1000 samples a second, captures and decodes USB Power Delivery messages, exports recordings, and runs in Chromium as a browser monitor over WebUSB.

Trade-offs

  • Physical values in the Rust API are typed quantities from uom, so volts and amps cannot be mixed up at compile time, at the cost of a heavier API than plain floats.
  • The vendor bulk interface reaches about 0.6 ms latency and supports every command, while HID works only for single reads, so most features need the vendor interface and its udev rules.

Q&A2

No: it is published to GitHub Pages, but USB communication, plotting and export all run locally in the browser through WebUSB and WebGPU.

Reviews

Loading reviews

    More in Tokio

    See all 5 →
    • OxiMuxDesktop cockpit for running several CLI coding agents in parallel worktrees
    • clipboardwireClipboard sync for text, images and files over a LAN, in one small Rust binary
    • PasirPHP application server in Rust that embeds PHP behind its own HTTP server
    • ZionRust TLS reverse proxy with a built-in WAF and RAM cache
    • MatchmakerConfigurable fuzzy finder for the terminal, in the spirit of fzf

    More in Embedded

    See all 28 →
    • CarWatchA car as a chat agent: Raspberry Pi 5 running a local 35B model in the car
    • Anemoia-ESP32NES emulator running at native speed on a plain ESP32
    • NightRunLocal LLM runtime that boots from USB with no conventional operating system
    • RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments
    • sanoTTS-jpJapanese text-to-speech small enough for a $3 ESP32-S3 microcontroller
    • TouchDeckA local touch control deck for Home Assistant and PC stats on an ESP32-S3

    More in Rust

    See all 146 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • jc-rsjc rewritten as one static binary that turns command output into JSON