Рет қаралды 8,711
The MCP2515 CAN Bus Transceiver is typically used with microcontrollers such as STM32, aTMega (arduino), etc. because of its SPI interface. It allows communication via the CAN protocol, thus reading and writing to any CAN Bus. Using the MCP2515 is very easy thanks to the considerable amount of documentation and code available, including regarding the use of the SPI protocol.
Using it on STM32 is already more complicated, as the pin capabilities of this microcontroller are very flexible and therefore implementation is left to the programmer. For us this is not a problem, we will take existing code written for STM32 and go and adapt it to our needs, thus enabling the STM32 to communicate in CAN Bus.
Of course you can take advantage of this module to sniff packets passing over the CAN Bus of your car.
MCP2515 on Amazon:
amzn.to/3T6jzoM
amzn.to/3NyUr98
amzn.to/3NCgr31
Arduino on Amazon:
amzn.to/3UtcUpI
StNucleus on Amazon:
amzn.to/3U8ANTO
amzn.to/3Um6QQB
amzn.to/3h50x4R
amzn.to/3Uo1oMv
amzn.to/3UlfHBi
amzn.to/3Wv9XXA
Code on GitHub (Header files are in Inc while Source files are in Src):
github.com/ProjectoOfficial/S...
Code for Arduino:
github.com/ProjectoOfficial/S...
Subscribe HERE to the channel!
Https://kzbin.info...
Our amazon list of the best products!
AMAZON: PC - 3D FILAMENT - ARDUINO - RASPBERRY PI
amzn.to/2RV7KWc
Want to give us a Gift or send us a product? We will thank you in a dedicated video! :D
www.amazon.it/hz/wishlist/gen...
Follow us on our social media!
Facebook: / miniprojectsofficial
Instagram: / officialprojecto
#MCP2515 #STM32 #STNucleo