OBDII Click Board
The OBDII Click Board™ offers a unique opportunity to tap inside the car diagnostic systems. It features the STN1110 Multiprotocol OBD to UART Interface, developed by the ScanTool technologies. This Click Board™ can be used for the communication with the Electronic Control Unit (ECU) of a vehicle, via several different OBD II diagnostic protocols such as CAN, K LINE, L LINE and J1850. The STN1110 IC is used to process requests sent by the MCU via the UART interface and return back the responses from the ECU network nodes.
The OBDII Click offers a unique opportunity to tap inside the car diagnostic systems. It features the STN1110 Multiprotocol OBD to UART Interface, developed by the ScanTool technologies. This Click can be used for the communication with the Electronic Control Unit (ECU) of a vehicle, via several different OBD II diagnostic protocols such as CAN, K LINE, L LINE and J1850. The STN1110 IC is used to process requests sent by the MCU via the UART interface and return back the responses from the ECU network nodes.
The STN1110 Multiprotocol OBD to UART IC is built around a fast 16-bit processor core and has large memory buffer. It also features automatic protocol recognition, it is fully compatible with the ELM327 and ELM327 Extended AT command set and can be used on UART speed up to 10Mbps. Those features make this Click more than a perfect solution for various designs, including custom car dashboards, OBD data loggers, Automotive diagnostic scan tools and similar applications.
How does the OBD-II Click Board™'
OBD or On-board Diagnostic is a set of standards for implementing a computer-based system to control and diagnose vehicles. OBD II is the second generation of this standard, which was irst introduced in the 1980's. Over time, several revisions of this standard were made and from just a few simple light indicators, the OBD grew into a fully-fledged digital diagnostic standard, with strictly defined communication rules and the type of connectors.
The standard prescribes a set of defined PIDs or Parameter IDs to communicate with the vehicle on-board computer (ECU) and return values from the corresponding locations of the vehicle's controller network, related to a specific PID. There are 10 modes of operation described in the latest OBD II standard. Vehicle manufacturers are not required to support all 10 modes and may add some additional modes. The expected response for each PID is strictly defined, along with information on how to translate the response into meaningful data.
STN1110 is an OBD to UART interpreter IC that can be used to convert messages between the currently supported OBD-II protocols and the UART. It is fully compatible with the commonly used ELM327 device command set. OBD II standard also prescribes that each OBD II compliant vehicle should be equipped with a standard diagnostic connector (DLC), which makes connecting and reading data from various types of vehicles possible by using the same device.
To achieve successful communication with various systems used inside the vehicle diagnostic network, the STN1110 needs the signals to be converted on a physical level. For this reason, the Click Board™ also comes equipped with the MCP2551 - an ISO-11898 standard compliant CAN signal transceiver, as well as the LM339 - quad differential comparator IC, that is used to convert K Line, L Line and J1850 line signals into a proper digital format. There is a separate analog pin available on the STN1110 IC, which is used for the car battery voltage measurement. This function is handy when checking communication on the UART side of the IC. Besides requesting the voltage level information from the ECU via the command, it can also be measured directly from the battery voltage divider, with no special communication protocol used.
The Click is equipped with four signalling LEDs, that are used to monitor data transfer on the Click-OBD side, as well as on the Click-MCU side (OBD RX/TX and UART RX/TX). Besides the Power LED (PWR) used to indicate that the Click, there is also a LED that indicates the presence of battery voltage on the OBD connector, and it is labelled as BAT. The OBDII Click comes equipped with the D-Sub 9 connector (also known as DB9) that allows using a standard OBDII cable.Note: The OBDII cable does not come with the package.
After the initial protocol auto-recognition (which might require the ignition switch to be turned on and the initialization AT command to be sent), all the communication between the vehicle ECU and the STN1110 is done automatically, so it is possible to get readings of the vehicle systems status effortlessly, by sending simple AT commands via the UART pins of the Click. MikroElektronika provides simplified libraries that take care of the proper communication between the Click and the MCU via the UART. For the complete list of available AT commands, please refer to the product documentation.
- OBDII Click Board (1)