Ryan Malloy 30ef51f26c SPICE simulation of PC817 optocoupler RX/TX paths (9600 baud)
Both signal paths validated with LTspice using built-in PC817
subcircuit model (Igain=1m). RX gives clean 0-3.13V at 3.3V VCC
with 5.8us rise time. TX confirms signal inversion and 0.17V bus
LOW with 4.66mA LED drive. 3.3V design works but is marginal vs
the original 5V Arduino circuit at worst-case CTR.
2026-02-13 00:04:55 -07:00
Description
BMW I/K-Bus + OBD-II K-line interface board (ESP32, optocoupler isolated)
687 KiB
Languages
MDX 60.4%
C++ 35.7%
C 1.2%
JavaScript 0.8%
Makefile 0.7%
Other 1.2%