Site Information

 Loading... Please wait...

Blog

Know OBD2 Before You Start That Development Project

Posted by Wilfried Voss on

Teensy 4.0 OBDII CAN-Bus ECU Simulator Includes Teensy 4.0

We at Copperhill Technologies offer a variety of CAN (Controller Area Network) devices for developing automotive and industrial embedded systems. In that capacity, we receive frequent inquiries regarding OBD2 (Onboard Diagnostics). 

OBD2, or Onboard Diagnostics Second Generation, is a vehicle diagnosis system found in modern cars and trucks. The OBD2 system collects data from sensors and other monitoring devices, which are then examined by the vehicle's engine control unit (ECU) to determine whether any issues need to be addressed. Problems with the engine, gearbox, emissions system, and others, are among the most common faults that OBD2 can discover.
Source: https://www.autopi.io/blog/what-is-obd-2/

The inquiries we receive, unfortunately, also reflect some misunderstanding of OBD's purpose and functionality. To make it a point, OBD2 is a mere diagnostics system that allows you to monitor the vehicle's performance. It does not allow you to control the car stereo, windows, steering wheel, or brakes (there were multiple inquiries in that direction, ignoring the more than serious liability aspects). 

Of course, there are valid approaches to ODB2 development. Besides some unique ideas, most are about vehicle maintenance and fleet management, including telematics, vehicle performance, and predictive failure analysis. 

Furthermore, some entrepreneurs with great ideas miss the stringent hardware requirements to meet harsh environmental conditions, such as temperature and vibration. Your solution should work in Death Valley as well as Antarctica. Many of our customers use the Raspberry Pi with the PiCAN series of CAN Bus HATs for their OBD2 projects. This approach is a great starting point to prove the concept, but in the majority of cases, not recommended for mass production. Alternatively, if you deem your OBD2 project a fun hobby, you are on the right track. 

To make it a point, regardless if your OBD2 project is a mere hobby or a great business idea, you need to know OBD2. For example, OBD2 is not a mere protocol based on the CAN Bus. There are five different OBD2 protocols. They are: 

  • ISO 15765 (CAN bus): Mandatory in US cars since 2008 and is today used in the vast majority of cars 
  • ISO14230-4 (KWP2000): The Keyword Protocol 2000 was a common protocol for 2003+ cars in, e.g., Asia 
  • ISO9141-2: Used in EU, Chrysler & Asian cars in 2000-04 
  • SAE J1850 (VPW): Used mostly in older GM cars 
  • SAE J1850 (PWM): Used mostly in older Ford cars 

Source: https://www.csselectronics.com/pages/obd2-explained-simple-intro

However, since ISO 15765 (CAN Bus) has been mandatory for US cars since 2008, one can assume that OBD2 in the majority of cars in the US uses Controller Area Network. 

For more information on OBD2, see:


Teensy 4.0 OBDII CAN-Bus ECU Simulator Includes Teensy 4.0Teensy 4.0 OBDII CAN-Bus ECU Simulator Includes Teensy 4.0

This is a CAN-Bus OBDII ECU simulator using the Teensy 4.0 module (included). Useful for testing OBDII interface and writing diagnostic software. ECU PIDs parameters are adjustable via potentiometers.

This board requires a 12 VDC power supply. A 12 VDC adapter is included.

More Information...

Automotive Power Management IC with LIN and CAN-FD Interfaces

The SPSB081 by STMicroelectronics is a power management chip providing electronic control units (ECU) with power management functionality. It supports CAN FD and, optionally, comes with LIN transceivers. The SPSB081 operates at various standby modes with programmable local and remote wake-up capabilities to minimize power consumption. The chip has a low-drop voltage regulator to supply the host microcontroller [...]

Read More »


Free-of-Charge OBD-II Viewer Windows Software and Application Programming Interface (API)

PEAK Systems has announced the revised version 1.2 of its free-of-charge Windows software PCAN-OBD-2, an OBD-II Viewer based on their OBD-2-API (Application Programming Interface). The software allows engineers to develop applications based on the OBD-II (Onboard Diagnostics) communication standard. The Windows software and the API work with all PEAK Systems CAN Bus interfaces. OBD-II is a standard specifying [...]

Read More »


System-On-Module (SOM) Dedicated To Commercial Vehicles Supports Two CAN FD Interfaces

Microsys Electronics announced its Miriac MPX‑LX2160A, a System-On-Module (SOM) dedicated to commercial vehicles and mobile systems. The module supports two CAN FD interfaces.The module is based on the NXP LX2160A processor and offers 16 Arm Cortex-A72 cores, which are twice as many as its predecessors. The configuration meets the requirements of (artificial intelligence) edge server applications, autonomous [...]

Read More »


Edge AI Platform Supporting Eight GMSL Automotive Cameras, 10G Ethernet, Isolated CAN Bus Port

The NRU-110V computer system by NEOUSYS Technology (Taiwan) supports eight automotive cameras, 10G Ethernet, and one isolated CAN Bus (Classical CAN) interface for in-vehicle communication. The device integrates the NVIDIA Jetson AGX Xavier SOM (System-On-Module), including the Volta GPU (Graphics Processing Unit) and the Carmel CPU. Using the 10G Ethernet interface, the computer acts as a camera sensor hub [...]

Read More »


Gateway Device Controls LIN Bus Via USB, Simulates LIN Master Or LIN Slave Nodes

Lipowski Industrie-Elektronik (Germany), a member of the LIN-Consortium, offers its Baby-LIN-II gateway. The Baby-LIN-II represents a small but powerful system to control a LIN bus via USB and simulate LIN master or LIN slave nodes. The galvanically isolated LIN interface avoids problems in harsh environments.The device also supports stand-alone operation without a PC. A durability [...]

Read More »


Under Development: Galvanically Isolated Quad Channel CAN Bus to USB Gateway For Industrial And Automotive Applications

A few months ago, we introduced a development concept for an  Automotive Network Development System with CAN, CAN FD, LIN, Ethernet. After further market research plus very much appreciated feedback from customers, we decided to modify the concept and basically create two devices, one for CAN and LIN, the other to CAN and Ethernet. Ethernet, in [...]

Read More »


Arduino Based CAN Bus, LIN Bus Development And Prototyping Boards For Automotive And Industrial Applications

Teensy is a line of Arduino-compatible boards designed to offer maximum I/O capabilities, backed up by a slew of fully featured software libraries designed to run on Arduino. The Teensy is a complete USB-based microcontroller development system in a minimal footprint, and it is capable of implementing many types of projects. All programming is done [...]

Read More »


LIN Bus Serial Analyzer Development Tool For Automotive Applications

The LIN Serial Analyzer development tool enables the user to monitor and communicate to a LIN (Local Interface Network) bus using a Personal Computer (PC). It is a powerful tool that can be used to send messages, monitoring the bus traffic, perform error checks, and filter messages. There are many other features, allowing the user to [...]

Read More »


Automotive Grade CAN FD Transceiver Plus Digital Isolator For Electric Vehicle Systems

Texas Instruments (TI) introduced its TCAN1044EV-Q1 Grade 0 CAN FD transceiver and the ISO7741E-Q1 Grade 0 digital isolator for reliable communication and protection in (hybrid) electric vehicle systems that are exposed to temperatures of up to +125 °C (257 °F).The devices are classified according to the Grade 0 ambient operating temperature specification of the AEC-Q100 (Automotive Electronics Council) [...]

Read More »