How mzulali/xj-scanner works
xj-scanner connects a laptop-based agent or scanner interface to a Jeep’s OBD1 engine computer through a USB Arduino SCI bridge. The main path is connection, PCM requests, decoded fault/live data, and optional CSV logging and analysis; actuator tests and ROM inspection are additional diagnostic workflows. The graph includes the documented agent playbooks and helper tools. Some firmware and unsampled scanner paths are represented only where the README or source index supports the relationship.
Main entry points: xj_protocol.py OBD1 protocol and decoding · xj_scan.py Scanner worker · xj_bridge.ino SCI bridge firmware · pid_sweep.py PID sweep
Components 17
Agent Guidance
- Setup playbooks
.claude/skills
Laptop Scanner
- Scanner UI and CLI
pc/xj_scan.py - Scanner worker
pc/xj_scan.py - CSV logging
pc/xj_scan.py - OBD1 protocol and decoding
pc/xj_protocol.py - Fault descriptions
pc/dtc_table.py
Vehicle Interface
- SCI bridge firmware
arduino/xj_bridge/xj_bridge.ino - Signal capture sketch
arduino/xj_sniff/xj_sniff.ino
Diagnostic Tools
- Drive CSV files
- Drive analysis
tools/drive_report.py - Log summary
tools/summarize.py - PID sweep
tools/pid_sweep.py - ROM inspection
tools/romcheck.py - Signal decoder
tools/sniff.py
Other components
- Jeep owner
- Coding agent
- Jeep PCM
Connections 15
- Jeep owner → Coding agent: requests setup
README.md - Coding agent → Setup playbooks: follows guidance
README.md - Jeep owner → Scanner UI and CLI: runs scanner
README.md - Scanner UI and CLI → Scanner worker: queues commands
pc/xj_scan.py - Scanner worker → OBD1 protocol and decoding: uses link
pc/xj_scan.py - OBD1 protocol and decoding → Fault descriptions: looks up codes
pc/xj_protocol.py - OBD1 protocol and decoding → SCI bridge firmware: exchanges SCI bytes
pc/xj_protocol.py - SCI bridge firmware → Jeep PCM: relays diagnostics
README.md - Scanner worker → CSV logging: writes readings
pc/xj_scan.py - CSV logging → Drive CSV files: stores rows
pc/xj_scan.py - Drive CSV files → Drive analysis: analyzed by
tools/drive_report.py - Drive CSV files → Log summary: summarized by
tools/summarize.py - PID sweep → OBD1 protocol and decoding: queries parameters
tools/pid_sweep.py - ROM inspection → OBD1 protocol and decoding: reads PCM memory
tools/romcheck.py - Signal decoder → Signal capture sketch: drives capture
tools/sniff.py