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...

CAN Bus Development with ESP32-WROOM32 Development Board

This post will demonstrate how to add a CAN Bus port to the ESP32-WROOM32 development board, i.e., regarding hardware and software. Download this post as PDF... As a matter of fact, we already offer a hardware utilizing the ESP32 processor and an onboard CAN Bus transceiver as shown in the image to the left. The ESP32 WiFi, Bluetooth [...]

Read More »


Bluetooth OBD2 Scanner Turns iPhone, iPad, Android, Kindle Fire or Windows Device Into Diagnostic Scan Tool

This Bluetooth OBD2 scanner gives you more codes and advanced parameters than any other wireless OBD scanner - Unlimited FREE OEM data upgrades for Ford, GM, Mazda, Nissan/Infiniti, Toyota/Lexus/Scion vehicles. The OBDLink MX+ reads and clears codes on all 1996 and newer OBD-II compliant vehicles. The OBDLink App (included) provides advanced diagnostics, trip logging, multi-parameter graphing, customizable gauges, [...]

Read More »


ECU CAN Bus Simulator for OBD-II Development

The OBDLink ScanTool ECUsim 2000 ECU CAN Simulator for OBD-II Development is a small diagnostic tool that is ideal for DIY testing and development of OBD services and software. The CAN Bus (ISO 15765) model supports a range of parameter IDs, diagnostic trouble codes (DTCs), freeze frames, and SAE J1979 modes: 1, 2, 3, 4, 7, 9, and [...]

Read More »


OBD-2 Automotive Code Encyclopedia and Cross-Reference Guide

The OBD-2 Automotive Code Encyclopedia and Cross-Reference Guide By Mandy Concepcion presents information without the sponsoring of any one particular company or organization. No endorsements are made or implied. Any reference to a company or organization is done purely for the sake of information.You gain access to a series of valuable cross-reference automotive sensor values, [...]

Read More »


OBD-II Data Logging With Raspberry Pi And PiCAN2 CAN Bus Interface

In all regularity, I receive inquiries from users attempting to connect their Raspberry Pi with PiCAN CAN Bus interface to their vehicle's OBD-II diagnostics port, and the questions asked prompted me to write down the essentials to consider for such a project.Please, note: The following refers to reading CAN Bus data from a vehicle's OBD-II [...]

Read More »


OBD II Scanner Car Engine Fault Code Reader And CAN Bus Diagnostic Scan Tool

The ANCEL AD310 OBD II Scanner Car Engine Fault Code Reader And CAN Bus Diagnostic Scan Tool is an excellent upgrade from the more basic diagnostic Code Reader. The primary function of this scanner is detecting the Engine System, and reading and clearing the error codes.  Once plugged into your vehicle's 16pin OBD-II diagnostics port, the unit powers up [...]

Read More »


Data Acquisition from Light-Duty Vehicles Using CAN Bus, Including OBD-II, SAE J1939 Protocols

The Society of Automotive Engineers (SAE) has published a book that guides readers on how to collect and evaluate data from  CAN Bus in-vehicle networks of light-duty (LD) vehicles. Data Acquisition from LD Vehicles Using OBD and CAN by Eric Walter and Richard Walter addresses product engineers, service technicians, fleet managers, and all interested in acquiring data efficiently [...]

Read More »


Heavy Duty Truck Diagnostics And Scan Tool Supports OBD-II, SAE J1939, SAE J1708 & 1587 Protocols

The CR-HD unit is the perfect tool for diagnosing and clearing heavy duty diagnostic trouble codes. It covers SAE J1587, SAE J1708 and SAE J1939 protocols for accessing Engine, Transmission, Brakes and more. It features a 2.8” full color LCD display and is ergonomic, highly portable and easy to use. Perfect Scan Tool for Heavy Duty Truck works on [...]

Read More »


SAE J1939 Or OBD-II Router For Cloud-Based Vehicle Fleet Operations

Sierra Wireless has announced their Airlink MP70 router to support analytics and reporting for cloud-based vehicle fleet operations. The Airlink MP70 router enables the communication of SAE J1939 or OBD-II vehicle data to the cloud. The Airlink Management Service – Advanced Reporting and Analytics (Alms Ara) services enable organizations to manage their vehicle fleets using Sierra Wireless’ industry-leading Airlink [...]

Read More »