I am using 2 SN65HVD230-based CAN transceivers on one Arduino due board which supports 2 CAN protocols but I have to make a CAN bus for 4 SN65HVD230-based CAN transceivers using 2 Arduino due boards, how to make this connection?
That can be done many ways. Post a block diagram as to how you want to connect them. Are we talking 1,2,3,4 busses?
for now, I just want to make a basic connection between all four can transceivers in any way. Can you suggest something?
Post a block diagram, your question is not that clear.
okay
It looks good, be sure to put a 120 Ohm resistor across each end of each of the CAN buses, 4 resistors in total. Also be sure each CAN bus is at least 1 meter in length. When starting connect the grounds, later when it is working you can remove them. CAN H goes to CAN H ..etc.
how to do it from the software side? and can you give a rough sketch or block diagram for your above explanation?
Your software has to treat them as two independent entities. Similar to two temperature sensors but a little more involved.
I am very new to this, can you explain in more detail?
thanyou
At this point no. You need to put something together and start your hardware. I do not have a clue why you are running CAN to itself on a processor as the processor has all the data already. Between processors sounds reasonable to me. You have not explained your setup and why this configuration. When you get started post your software following forum guidelines. If you cannot write the code there is a for hire section where you can pay somebody to do it for you. The best thing you can do is get a copy of the arduino cookbook, skim it then read the appropriate areas that apply to your project.
I am getting basic ping data if I connect 2 SN65HVD230 to 1 due board. similarly, I can connect 2 SN65HVD230 to another due board. i want to interconnect all of them
I would suggest to check the info here (very helpful).
The library which is involved can be found here and on github.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.