Blog
Recent Posts
SAE J1939 Applications with the Arduino
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. In general, there are three different intentions for connecting to a J1939 vehicle network: Mere monitoring, processing, and display of network data traffic. All functions as described under 1. but extended by [...]
SAE J1939 Programming with Arduino - Message Design
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. For this programming sample I have randomly chosen two PGNs from the vast selection of available parameter group numbers. They are: PGN 65267 – Vehicle Position, provides the vehicle’s latitude and longitude. Transmission Repetition [...]
SAE J1939 Programming with Arduino - SAE J1939 Simulation Example
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino.The following programming sample demonstrates effectively how easy simulating SAE J1939 data traffic can be (while the level of complexity can be easily adjusted to the application requirements). However, before we dive into the actual coding, we need to design the simulated messages, [...]
SAE J1939 Programming with Arduino - SAE J1939 Compliance Criteria
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. One question that has been raised repeatedly is the one about SAE J1939 compliance. Officially, the SAE J1939-82 Standard describes the compliance tests and procedures to verify an SAE J1939 ECU will operate correctly on an SAE J1939 network. Unfortunately, the SAE J1939 [...]
SAE J1939 Programming with Arduino - Address Claiming Procedure
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. In the following, we will focus merely on two basic messages, Request Message and Address Claimed (Yet again, for further, more detailed information see the literature recommendation in the appendix).The Request Message is used by a CA to request information, such as NAME [...]
SAE J1939 Programming with Arduino - Address Claim And Preferred Address
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. For the purpose of a quick address claiming process, each control application should maintain a preferred address. SAE J1939/81 recommends that the preferred address (i.e. the address the ECU/CA attempts to claim on power-up) should be re-programmable to permit the proper configuration of [...]
SAE J1939 Programming with Arduino - Address Claim Technical Requirements
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. The SAE J1939/81 Network Management defines the processes and messages associated with managing the source addresses of applications communicating on an SAE J1939 network. Network management is concerned with the management of source addresses and the association of those [...]
SAE J1939 Programming with Arduino - Device NAME
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. Each ECU (Electronic Control Unit) that actively participates in SAE J1939 communication (i.e. sending) requires a unique name, which is composed of a stream of 64 bits. Within the standard the device name is defined as NAME. It contains information that [...]
SAE J1939 Programming with Arduino - SAE J1939/81 - Address Claim Procedure
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. Network Management under SAE J1939 is primarily represented by the Address Claiming Process. While other higher layer protocols based on Controller Area Network (CAN Bus) do not support node address assignments per default, the SAE J1939 protocol provides yet another ingeniously designed [...]
SAE J1939 Programming with Arduino - Multi-Packet Peer-to-Peer (RTS/CTS Session)
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. The communication of destination specific (peer-to-peer) multi-packet messages is subject to flow-control. Connection Initialization – The sender of a message transmits a Request to Send message. The receiving node responds with either a Clear [...]