Site Information

 Loading... Please wait...

Blog

SAE J1939 Programming with Arduino - Arduino Code (Sketch)

This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. The Arduino code is quite simple and virtually self-explanatory. However, let me lose a few words on the program’s structure.First of all, depending on the CAN Bus shield used for this programming sample, please make sure you set the proper CS [...]

Read More »


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 [...]

Read More »


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 [...]

Read More »


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 [...]

Read More »


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 [...]

Read More »


SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino - The Arduino Uno And Mega 2560 plus CAN Shield

This post is part of a series about SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino. As I had mentioned earlier in this book, it is assumed that you have some basic knowledge of the Arduino Uno and the Mega 2560 itself, Arduino Sketches, and Arduino Shields.In order to develop and test the sample programs (sketches) as shown [...]

Read More »


CAN Bus Prototyping With Arduino Uno - A Simple CAN Bus Network Monitoring and Diagnostics Program

This post is part of a series about Controller Area Network (CAN Bus) Prototyping With the Arduino Uno.The Arduino board in combination with the CAN Bus shield provides the hardware for a full-fledged CAN network monitoring tool, and this next Arduino program is a first step in that direction.However, before we get into more detail, let me issue [...]

Read More »


CAN Bus Prototyping With Arduino Uno - Extended CAN Bus Shield Test

This post is part of a series about Controller Area Network (CAN Bus) Prototyping With the Arduino Uno.In this next, extended example, we use the same program as shown in the previous chapter but add a CAN receiving routine to it. The result, i.e. the received messages, will be displayed through the Arduino serial monitor.// Simple CAN Shield Test#include [...]

Read More »


CAN Bus Prototyping With Arduino Uno - Simple CAN Bus Shield Test

This post is part of a series about Controller Area Network (CAN Bus) Prototyping With the Arduino Uno.The most exciting part about this project is when it comes to the point where two CAN nodes communicate with each other. I started off with writing a simple program that sent messages that were received by my USB-to-CAN gateway and its [...]

Read More »