Blog
Recent Posts
SAE J1939 Programming with Arduino - MCP2515 Function Calls
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. There are further functions, among others, for message filtering and settings masks, and they are worth being checked out for more sophisticated functions, but they are not necessary for simple CAN communication tasks.The implementation of the MPC2515 library is fairly easy: Open Arduino, [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - The MCP2515 Library
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. Microchip Technology’s MCP2515 is a stand-alone Controller Area Network (CAN Bus) controller that implements the CAN 2.0B specification. It is capable of transmitting and receiving both standard (11-bit) and extended (29-bit) data and remote frames. The MCP2515 has two acceptance masks and six acceptance filters [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - Arduino Programming (Sketches)
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. The implementation of either one of the introduced CAN Bus Shields and the corresponding CAN Bus sketches went surprisingly smooth when paired with the right library software. Note: All Arduino CAN Bus/SAE J1939 sketches as explained in the following include the [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - SAE J1939/13 Off-Board Diagnostic Connector
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. J1939/13 defines a standard connector for diagnostic purpose. It does allow access to the vehicle communication links. The connector is a Deutsch HD10 - 9 – 1939 (9 pins, round connector).According to the official document, SAE J1939/13 Off-Board Diagnostics Connector, the [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - Connecting Arduino to a Real SAE J1939 Network
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. I have successfully tested my Arduino sketches against commercially available SAE J1939 devices with their monitoring and simulation software, but I did not have the luxury of connecting them to a real vehicle (diesel engine). Nevertheless, all sketches should work in the [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - Serial Interface And CAN Bus Timing Considerations
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. The hardware configuration as introduced in this book, namely the Arduino board plus CAN Bus shield, suggests that it may be well suitable for a CAN-to-USB or J1939-to-USB gateway application. However, the Arduino’s USB baud rate is limited to 115,200 baud, which [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - Microchip MCP2515 CAN Bus Controller
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. Microchip Technology’s MCP2515 is a stand-alone Controller Area Network (CAN Bus) controller that implements the CAN specification, version 2.0B. It is capable of transmitting and receiving both standard and extended data and remote frames. The MCP2515 has two acceptance masks and six [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - CAN Bus Shield by Seeed Studio
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. In terms of CAN Bus capabilities, the shield by Seeek Studio provides the same functionality as the one by SK Pang electronics, however, it comes with a much lower price tag, because it does not have any additional components besides the CAN [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - Arduino CAN Bus Shield by SK Pang electronics
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. This shield by SK Pang electronics provides the Arduino CAN-Bus capability. As explained previously, it uses the Microchip MCP2515 CAN Bus controller with MCP2551 CAN Bus transceiver. The CAN connection is realized via a standard 9-way sub-D, however the pin assignment [...]
SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - CAN Bus Shield
This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. For those who are not yet familiar with the SAE J1939 vehicle protocol (but are using this book to gain some more insights on the topic), J1939 uses Controller Area Network (CAN Bus) controllers for the physical connection (See also chapter A [...]