Battery: Daly SmartBMS - dalathegreat/Battery-Emulator GitHub Wiki
[!CAUTION] Working with high voltage is dangerous. Always follow local laws and regulations regarding high voltage work. If you are unsure about the rules in your country, consult a licensed electrician for more information.
Read this first
Preface, the entire Battery-Emulator project sets out to achieve safe re-use of EV batteries. By building your own battery, you will be taking larger risks. Cell balancing wire taps, shunts, busbar connections, BMS integration, temperature monitoring, fuses, contactors, interlocks, etc. all will have to be implemented by yourself instead of using a pre-made product. As with all things custom, there are higher risks of human error. Take extra precaution when working on a custom DIY battery, you have been warned.
[!CAUTION] If you are unsure of your technical knowhow, avoid building a battery from scratch
Custom DIY battery with Daly SmartBMS
The Daly SmartBMS is a series of 4S to 24S battery management systems allowing to build 12V to 100V DIY batteries. It comes with CAN and RS485 communication. For battery emulator integration the RS485 communication was chosen. This allows to use CAN for emulating the pylon LV protocol and talking to many 48V solar inverters (Victron, Deye, GoodWe, ...)
Where do I get the hardware?
- Aliexpress, make sure to by the "smart" version (i.e. it has RS485)
Where do I get technical support?
Battery Emulator Configuration
- Configure the battery emulator to use the
#define DALY_BMS
option - Set the daly bms custom configuration variables
- The Daly BMS does not communicate maximum charging voltages or currents. We calculate our own based on SoC and preconfigured maximums. Make sure to configure the min/max voltage/currents in the user settings
Setup
Wire the BMS according to the official wiring guide:
Do not forget to check the balance cable voltages before connecting them to the BMS!
You can configure the integrated BMS safety levels (min, max volts, temperatures etc.) using the "Smart BMS" App or the Desktop program:
Connect Battery Emulator to the RS485 connector of the BMS. If your DALY BMS does not have the CAN/RS485 port you probably have a cheaper non-smart BMS. The battery emulator integration currently only works with the "SmartBMS" variant.
Make sure the RS485 connection works by inspecting the values displayed on the battery emulator webinterface
Next connect your inverter to the CAN side of the LilyGo board. Best not to connect power cables just yet, but first ensure communication works fine.
Lastly you may connect power and test actual charging and discharging.
Some inverters (e.g. Deye) precharge the battery port when communication works, even if the battery is still disconnected. This can be used as a precharge to prevent high currents closing the contactors between battery and inverter
Example integrations
Feel free to add your own pictures here!