Difference between revisions of "RS485 CAN HAT"
From Waveshare Wiki
Line 35: | Line 35: | ||
===Demo code=== | ===Demo code=== | ||
*[[:File:RS485_CAN_HAT_Code.7z | Demo code]] | *[[:File:RS485_CAN_HAT_Code.7z | Demo code]] | ||
+ | <!--*[[:File:RS485_CAN_HAT_Code.tar.gz]]--> | ||
===Datasheet=== | ===Datasheet=== | ||
*[[:File:MCP2515.pdf | MCP2515]] | *[[:File:MCP2515.pdf | MCP2515]] |
Revision as of 12:49, 15 May 2020
| ||
Introduction
The RS485 CAN HAT will enables your Pi to communicate with other devices stably in long-distance via RS485/CAN functions.
More |
Note:
There are two versions. The only difference betweem these version are the crystal. The old one use 8M and the line added to config.txt file should be:
dtoverlay=mcp2515-can0,oscillator=8000000,interrupt=25,spimaxfrequency=1000000
The new one use 12M crystal and the line should be
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000
Resources
Documents
Demo code
Datasheet
3D Drawing
Support
Support
If you require technical support, please go to the Support page and open a ticket.