I am about to obtain BYD B-Box LV Residential battery for my off-grid solar system. The inverter I have is not on the list of compatible ones, which means (according to my local battery supplier) that the battery will simply refuse to run unless we connect it to a specially programmed device like Venux GX which will trick the BMS into thinking that it is connected to a compatible inverter. The interface is CAN/RS485.
Now my idea is to use a laptop instead of Venux GX for these reasons:
- Venux GX would not be connected to the inverter, therefore it will not have chances to react (e.g. change voltage) exactly/when the BMS wants (although the inverter can be programmed on its own, this is less than ideal). At the same time, the inverter can be controlled from PC via serial port so I would like to write a program that would coordinate the inverter and BMS to co-work nicely;
- I want to learn how to program this kind of stuff (I am a software engineer but never worked with microcontrollers before).
So, the question is about where/how to approach this task. I assume that I will need to obtain:
- Some sort of adapter from CAN/RS485 to USB?
- Some software/frameworks/languages handy to program communications over CAN/RS485?
- Any other gotchas a newbie would be advised to know?
trick the BMS into thinking that it is connected to a compatible inverter
... how does the Venus GX do that? .... do you have the information \$\endgroup\$