Can I use MCP2515 Module instead of CAN BUS Shield on Simulink Support Package for Arduino Hardware?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
kotchanon lipikornsuktaweekul
le 5 Juil 2020
Commenté : Lorenz Klaus
le 30 Mai 2022
Can I use MCP2515 Module instead of CAN BUS Shield on Simulink Support Package for Arduino Hardware?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/327308/image.jpeg)
I use these with my Arduino Unos but it can't communicate with each other .
I follow the pin map and example but receiver always 0.
1 commentaire
Lorenz Klaus
le 30 Mai 2022
Did you manage to create a functionable CAN network with Simulink for Arduinos up to now? Would be very pleased if you could share your experience!
Regards, Lorenz
Réponse acceptée
Gouri Chennuru
le 8 Juil 2020
Hi kotchanon,
You can use Arduino MKR CAN shield which is based on MCP2515 controller with SPI Interface. This shield can be used to enable CAN connectivity on arduino platforms. This shield opens a new set of possible applications like smart vehicles, autonomous cars, industrial systems and drones.
In order to communicate with each other, make sure you install hardware support, update firmware, configure hardware connection, then prepare model for hardware connection and then run model on target hardware. For more information on how to do that process you can refer to this link.
Simulink support package is functional from R2013a and beyond.
If you are using MATLAB R2020a.You can use Arduino Due, Arduino Uno, Arduino Leonardo, Arduino Mega 2560, Arduino Mega ADK boards along with shield supports as Boards.
If in case you are using older versions of MATLAB you can refer to this link for the type of Board and shield support to be used.
Hope this Helps!
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Setup and Configuration dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!