Thursday, 18 April 2024
Hardware SAE J1939 Prototyping Software Web Store

Raspberry Pi 3 + PiCAN2 – Embedded Linux System For CAN Bus Application Development

Raspberry Pi 3 System With CAN Bus Interface
Raspberry Pi 3 System With CAN Bus Interface

The Raspberry Pi 3 is part of a series of credit-card-sized single-board-computers (SBC) developed in the United Kingdom by the Raspberry Pi Foundation. As of December 2016, the Raspberry Pi 3 Model B is the newest mainline Raspberry Pi.

All models feature an ARM compatible CPU with on-chip GPU with speeds up to 1.2 GHz and on-board memory up to 1 GB RAM. Secure digital (SD) cards are used to store the operating system. The Raspberry Pi Foundation provides Raspbian, a Debian-based Linux distribution for download.

For more information on the Raspberry Pi see https://www.raspberrypi.org/.

The PiCAN2 board provides Controller Area Network (CAN) Bus capabilities for the Raspberry Pi. It uses the Microchip MCP2515 CAN controller in combination with the MCP2551 CAN transceiver. Connections are made via a DB9 connector or a 3-way screw terminal. There is an easy-to-install SocketCAN driver, and programming can be accomplished in C or Python.
Features
  • CAN v2.0 A/B at 1 Mb/s
  • High speed SPI Interface (10 MHz)
  • Standard and extended data and remote frames
  • CAN connection via standard 9-way sub-D connector or screw terminal
  • Compatible with OBDII cable
  • Solder bridge to set different configuration for DB9 connector
  • 120Ω termination resistor
  • Serial LCD ready
  • LED indicator
  • Foot print for two mini push buttons
  • Four fixing holes, comply with Pi Hat standard
  • SocketCAN driver, appears as can0 to application
  • Interrupt RX on GPIO25

=> More Information…

If you have a special interest in running the SAE J1939 protocol stack on the Raspberry Pi, please refer to the following posts:


programming-the-raspberry-pi-getting-started-with-python-by-simon-monk.png

Programming the Raspberry Pi – Getting Started with Python

Learn to create inventive programs and fun games on your powerful Raspberry Pi―with no programming experience required. This practical book has been revised to fully cover the new Raspberry Pi 2, including upgrades to the Raspbian operating system. Discover how to configure hardware and software, write Python scripts, create user-friendly GUIs, and control external electronics. DIY projects include a hangman game, RGB LED controller, digital clock, and RasPiRobot complete with an ultrasonic rangefinder.
  • Updated for Raspberry Pi 2
  • Set up your Raspberry Pi and explore its features
  • Navigate files, folders, and menus
  • Write Python programs using the IDLE editor
  • Use strings, lists, functions, and dictionaries
  • Work with modules, classes, and methods
  • Create user-friendly games using Pygame
  • Build intuitive user interfaces with Tkinter
  • Attach external electronics through the GPIO port
  • Add powerful Web features to your projects

More Information…