ESP13 and CANBUS

Hello there;
i got two shield, and each works standalone. But whenever i connect both of them, they stop the working.

My shields:
Seeed studio can bus shield v 2
Doit Wifi Shield ( Esp13 )

And my setup is, directly plugging can shield on uno r3, then wifi shield on can shield.
Probably they are using same of hw dependencies, but i dont good at hw much and i dont want damage my cards without knowledge.

Thank you.

how do you connect the two CAN devices ? how long is the cable connecting the devices? have you terminated the CANBUS with 120ohm resistors?
upload a schematic showing the wiring?
upload the programs you are using (using code tags)?

1 Like

Is this your board?
https://www.jaycar.com.au/medias/sys_master/images/images/9794060976158/XC4614-dataSheetMain.pdf

This claims to use serial D0 and D1 for communication with the Arduino which will conflict with any Serial.println() in your code that displays data from the CAN shield.

Do you understand how CAN works and communicates on the bus. If not I highly recommend you do some research on the subject. Explain how you got them to work standalone? This is a first for me unless you are using loopback, if so they are not working just testing. If you send a message it will try a few times and stop.

With 120 ohm terminator, my can bus shield and arduino r3 working well i can read any info that i want from my car by Obdii. When i implement esp 13 to my setup, when i start the can interface, wifi shield is not working.

yes it is my shield. for sending tcp packages, i am using serial print

i m sure my can setup is correct with 120 ohm terminator and my car. cable arround 1 meter.

Instead of using Serial.print, send your received CAN data via the WiFi interface, or (if memory permitting) create a second serial interface using SoftwareSerial and use a TTL to USB converter.

The issue happens whenever i start mcp can instance on sw, arduino stop working the program. But without the Wifi shield, its working as expected.

Any idea else ?

List the project requirements.
Show your code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.