CAN Bus Plus RS485 HAT for Raspberry Pi
This product is discontinued!
The CAN Bus Plus RS485 CAN HAT adds serial networking options to your Raspberry Pi Zero/Zero W/Zero WH/2B/3B/3B+.
The onboard CAN Bus port utilizes the Microchip MCP2515 CAN controller, accessible per SPI interface, in combination with the SN65HVD230 CAN transceiver.
Microchip Technology’s MCP2515 is a stand-alone Controller Area Network (CAN) controller that implements the CAN Bus Specification, Version 2.0 A/B. It is capable of transmitting and receiving both standard and extended data and remote frames. The MCP2515 possesses two acceptance masks and six acceptance filters that are used to filter out undesired messages, thereby decreasing the host MCUs overhead. The MCP2515 interfaces with microcontrollers (MCUs) via an industry standard Serial Peripheral Interface (SPI) that enables the Raspberry Pi to communicate without the need of an external driver.
The SN65HVD230 by TEXAS INSTRUMENTS is a CAN Bus transceiver that supports high communication frequency, anti-jamming, and high reliability CAN bus communication. The SN65HVD230 provides three different modes of operation: highspeed, slope control, and low-power modes.
The RS485 port is controlled via the RPi's UART using the SP3485 transceiver. The SP3485 is a low power half-duplex transceiver that meets the specifications of RS485 serial protocols.
The combination of CAN Bus and RS485 capabilities supports applications such as connecting a CAN Bus network with a Modbus device or a CAN-to-Modbus gateway. The RS485 port can also be used to monitor (listen-only) SAE J1708 data traffic and convert it to Controller Area Network.
- Raspberry Pi connectivity, compatible with Raspberry Pi Zero/Zero W/Zero WH/2B/3B/3B+
- CAN function, onboard CAN controller MCP2515 via SPI interface, with transceiver SN65HVD230
- RS485 function, controlled via UART, half-duplex communication, with transceiver SP3485
- Reserved control pins, allows to work with other control boards
- Comes with development resources and manual (examples in wiringPi/python)
- Operating voltage: 3.3V
- CAN controller: MCP2515
- CAN transceiver: SN65HVD230
- 485 transceiver: SP3485
- Dimension: 65mm x 30mm
- Mounting hole size: 3.0mm
- Download/View the CAN Bus Plus RS485 HAT for Raspberry Pi User Manual (PDF)...
- Download/View the CAN Bus Plus RS485 HAT for Raspberry Pi Schematic (PDF)...
- Manufacturer Wiki Page...
- MCP2515 Library Example (GitHub)...
- Microchip AN739: An In-depth Look at the MCP2510 (PDF)...
Data Sheets (PDF)
- Low-Cost Do-It-Yourself CAN Bus To WiFi, Bluetooth, BLE, USB, RS485 Gateway Based On Raspberry Pi Zero...
- Electronic Logging Device Concept: Small Form-Factor ELD Based On Raspberry Pi With CAN Bus Port And GSM/GPRS/GNSS Support...
Serial Port Complete: COM Ports, USB Virtual COM Ports, and Ports for Embedded Systems
PC COM ports, USB virtual COM ports, and ports in embedded systems are all addressed in this updated guide to programming, interfacing, and using serial ports. Topics include using .NET’s SerialPort class for COM-port communications on PCs; upgrading existing RS-232 designs to USB or wireless networks; and creating serial networks of embedded systems and PCs.
Example circuits and code provide a quick start to projects. Installation and maintenance staff will also find tips for ensuring reliable operation and problem tracking.
The author, Jan Axelson, writes about computer programming and electronic technology. Jan's books include USB Embedded Hosts, USB Complete, Serial Port Complete, and USB Mass Storage. Jan's articles have appeared in Circuit Cellar, EDN, Embedded Systems Programming, and Nuts & Volts.