Usando CanBus en Arduino Due

He utilizado la comunicación CanBus con Arduino Uno a través del módulo MCP2515…veo que Arduino Due trae incluído CanBus, es posible usarlo o se requiere de un shield? Alguien que lo haya usado directamente me puede compartir como hacerlo?

I use the MCP2515 which is a stand-alone CAN controller developed to simplify applications that require interfacing with a CAN bus. Cory Fowler's library works great and it has a send and receive programs included. Remember the bus must be properly terminated.

1 Like

Así es muchas gracias. También lo he usado, sin embargo necesito usar Arduino Due dado que tenemos mejor velocidad de procesador.

Look at the ESP32 less money, more speed and can be purchased with 2 cores and has WiFi built in. It is supposed to have CAN but I have not tried it. It needs an external driver.

1 Like

Ok gracias. Lo voy a buscar.

Ya lo estuve viendo y no trae puerto CanBus integrado. Funciona como un Arduino Uno puesto que requiere un módulo de CanBus adicional. El Arduino Due si trae el puerto CanBus incorporado.

Take a look here: Controller Area Network (CAN) - - — ESP-IDF Programming Guide release-v3.3 documentation It states among other things: "The ESP32’s peripherals contains a CAN Controller (CanBus port no bus interface) that supports Standard Frame Format (11-bit ID) and Extended Frame Format (29-bit ID) of the CAN2.0B specification." What it is also telling it has a limited version of CAN a CAN controller on chip, it is also telling you need an external bus driver such as the MPC2551. The typical external module has a can controller usually SPI and a external bus driver on that board. These are fairly inexpensive chips available in DIP and SMD. This will be compatible with most CAN networks.

1 Like

Thanks

Moderador:
Por favor @gilshultz escribe en español en este foro!
No se permite el uso de inglés para las respuestas comunes salvo para hojas de datos, errores, etc.
Puede usar Google Translate.

@goliva8115 no se si has buscado en google, supongo que si pero una simple búsqueda de
Arduino Due can bus da esto por resultado

https://openinverter.org/wiki/CAN_bus_with_Arduino_Due
Ahi tienes una buena respuesta a tu consulta.

Y cosas como éstos dos links

y esta

tal vez sean de ayuda, pero supongo los conoces.

A post was split to a new topic: Problema con CAN Bus