LinUSBConverter (uLC) is a low-cost, open-source hardware and software solution that allows your computer to act as a LIN 2.1 bus master, slave, or passive monitor. Equipped with optical isolation and powered by an STM32F042 microcontroller, it presents as a standard USB CDC virtual COM port using an SLCAN-compatible ASCII protocol to eliminate the need for proprietary drivers. The repository provides embedded firmware, KiCad hardware files, a high-level Python library, and a dedicated Model Context Protocol (MCP) server that empowers AI agents to autonomously sniff traffic, monitor signal changes, detect bus parameters, and decode LDF files.
主要功能
01Acts as an SLCAN-compatible USB CDC virtual COM port supported natively on Linux, macOS, and Windows
0293 GitHub stars
03Supports LIN 2.1 in Master, Slave, and Monitor modes with up to 16 configurable frame slots
04Provides optical isolation between the LIN bus and USB host, powered externally from 4.5V to 28V
05Integrates with Linux SocketCAN via standard slcand utilities and Python-based toolsets
06Includes a built-in MCP server for AI-driven LIN bus sniffing, detection, and LDF signal decoding
使用案例
01Automotive bus sniffing and reverse engineering using automated AI agents or can-utils
02Simulating LIN master controllers or slave sensor nodes during ECU firmware development
03Interfacing embedded automotive networks with PC diagnostics and automated hardware-in-the-loop tests