Advice on reading CANbus message and convert it to Modbus message and pass on to BCU or display

Hi, I have 2 strings of 8 batteries with CANbus communication from each battery.
As I could only set the ID from 000 to 111, which is 8 batteries.
That's why I am facing the problem of trying to identify 2 strings of 8 batteries of CANbus data since both will end up with the same ID/message and will clash.

I am thinking of using Arduino as a middle device to read individual strings of a CANBUS message received, convert it to a MODBUS message, and pass it to the BCU or display so that on my BCU or display side, I could identify both strings and flash the information simultaneously.

Therefore, I will need advice from you guys on whether I could achieve the above-mentioned method and provide guidance on the components that are needed and any code references to achieve the outcome that I am looking for.

I appreciate your kindness to contribute to my ideas. Thanks!

I know there are such devices that could convert CANBUS to MODBUS messages, but due to my tight budget, if there are any very affordable devices that could achieve what I need, please share with me the item link so that I can check out the price and hope it fits my budget. Thanks!

Why can't you change the battery ID? That would be the simplest solution. If changing the ID isn’t possible, you could use an Arduino Nano with two CAN modules to solve the problem. Here's how:

  1. Setup:
  • Use one CAN module to receive messages from the battery.
  • Use the second CAN module to send the same message with a new ID.
  1. Important Note:
  • Ensure the CAN bus between the battery and the Nano has only two devices: the Nano and the battery. This minimizes potential conflicts and ensures proper communication.

This approach acts as a translator, effectively remapping the battery's ID to the one required by the system. Let us know if you need help with the specifics!

Noted! Will look into the ways of suggestion you had shared!

Will get back to you in this post if there's any more queries or doubt if I have in the near future!