How To Transmit CAN Bus Messages: OBD2 PID Example

In this article we explain how you can transmit custom CAN frames using one of our CAN bus data loggers. To illustrate the logic, we use the CANedge as an OBD2 data logger to make OBD2 PID requests.

Transmit CAN data

By default, most CAN loggers and CAN interfaces simply "listen" to the existing CAN network traffic.

However, in some cases a "silent-mode" CAN analyzer is not enough and some CAN frames are only broadcast 'on request' - e.g. within the OBD2 protocol and some J1939 PGNs.

Here, the CANedge lets you disable 'silent mode' to enable the transmission of custom CAN frames:

CANedge OBD2 data logger

The CANedge lets you easily log OBD2 data to an 8-32 GB SD card. Simply specify what OBD2 PIDs you wish to request, then connect it to your car via an OBD2 adapter to start logging. Process the data via free software/APIs and our OBD2 DBC.

Example: OBD2 PID dashboard

With the CANedge, you can easily set up free, custom browser dashboards for visualizing your OBD2 data and setting alerts.

Check out the online playground - or learn more in our intro!

About the OBD2 dashboard

The OBD2 dashboard playground showcases various OBD2 parameters being requested - and recorded - by a CANedge2 from an Audi. The OBD2 data is recorded to the device SD card (as raw CAN frames), auto-pushed via WiFi to the end user's own server - and auto-processed for visualization in the browser dashboard.

Note that the dashboard also includes data from our GPS-2-CAN module (with accelerometer/gyroscope), illustrating how you can combine CAN and OBD2 data with the CANedge.

Get the 'OBD2 Data Pack'

Want to try working with real OBD2 data?

Download your 'data pack' incl. our OBD2 DBC, 25+ car DBCs and 100+ MB of OBD2 data across 10+ cars!


J1939 data pack

How do OBD2 PID requests work?

Below we show how the 'transmit list' may look like for a CANedge OBD2 configuration:

Example: If you wish to query Engine RPM data in an OBD2 context, you'll need to set the "data" field to 02 01 0C 55 55 55 55 55.

See also our OBD2 data logger intro for log file examples and a full guide on OBD2 logging.

Ready to log CAN/OBD2 data from your car?

Get your CANedge today!