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.
The RS485 port is controlled via the RPi's UART using the SP3485 transceiver.
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)...
- Download the Python/C demo code (zip)...
Data Sheets (PDF)
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.