ELM327 OBD-II Source
Node ID: elm327 · Role: Source · Realtime config: no
Description
Reads vehicle speed from an ELM327 OBD-II adapter over serial or Bluetooth. Polls PID 0x0D to produce VehicleSpeed data for dead-reckoning fusion.
Inputs / Outputs
- Inputs: (none)
- Outputs:
VehicleSpeed
Config aliases
Elm327Source, elm327Source, elm327
Properties
Each row shows the setting’s label in the node’s Properties panel and, in code, its key in the node’s settings object in the config file. A setting omitted from the config file uses the default shown here.
| Property | Type | Default | Description |
|---|---|---|---|
Serial Port port | select | "" | Serial port of the ELM327 adapter. Options: ``, COM11, COM18, COM3, COM4, COM5, COM6, COM7, COM8. |
Baud Rate baudrate | select | 115200 | Serial baud rate for the ELM327 adapter. Options: 9600, 38400, 57600, 115200, 230400. |
Porsche Mode isPorsche | boolean | false | Use the Porsche-specific PID set instead of the generic OBD-II PIDs. |
Protocol Auto-Detect protocolAutoDetect | boolean | false |
Example node definition
A minimal entry in config.json looks like the block below. Paste it under the sources key, keyed by an instance name of your choice. All settings are optional: anything not listed under settings uses the default from the Properties table above. See The configuration file for how the sections and endpoint wiring work.
{
"sources": {
"elm327": {
"outEndpoint": "inproc://elm327_data",
"settings": {}
}
}
}