question

rudyrudy102 avatar image
rudyrudy102 asked

Battery communication via CAN-BUS in Venus OS

Hi,

We have created a battery solution for marine use but the only communication protocol that we have currently is CAN BUS ( can-open). And after seeing Victon’s tech on METS we are considering creating a system based on our batteries to work in Venus OS. But there is one question… How we can start. Is it possible to create such thing

cerbo gxVenus OSBMSbatteryVE.Can
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
Mike Dorsett avatar image
Mike Dorsett answered ·

The Venus os can accept battery BMS data in two ways: directly via CAN bus, in which case you need to emulate an existing battery protocol, OR via an independent driver, that you write to accept your own protocol, and translates this into DBUS messages for the Venus OS. See Louis Van Der Walt's serial battery software for a good starting point.

I ran a BMS control software on a pi, with dBus interface to the Venus OS.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

iainsommerville avatar image
iainsommerville answered ·

Here is the link to Louis battery driver. https://github.com/Louisvdw/dbus-serialbattery

One thing to note, most of the drivers for Venus OS assume a single BMS, if each battery has it's own BMS then it will be a bit more complicated as there is no standard for communicating the battery layout. Here is an example of a Venus driver that supports serial/parallel BMS configurations using a number in the name to indicate battery location: https://github.com/gimx/dbus_ubms. If you go this route (and I may do as well for the TopBand batteries) it probably makes sense to follow their naming convention.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.