dan8915610818/VoltReaver
GitHub: dan8915610818/VoltReaver
一款基于 Python 的 USB-C PD 协议分析工具,为 POWER-Z KM003C 提供实时数据监控、PD 消息解码和 CSV 日志记录。
Stars: 0 | Forks: 0
# VoltReaver 1.1
专为 **ChargerLab POWER-Z KM003C** 定制的 USB-C Power Delivery 和协议分析工具。
专为诊断、充电器测试、电池容量记录以及常规 USB 电源开发而构建。
## 功能
- 带有 VU 风格仪表的实时终端仪表盘
- 实时 PD 消息解码
- D+/D-、CC1/CC2 监控
- 累计 Wh / Ah 计数器
- 完整的 CSV 日志记录
- 高轮询率
## 要求
- Python 3.8+
- `pyusb`
- `rich`(用于精美的仪表盘)
## 安装
```
pip install pyusb rich
## Windows 设置(重要):
## 安装 Zadig
Plug in the KM003C via the HID/monitoring port
In Zadig, select the KM003C (Interface 3 usually) → Choose WinUSB → Install/Reinstall Driver
Run VoltReaver-1.1.py as Administrator the first few times if you get permission errors.
## Linux 设置(简单得多):
Bash
sudo apt update
sudo apt install python3-pip libusb-1.0-0-dev
pip3 install pyusb rich
# 可选:无需 sudo 运行(推荐)
sudo usermod -aG plugdev $USER
# 重启或注销/登录
Then run:
Bash
python VoltReaver-1.1.py
## 使用方法:
Connect KM003C via the side USB-C monitoring port
Plug your device/charger into the main port
Ctrl+C to stop (data is saved to volt_reaver_log.csv)
## 许可证:
MIT — see LICENSE file.
## 免责声明:
This is an unofficial reverse-engineered tool. Use at your own risk. Not affiliated with ChargerLab.
Made with curiosity by Daniel Lounsberry • July 2026
# VoltReaver
VoltReaver — A hacker-friendly USB-C PD analyzer for the POWER-Z KM003C. Real-time dashboard with linear VU meters, protocol decoding, D+/D-/CC voltages, energy (Wh/Ah) tracking, and detailed CSV logs. Perfect for diagnosing chargers, testing cables, and capacity-testing battery banks.
```
标签:逆向工具