Site Information

 Loading... Please wait...

Blog

SAE J1939 Vehicle Bus Adapters For FMS And IoT - Test & Development Aspects

Posted by Wilfried Voss on

SAE J1939 Starter Kit And Network Simulator by Copperhill technologies

As it turns out, I recently received two inquiries that involved the testing of wireless vehicle bus adapters for FMS and IoT applications, thus requiring the simulation of SAE J1939 data traffic. In one case, the device in question was the Wireless Vehicle Adapter (WVA) by Digi; the second case involved an unspecified IoT device. In both cases, the question was whether or not our SAE J1939 ECU Simulator Board With USB Port would be suitable to (as the name actually implies) simulate SAE J1939 data traffic. And while the answer is yes, there are some other aspects that require consideration:

Are you a beginner to the SAE J1939 technology?

Nothing wrong with being a novice, but please take your time eliminating all the unknown factors during your development. A basic knowledge of the  CAN Bus and SAE J1939 is essential, since it prevents problems such as CAN Bus baud rate mismatch, termination resistor issues, cabling, and other network-related topics.

For instance, it may sound very obvious to the experienced user, but you need at least two nodes to establish a network. We have had many users who worked with our SAE J1939 Simulator and who couldn't establish a connection, because they either did not connect to another J1939 node, or they worked with another J1939 device without applying the proper baud rate or misinterpreting automatic baud detection.

Does your FMS/IoT device utilize automatic baud rate detection?

Before I continue, let me point to two posts I wrote on the subject:

To summarize, if your SAE J1939 device offers automatic baud rate detection, it will do so by applying the "Silent Mode," making the device "invisible" to all other nodes in the network. Consequently, when using our SAE J1939 Simulator board, you still have only one node in the network, and you will run into problems.

Is your FMS/IoT device used only for data monitoring?

It is good practice that devices used for mere recording or monitoring purposes apply the "Silent Mode" (as explained above). The entire SAE J1939 protocol and its hardware requirements were designed to support highest data integrity and "Silent Mode" guarantees that the recording/monitoring device does not interfere or interact with the network. However, as explained above, that makes testing the device difficult.

The solution: The J1939 Starter Kit

If you are a beginner to the J1939 technology and/or you do not have a second J1939 node available, please consider our SAE J1939 Starter Kit and Network Simulator. The Starter Kit is a helpful tool for your development and testing by creating and analyzing SAE J1939 data traffic. Basically, it represents a two-node network to which you add your device, and while the starter kit nodes communicate with each other, your device can monitor/record the data traffic whether it uses "Silent Mode" or not.

In order to simulate some frequently used SAE J1939 signals, we have created a (configurable) simulation that transmits the following parameters (PGNs):

  • Engine Speed
  • Wheel Based Vehicle Speed
  • Accelerator Pedal Position
  • Engine Oil Pressure
  • Engine Oil Temperature
  • Engine Coolant Temperature
  • Fuel Level
  • Engine Fuel Rate
  • Engine Fuel Economy
  • Vehicle Position (GPS)

For more information, see our post:

One final aspect: Does your FMS/IoT device deliver sufficient data?

Many vendors in the CAN Bus industry claim SAE J1939 compatibility, because their devices support CAN 2.0 A/B, which assures support of 29-bit message identifiers as used in SAE J1939. The truth is, CAN 2.0 A/B merely addresses the hardware, specifically the CAN Bus controller functionality. In order to fully support higher-layer protocols, such as SAE J1939, you will need additional software to satisfy protocol-specific features.

For instance, the recording of the VIN under SAE J1939 reveals the most serious shortcoming of mere CAN data recording: CAN Bus data loggers can only record what they "see" on the bus; they are not able to send Request messages to obtain data such as VIN (Vehicle Identification Number), Engine Hours, Fuel Consumption, Vehicle Weight, Tire Pressure, Battery Potential, and further parameters necessary for fleet management or ELD applications.

See also our post:


SAE J1939 ECU Simulator Board With USB Port

SAE J1939 ECU Simulator Board With USB Port

The  jCOM.J1939.USB gateway board is a high-performance, low-latency vehicle network adapter for SAE J1939 applications. It allows any host device with a USB COM port to monitor SAE J1939 data traffic and communicate with the SAE J1939 vehicle network.

The board supports the full SAE J1939 protocol according to J1939/81 Network Management (Address Claiming) and J1939/21 Transport Protocol (TP). It is also supported by an extensive programming interface for Windows and Linux/Ubuntu applications, including full C/C++/C# source code for short time-to-market developments.

The strength of the board lies in the fact that the entire SAE J1939 protocol, including all timing requirements, is stored on-chip, thus taking the burden off the main system. The board uses a USB COM port to communicate with the main system, i.e. all data transfer is handled through a standard COM port access. 

The communication protocol between the board and the main system is well documented and thus allows a porting to any computer system with a USB connection. Working source code libraries exist for Windows (C# under Visual Studio 2012/2013), Linux and its derivatives (C++ using Code::Blocks), and Raspberry Pi (C using the standard gcc compiler).

More Information...

ESP32 Development Board For IoT Development Features WiFi And Bluetooth Connectivity

The ESP32 is a series of low-cost, low-power system-on-chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth. The ESP32 series employs a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations and includes built-in antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules.Based on the ESP32 board, the NodeMCU-32S is also an [...]

Read More »


IoT Enabled Controller With CAN Bus Port Supports SAE J1939 And NMEA 2000 Protocols

Divelbiss Corporation introduced its HEC-P2000 Family of IoT enabled controllers, offering the highest control capability in harsh environments. The HEC-P2000 family renders maximum flexibility for controlling mobile equipment, communicating with various serial bus protocols, logging system data, or adding Internet of Things (IoT) capability to existing systems. The device can be programmed using the FREE Divelbiss [...]

Read More »


Industrial-Strength IoT Kit With Battery-Backed RTC Chip For Raspberry Pi

Advantech, a manufacturer of embedded platform solutions, announced its UNO-220 Raspberry Pi-ready industrial-grade gateway kit. In keeping with current Internet-of-Things (IoT) technology trends, UNO-220 is suitable for customers using the Raspberry Pi single-board computers (SBCs) for creating dedicated IoT applications. Equipped with a micro SD card with OS image and Raspberry Pi HAT I/O board, the UNO-220 [...]

Read More »


Ultracompact, single-band Wi-Fi and BLE5-hosted module for space-constrained Internet-of-Things (IoT) applications

Telit, a manufacturer of Internet of Things (IoT) solutions, announced its WE310F5, a fully integrated, single-band Wi-Fi and Bluetooth Low Energy (BLE5) module that provides wireless connectivity to embedded microcontrollers via UART, SPI, and SDIO interfaces. Available in versions with and without antennas, the Telit WE310F5 provides 802.11b/g/n (2.4 GHz) and BLE5 connectivity. The device emphasizes an [...]

Read More »


Classical CAN, CAN FD To Ethernet Gateway And Bridge For IoT Connectivity

HMS Networks has extended the functionality of its Ixxat CAN@net NT and CANbridge NT series. Users can now add event-controlled network actions and bi-directional MQTT-messaging to cloud applications.Both product families enable CAN-based networking on-site and remotely. The CANbridge NT allows the coupling of up to four Classical CAN and CAN FD networks using filter and translation rules. Network [...]

Read More »


ARM Cortex M4 Single-Chip MCU Supports CAN Bus, USB, Bluetooth for IoT And Gateway Applications

Renesas introduced its RA4W1, an MCU with an integrated CAN Bus, USB, and Bluetooth 5.0 Low Energy (BLE). The single-chip MCU includes a 48 MHz, 32-bit Arm Cortex-M4 core, and Bluetooth 5.0 core delivered in a 56-pin QFN package.The MCU enables designers of embedded systems to develop IoT (Internet of Things) endpoint devices for Industry 4.0, [...]

Read More »


Ultra-Low-Cost ARM Cortex M33 Development Board For IoT Applications

OKdo, a member of the Electrocomponents Group, launched its first own-branded single-board computer (SBC), the OKdo E1 Development Board. The introduction of the board represents the start of the next phase in the company's development towards producing an accessible range of software, hardware, services, and solutions, and is exclusively available from OKdo. With its focus on single [...]

Read More »


Raspberry Pi Cookbook Includes Internet-Of-Things (IoT) Projects

With millions of new users and various improved models, the Raspberry Pi ecosystem proceeds to grow, along with more questions regarding the RPi’s capabilities. The third edition of this successful cookbook presents more than 200 hands-on methods that explain how to run this tiny low-cost computer with Linux; program it using Python; hook it up to [...]

Read More »


ESP32 Mini IoT Development Module with Color LCD, Microphone, Grove Interface, 4MB Flash for Arduino and UIFlow Programming

The M5Stick-C is a mini M5Stack, powered by the ESP32. It represents a portable, easy-to-use, open-source, IoT development module. The M5stickC is one of the core devices in the M5Stack product series as part of a continuously growing hardware and software ecosystem. It comes with a variety of compatible modules, as well as an open-source code and [...]

Read More »