Controller Area Network Prototyping with Arduino
|We are out of inventory at this time. Expected release date is Aug 25th 2017. See also the PDF download option below.|
Paperback: 44 pages
Publisher: Copperhill Media Corporation (March 31, 2014)
Product Dimensions: 7.4 x 0.1 x 9.7 inches
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 book, written by a leading expert on CAN technologies, guides the reader through the process of acquiring all necessary hardware and software components, 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.
This book 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
Buy as a PDF download:
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
Table of Content
1. Introduction to Controller Area Network
2. Prototyping Hardware and its Variants
2.2 Intel Galileo
2.3 LeafLabs Maple Microcontroller Board
3. Arduino CAN Shields
3.1 Microchip MCP2515 CAN Controller
3.2 Arduino CAN-Bus Shield by SK Pang electronics
3.3 CAN-BUS Shield by Seeed Studio
4. Arduino CAN Sketches
4.1 The MCP2515 Library
4.1.1 Function Calls
4.2 CAN Programming
4.2.1 Simple CAN Shield Test
4.2.2 Extended CAN Shield Test
4.2.3 A Simple CAN Network Monitoring and Diagnostics Program
4.3 CAN Network Monitoring under Windows
Appendix – Recommended Literature
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