{"product_id":"waveshare-rs485-can-hat-raspberry-pi","title":"Waveshare RS485 CAN HAT for Raspberry Pi (MCP2515 \/ SP3485)","description":"\u003ch2 id=\"reliable-can-bus-and-rs485-expansion-for-raspberry-pi\" class=\"ng-star-inserted\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eReliable CAN Bus and RS485 Expansion for Raspberry Pi\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp class=\"ng-star-inserted\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eThe Waveshare RS485 CAN HAT equips any 40-pin Raspberry Pi board with both CAN and RS485 industrial communication interfaces on a compact 65×30mm PCB. Because Raspberry Pi boards do not include native CAN or RS485 transceivers, this HAT bridges the Pi's SPI and UART buses directly to standard differential fieldbus wiring through a 4-pin green screw terminal block and a parallel 4-pin yellow pin header.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3 id=\"dual-protocol-architecture-mcp2515-can-and-sp3485-rs485\" class=\"ng-star-inserted\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eDual-Protocol Architecture: MCP2515 CAN and SP3485 RS485\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp class=\"ng-star-inserted\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eThis Rev2.1 board handles CAN and RS485 on separate hardware buses so both protocols can operate simultaneously without pin conflicts. CAN communication runs over the SPI interface (MOSI, MISO, SCK, CS, and INT) using the Microchip MCP2515 controller paired with a SIT65HVD230DR transceiver. RS485 communication uses the Raspberry Pi UART pins (TXD and RXD) with an SP3485 half-duplex transceiver that provides automatic TX\/RX direction control without extra programming.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3 class=\"ng-star-inserted\" id=\"onboard-protection-120-termination-and-reserved-control-header\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eOnboard Protection, 120Ω Termination, and Reserved Control Header\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp class=\"ng-star-inserted\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eBuilt-in hardware safeguards and flexible wiring options simplify field deployment and bench testing. A 2-way DIP switch labeled \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003e120R\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e lets you enable or disable the onboard 120Ω terminal resistors independently for the CAN (\u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eH\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e\/\u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eL\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e) and RS485 (\u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eA\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e\/\u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eB\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e) lines. On the RS485 side, onboard Transient Voltage Suppressor (TVS) diodes help suppress surge voltages, transient spikes, and electrostatic discharge. An unpopulated row of through-hole pads (\u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003e3V3\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eGND\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eRXD\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eTXD\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eRSE\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eMISO\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eMOSI\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eSCK\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eCS\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e, \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eINT\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e) also allows wiring the module to non-Raspberry Pi microcontrollers or custom control boards.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch3 id=\"technician-tip\" class=\"ng-star-inserted\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eTechnician Tip\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp class=\"ng-star-inserted\"\u003e\u003cspan class=\"ng-star-inserted\"\u003eBefore connecting fieldbus cables, verify that both SPI and UART interfaces are enabled in Raspberry Pi OS configuration (\u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eraspi-config\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e) and confirm whether your bus topology requires the 120Ω termination resistors. For RS485, automatic TX\/RX switching is active by default; only solder the jumper configuration for the \u003c\/span\u003e\u003cspan class=\"inline-code ng-star-inserted\"\u003eRSE\u003c\/span\u003e\u003cspan class=\"ng-star-inserted\"\u003e pin (GPIO4 \/ Pin 7) if your application specifically requires manual GPIO direction control. As this is a non-isolated 3.3V HAT, avoid connecting RS485 or CAN bus lines that carry high ground potential differences without external isolation, and remember that the Raspberry Pi board shown in setup photos is sold separately.\u003c\/span\u003e\u003c\/p\u003e","brand":"Waveshare","offers":[{"title":"Default Title","offer_id":68408807391383,"sku":"21PS002690","price":708.0,"currency_code":"TWD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0440\/4022\/4919\/files\/waveshare-rs485-can-hat-rev2-1-angled-view.jpg?v=1795256434","url":"https:\/\/scccltd.com\/en-tw\/products\/waveshare-rs485-can-hat-raspberry-pi","provider":"Sun Cheong Computer Company Limited","version":"1.0","type":"link"}