jARDCAN is the prefect prototyping system for Controller Area Network (CAN Bus) prototyping, plus the delivery includes the book "Controller Area Network Prototyping with Arduino," written by Wilfried Voss, a leading expert on CAN technologies.
While the Arduino is not widely considered an industrial-strength solution, it provides, due to its low price and ease of programming, the perfect prototyping platform for all kinds of Controller Area Network (CAN) applications. This CAN Bus programming and development kit includes the Arduino Uno CPU board plus a CAN Bus Shield, and it is supported by sample programs as listed below.
The book guides the reader through the process of acquiring all necessary hardware and software components, i.e. the jARDCAN system, the implementation of the CAN driver, and the implementation of programs (Arduino Sketches) to read, send, process, and display data from and to a CAN network.The collection of programming examples cumulates into a full-fledged USB-to-CAN Gateway communicating with a Windows/Linux PC.
The book, in combination with the Arduino CAN Bus kit, will enable you to achieve CAN functionality literally within only a few hours.
The topics include:
- Introduction to Controller Area Network
- Prototyping Hardware and its Variants
- Arduino CAN Shields
- CAN Driver Implementation and Library Functions
- Simple CAN Test Programs
- CAN Network Monitoring, Simulation, and Diagnostics Program
- CAN Data Display via Windows/Linux GUI
Arduino/Visual Studio Project Samples Download
The following programming samples (accessible as .zip files) are free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The samples are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. With downloading these programs, you confirm that these code samples and projects were created for demonstration and educational purpose only.
- Chapter 4.2.1 Simple CAN Shield Test
- Chapter 4.2.2 Extended CAN Shield Test
- Chapter 4.2.3 A Simple CAN Network Monitoring and Diagnostics Program
- Chapter 4.3 CAN Network Monitoring under Windows
- MCP_CAN Library for Arduino
Recommended for SAE J1939 prototyping (not included with jARDCAN):
This book represents the perfect guide to implementing an SAE J1939 protocol stack for embedded systems. The book is filled with numerous C/C++ code examples and valuable documentation of the resulting J1939 vehicle network data traffic. It explains in great detail the inner workings of the protocol through designing and transmitting J1939 data frames, receiving and processing J1939 data frames, and simulating J1939 ECUs (Electronic Control Units). Other Arduino sketches (software projects) include a J1939 network scanner, and a simple SAE J1939 to USB Gateway application with associated Windows GUI (Visual Studio C# project). The collection of sketches is concluded by the ARD1939 project, a fully functional SAE J1939 protocol stack for the Arduino Uno and Mega 2560.
Programming Arduino Getting Started with Sketches
by Simon Monk
Clear, easy-to-follow examples show you how to program Arduino with ease! "Programming Arduino: Getting Started with Sketches" helps you understand the software side of Arduino and explains how to write well-crafted Sketches (the name given to Arduino programs) using the C language of Arduino. This practical guide offers an unintimidating, concise approach for non-programmers that will get you up and running right away.
Programming Arduino: Getting Started with Sketches explains basic concepts and syntax of C with simple language and clear examples designed for absolute beginners - no prior knowledge of programming is required. It leads you from basic through to advanced C programming concepts and features dozens of specific examples that illustrate concepts and can be used as-is or modified to suit your purposes.
- All code from the book is available for download.
- Helps you develop working Sketches quickly.
Coverage includes: C Language Basics; Functions; Arrays, Strings; Input / Output; Standard Library Goodies; Storage; LCD Displays; Programming for the Web; Program Design; C++ and Library Writing