Blog
Recent Posts
SAE J1939 Programming with Arduino - ARD1939 Function Overview
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. The programming of every serial communication (such as RS232, CAN, Ethernet, just to name a few) should follow a very simple sequence:1.Initialization2.Read data3.Write data4.Check statusThese four function calls should be everything a programmer needs to access the serial protocol, and there is no reason [...]
Gateway Device Connects Ethernet/IP Host Controllers To SAE J1939 Networks
Aparian, headquartered in Irvine, CA, has introduced their J1939 Router, a gateway device connecting Ethernet/IP host controllers to SAE J1939 vehicle networks. The configurable SAE J1939 gateway provides an EtherNet/IP port to communicate with the Logix controller from Rockwell. The product enables the host controller to not only receive multiple PGNs (Parameter Group Numbers) from J1939 devices, but also operates as multiple [...]
SAE J1939 Programming with Arduino - J1939 Data Traffic Simulation
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. In a previous project (see chapter SAE J1939 Simulation Example) I demonstrated the simulation of SAE J1939 data traffic. However, the messages in that example were transmitted within a certain frequency. In the following, we will transmit messages according to user input. As before, [...]
SAE J1939 Programming with Arduino - ARD1939 - J1939 Protocol Stack for Arduino
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. The most interesting project in this book is, of course, the fully functional SAE J1939 protocol stack for the Arduino, the ARD1939. ARD1939 supports the full protocol, SAE J1939/21 (Network Management, Address Claim Process) and SAE J1939/81 (Transport Protocol, the transport of messages [...]
SAE J1939 Programming with Arduino - J1939 Data Traffic Monitoring
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. In the following Arduino sketch, “data traffic monitoring” means nothing else but receiving and displaying SAE J1939 data messages (Refer also to chapter Receiving J1939 Message Frames). Rather than creating a new project, we will only need to add a few code lines [...]
SAE J1939 Programming with Arduino - J1939 Network Scanner
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. Just like the previous project (See chapter Receiving and Responding to J1939 Request Frames) we will be using the SAE J1939 Request Message, in this case to inquire node addresses from the vehicle network. The Request Message (a.k.a. the Request for Address Claimed [...]
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 [...]
SAE J1939 Programming with Arduino - A Simple SAE J1939 to USB Gateway
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. I deem it necessary to provide a definition of “SAE J1939 to USB Gateway,” because there are several variants of gateway applications.If you browse through the Internet in search for J1939 gateways, you will primarily find CAN gateways that support the [...]
SAE J1939 Programming with Arduino - Receiving and Responding to J1939 Request Frames
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. In this following project, we will discover yet another SAE J1939 protocol feature, namely the Request Message (as defined in the SAE J1939/21 standard). As with the previous project, we will need two J1939 nodes, and therefore will need two projects, one to [...]
SAE J1939 Programming with Arduino - Receiving J1939 Message Frames
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. This Arduino project provided a bit of a challenge after I had forgotten my own advice.Note: In order to test a CAN/J1939 application, you need at least two CAN/J1939 nodes to establish a network communication. The second node can be another Arduino [...]