Blog
Recent Posts
Arduino Due Dual CAN Bus Development Platform for Rapid CAN Bus and SAE J1939 Prototyping
Posted by on
One of the biggest obstacles in CAN bus development is not understanding the CAN protocol itself—it is finding a development platform that lets you move from an idea to a working prototype without spending weeks configuring hardware, writing low-level drivers, or debugging interface electronics.
Whether you are developing an automotive controller, an industrial CAN node, an OBD-II application, or an SAE J1939 ECU, the goal is usually the same: prove the concept quickly and then concentrate on the application itself.
That is precisely where the Dual CAN Bus Interface for Arduino Due with Extended Power Range excels.
Unlike generic CAN modules that require additional hardware, complicated wiring, or external CAN controllers, this interface takes full advantage of the Arduino Due’s two built-in CAN controllers. The board simply adds the required CAN transceivers while providing a clean, professional interface to two independent CAN networks. Combined with the Arduino Due’s 32-bit ARM Cortex-M3 processor running at 84 MHz, the result is a remarkably powerful embedded development platform that remains easy to understand and easy to program.
More Than Hardware—A Complete Development Platform
Many embedded development boards stop at providing the hardware. After that, developers are largely on their own.
The Arduino Due platform supported by Copperhill Technologies takes a different approach.
Over the years, an extensive collection of application examples, software libraries, and complete source code has been developed specifically for CAN bus applications. Instead of beginning with a blank project, engineers can start with working software and adapt it to their own requirements.
This dramatically shortens development time for:
- Rapid prototyping
- Proof-of-concept projects
- Laboratory testing
- Research projects
- Industrial automation
- Automotive development
- Commercial product development
In many cases, developers can have their first CAN messages transmitted within minutes instead of days.
Why the Arduino Due?
Although many newer development boards are available today, the Arduino Due continues to be one of the most practical platforms for Classical CAN development.
It offers:
- Native dual CAN controllers integrated into the processor
- 84 MHz 32-bit ARM Cortex-M3 CPU
- 512 KB Flash memory
- 96 KB SRAM
- Large number of digital and analog I/O
- Mature Arduino software ecosystem
- Excellent debugging support
- Simple USB programming
Unlike SPI-based CAN shields, there is no external CAN controller that consumes processor time or complicates the software architecture. The processor communicates directly through its integrated CAN peripherals, providing a cleaner and more efficient design.
Designed for Real-World Installations
One feature that is often overlooked is the board’s extended power input range of 7 to 36 VDC.
Instead of powering the Arduino through USB or an external regulator during development, the complete system can be powered directly from many industrial and automotive power sources.
This makes it particularly attractive for:
- Heavy-duty vehicles
- Agricultural equipment
- Construction machinery
- Marine electronics
- Industrial control systems
- Mobile laboratory equipment
The board also provides jumper-selectable CAN termination resistors and activity LEDs for both CAN channels, making troubleshooting considerably easier during development.
A Library of Ready-to-Run Applications
Perhaps the greatest advantage of the platform is the large collection of proven software examples that accompany it.
These are not merely “Hello World” demonstrations—they solve real engineering problems.
Dual CAN Port Applications
Learn how to configure and operate both CAN controllers simultaneously. These examples provide an excellent starting point for applications requiring communication with two independent CAN networks.
OBD-II Libraries
Develop diagnostic tools, vehicle monitors, and automotive data acquisition systems using readily available OBD-II interfaces.
ARD1939 SAE J1939 Protocol Stack
For engineers developing heavy-duty vehicle applications, the ARD1939 protocol stack provides a practical implementation of the SAE J1939 protocol.
Rather than studying hundreds of pages of the standard before writing code, developers can work from functioning software examples and build their understanding through practical implementation.
The ARD1939 stack also serves as the foundation for numerous programming examples that demonstrate address claiming, PGN transmission, transport protocol handling, diagnostics, and other essential J1939 functions.
CAN Data Traffic Simulation
No vehicle available?
No problem.
The CAN traffic simulation examples generate realistic CAN traffic, allowing developers to test applications entirely on the workbench before connecting to real hardware.
This capability is invaluable during early software development and automated testing.
CAN Bus Bridge
One of the most popular application examples demonstrates how to connect two independent CAN networks.
Possible uses include:
- Message filtering
- Message translation
- Baud-rate conversion
- Gateway development
- Data logging
- Network isolation
Since the Arduino Due features two native CAN controllers, bridge applications become surprisingly straightforward to implement.
SAE J1939 GPS Application
Another example illustrates how GPS position data can be converted into standard SAE J1939 messages, allowing GPS information to be transmitted directly onto a heavy-duty vehicle network.
This project demonstrates how easily additional sensors and peripherals can be integrated into J1939 systems.
J1939 Baud Rate Converter
Many real-world systems must communicate between 250 kbps and 500 kbps J1939 networks.
Instead of designing such a gateway from scratch, developers can begin with a working reference implementation and customize it to meet their specific requirements.
Build Your Own Application Instead of Reinventing CAN
The greatest value of the platform is not the hardware itself.
It is the fact that developers do not have to begin every project from zero.
Whether your objective is to create a CAN gateway, an ECU prototype, a diagnostic tool, a CAN analyzer, a J1939 controller, or an industrial monitoring device, there is a strong chance that a closely related application example already exists.
That allows you to spend your engineering time developing your product rather than repeatedly solving the same low-level CAN communication problems.
An Ideal Platform for Learning and Professional Development
The Dual CAN Bus Interface for Arduino Due is equally suitable for experienced embedded engineers and developers entering the world of CAN bus networking.
Its straightforward hardware design, mature software ecosystem, and extensive collection of practical examples make it one of the easiest ways to understand CAN bus programming through hands-on experimentation.
Instead of reading endless protocol specifications before writing your first line of code, you can begin with proven software, observe a working system, and then extend it into your own application.
For rapid prototyping, proof-of-concept development, and even commercial embedded products, this combination of hardware, software, and practical examples provides a development environment that remains difficult to match. More information...
Why CAN Bus Refuses to Die: What CAN FD and CAN XL Reveal About the Strength of Classical CAN
For more than 25 years, I have been working with CAN (Controller Area Network) technology. During that time, I have lost count of how many times industry experts, analysts, and technology journalists predicted its imminent demise. First, it was Ethernet. Then came FlexRay. Later, it was Automotive Ethernet. More recently, CAN FD and now CAN XL have been presented [...]
Unlocking Vehicle Intelligence: A Practical Guide to CAN and LIN Bus Networks
Modern vehicles contain dozens of electronic control units (ECUs) that must communicate reliably to coordinate engine, transmission, braking, body functions, and more. Two key networking technologies enabling this in-car communication are the Controller Area Network (CAN) and the Local Interconnect Network (LIN). CAN and LIN buses each have distinct architectures and roles: CAN is a [...]
CAN Bus Unplugged: A Deep Dive into Its Origins, Growth, and Future
The following is an excerpt from https://jcom1939.com/history-and-development-of-the-controller-area-network-can-bus/ Introduction The Controller Area Network (CAN) bus is a robust serial communication protocol developed to facilitate real-time data exchange between electronic control units (ECUs) in various applications, notably in the automotive industry. Originating in the 1980s, CAN bus has become integral to numerous systems requiring reliable and efficient communication among [...]
Exploring the ESP32 Processor and Its CAN Interface Programming
The ESP32 processor, developed by Espressif Systems, has rapidly emerged as a favorite among developers and hobbyists alike due to its robust performance, integrated wireless connectivity, and versatility in handling various tasks. Among its many features is a built-in CAN (Controller Area Network) interface—technically implemented as a TWAI (Two-Wire Automotive Interface) controller—that has opened up [...]
Optimized Design: Enhancing CAN Transceiver Isolation for Reliable Fieldbus Networks
The Controller Area Network (CAN) bus has become a staple in industrial automation, process control, medical systems, and manufacturing due to its high noise immunity and error-handling capabilities. As CAN networks often span long distances and connect multiple systems, isolating the bus from individual systems is critical. Isolation prevents electrical transients, eliminates ground loops, and [...]
Impact of Cybersecurity Regulations on CAN Bus Embedded Development
Across the globe, regulatory bodies issue rules and regulations related to the cybersecurity of electronic devices. Among the strictest are those from the EU, including the Cybersecurity Act (CSA) and the Cyber Resilience Act (CRA), which all manufacturers of electronic embedded network devices are required to follow. While some manufacturers may temporarily avoid adopting a “security [...]
Know OBD2 Before You Start That Development Project
We at Copperhill Technologies offer a variety of CAN (Controller Area Network) devices for developing automotive and industrial embedded systems. In that capacity, we receive frequent inquiries regarding OBD2 (Onboard Diagnostics). OBD2, or Onboard Diagnostics Second Generation, is a vehicle diagnosis system found in modern cars and trucks. The OBD2 system collects data from sensors and [...]
CAN Bus Tutorial - Benefits of Using the CAN Bus
The following is an excerpt from A Comprehensible Controller Area Network by Wilfried Voss. Like any field-bus system based on serial communication, Controller Area Network will reduce wiring, which was initially considered an advantageous side effect. Distributed control, i.e., the use of a multi-processor system, will consequently result in increased performance. The vastly reduced costs of microcontroller [...]
CAN Bus Tutorial - CAN Bus Main Characteristics
The following is an excerpt from A Comprehensible Controller Area Network by Wilfried Voss. Everything that has to do with Controller Area Network (CAN) is based on maximum reliability with the maximum possible performance in mind. After all, CAN was initially designed for automobiles, definitely a very demanding environment for microprocessors, not only regarding required electrical robustness [...]
Loading... Please wait...
