I curranty setting up a project that i need to read the can communication from multiple units at one time. is is at all possible to connect more then on can device to an Arduino and read all of them at one time. i am reading different units they are not on the can buss each one are on there own buss. just looking to pull identical data from each one and compare. and i am not looking to transmit on the can buss at all if that makes a difference. i just want to read data
I am confused with your question, it is ambiguous. You can put as many devices on the CAN (Controlled Area Network) as reasonable, dependent on the transceivers. All on the bus can talk at any time and all will receive all messages. Note: the MCP2515 does not drive the CAN bus but is a controller that communicates between the professor and the CAN bus transceiver.
You should do some tutorials on CAN to help you better understand what you are aking.
As far as reading the data that is possible but without the CAN bus or any other method of communication given it will be magic! There is no guarantee that the data will be the same from each one especially if sensors are used.
At this point you need to explain your project and what you expect from it.
i understand can bus networks. my configuration is i have say 30 battery's each one has its on CAN network on bored. i only care about the battery % put off by each unit. that i know of i can not link all the CAN networks together and monitor the units. i need to inadvisably monitor them. the point of the project is i want to make a battery charger that is automated in the end. that will get reports of battery level from each unit and change out the battery for a dead unit. each unit has a build in 17 digit identifier. if i run the battery's in a chain when you remove a battery the chain will go down till the next battery is installed. with this is a problem if i do not have a dead battery for the robot to put in its place then the network would never come back up. with this i am now looking to use 30 current sensors to determine battery charge completion and a micro switch to indicate if a unit is installed in the charge port. i just kinda liked the idea of using the can bus on each battery then i could record and track charging of each battery in a log file. but i would need a CAN network for each charge port and i can not find any date indicating i can feed more then one can device into each Arduino so i would need 30 of them and that would get expensive and setup would be a nightmare.
I think it is an exact point where you misunderstanding the things.
You batteries probably doesn't need an individual CAN buses for each, all of them are connected to the same bus and can be read by a single CAN module.
If you think I'm wrong and each battery must be connected to a separate network - please provide a link to the manual or datasheet where it says so.
Since you understand what you have and we cannot see it only read what you say we are missing a large part of the needed information. Post an annotated schematic showing exactly what you have. Also a schematic of the monitoring unit or if commercial a link to technical information on it. Also indicate what type of batteries you are using and there capacity. Check and let us know what CAN transceiver is in the battery monitoring units, it is possibly an isolated unit such as the MAX 14882.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.