Dala's Battery-Emulator


ALL NEW - Battery Finder Search for 12/24/36/48v or by capacity www.batteryfinder.net
New & used Batteries, Solar, accessories, LifePo4 cells & more 5% Coupon "Powerwalls" www.batteryhookup.com
New week, new release! 7.2.0 is a big bugfix release, with focus on improving OTA capability and webserver security!

 
Okay here is some big news for the Emulator. We just released 7.2.1 , which adds support for DIY HV batteries, via RJXZS BMS

Example integration, a Solax Inverter combined with a DIY HV battery! This is taking the Emulator to the next level, since EV batteries are no longer a requirement!

1726505709313.png


 
Would it be possible to use a hyundai ioniq 28kw pack? I have such car and it makes sense to use a pack that doubles as sparepart.
 
New version of the Battery-Emulator just released, we now have support for the Gen1 Renault Zoe batteries! (22/41kWh)
 
Hi. Dala thank you for all this amazing work. I saw this asked on the forum before but did not find a response. Does the battery emulator work if the battery is still in a working car? For instance with the ChaDeMo connectors one has direct access to the battery leads through the connector. So has anyone modified a connector and embedded the emulator so that you can just plug your ChaDeMo EV into a Fronius gen24, for example, and create an affordable V2H set up?
 
Last edited:
Hi. Dala thank you for all this amazing work. I saw this asked on the forum before but did not find a response. Does the battery emulator work if the battery is still in a working car? For instance with the ChaDeMo connectors one has direct access to the battery leads through the connector. So has anyone modified a connector and embedded the emulator so that you can just plug your ChaDeMo EV into a Fronius gen24, for example, and create an affordable V2H set up?
Yes there is testing ongoing. However, for the cost of a Chademo cable you can buy 15kWh of storage, so its generally not worth it.
 
Apologies but In relation to using an inverter that requires dual can add on for the lillygo, which im attempting to implement , there seems to be an issue with using the Dual Can (MCP2515 add‐on) to communicate with the inverter, AND the automatic contactor control. As pin 5 is used for MOSI(pin 5) to the mcp2515 module, AND for the activate signal from the inverter (in this case Sunnyboy 2.5). Surely this wouldnt work?
(appologies I dont mean to hijack the conversation). Any suggestions or have i misunderstood that part.
 
Apologies but In relation to using an inverter that requires dual can add on for the lillygo, which im attempting to implement , there seems to be an issue with using the Dual Can (MCP2515 add‐on) to communicate with the inverter, AND the automatic contactor control. As pin 5 is used for MOSI(pin 5) to the mcp2515 module, AND for the activate signal from the inverter (in this case Sunnyboy 2.5). Surely this wouldnt work?
(appologies I dont mean to hijack the conversation). Any suggestions or have i misunderstood that part.
That is correct. If you use the Add-on CAN chip, you run out of GPIO pins for contactor control. One way around this is to get a Stark board https://github.com/dalathegreat/Battery-Emulator/wiki/Stark-CMR
 
Yes there is testing ongoing. However, for the cost of a Chademo cable you can buy 15kWh of storage, so its generally not worth it.
Wow. I had no idea they were that expensive. Why is that?

Would another option, then, be to immediately get the ccs2 to ChaDeMo charge adapter, and use a cheaper CCS2 cable to wire up the Fronius gen24? The adapter os probably essential anyway for ChaDeMo owners. But I'm not sure if I'm missing something here.
 
Last edited:
That is correct. If you use the Add-on CAN chip, you run out of GPIO pins for contactor control. One way around this is to get a Stark board https://github.com/dalathegreat/Battery-Emulator/wiki/Stark-CMR
Thanks Again Dala,
One thought, (which may produce more issues) but I noticed rs485 contains two IO pins, (also confusingly labeled either IO 17,19, 21,22 depending how you look at the diagram) perhaps if I change the code to reflect this for MOSI (instead of it using pin 5) it might be feasible as rs485 isn't in use in this dual CAN setup.
 
Wow. I had no idea they were that expensive. Why is that?

Would another option, then, be to immediately get the ccs2 to ChaDeMo charge adapter, and use a cheaper CCS2 cable to wire up the Fronius gen24? The adapter os probably essential anyway for ChaDeMo owners. But I'm not sure if I'm missing something here.
Chademo and CCS cables are both quite costly. Even though CCS cables are cheaper, you need ethernet over power (PLC comm) hardware to interface with CCS. So it is 10x more compicated to do V2X with CCS, compared to Chademo.

Thanks Again Dala,
One thought, (which may produce more issues) but I noticed rs485 contains two IO pins, (also confusingly labeled either IO 17,19, 21,22 depending how you look at the diagram) perhaps if I change the code to reflect this for MOSI (instead of it using pin 5) it might be feasible as rs485 isn't in use in this dual CAN setup.
Yes you can use custom setups with GPIO pins to scrape by. But you are a bit on your own if you do this!
 
@Dala - just wanted to do a shout-out at all this *fantastic* work! I so WISH I had a property where I could start fitting EV packs and take advantage / engaging with you're work :)
I certainly second this opinion. I'm sitting on a large collection of like new NCM batteries that I bought, including a complete I3 battery I purchased for an EV conversion. But, as mentioned in my numerous previous posts, our AHJ adopted NEC 2020, and the way they are enforcing it here disallows any items not UL LISTED. Not compliant, LISTED. If it had not been for our battle with our insurance claim, we would have been grandfathered in. By the way, we just settled that 2020 claim 10 days ago! I have to continue to warn people to pay close attention to their insurance policies. Ours was a massive 140mph wind event, not any fault of ours.

I'm still very interested in this, and was very pleased to see that Dala has recently offered a solution for DIY packs. There are a lot of professionally assembled packs out there for a really good price that are already high voltage. Such as engineering samples, etc.

I want to know more about the Stark CMS. I'm not up to speed on what exactly it does, or replaces.

Keep up the good work!
 
So we just released 7.5.0, here are some highlights:
  • Foxess CAN protocol tested and released. Support for Foxess H3 inverters completed! ✅
  • First confirmed Double-Battery setup with 2x BYD Atto 3 batteries up-n-running! 🥳
  • Physical Equipment-stop button support added! You know the big red button you always wanted to push as a kid? You can now get one and actually use it! 🆘
+much more, release notes here:

 
First of all, thanks Dala and others for your effort in this project.

I have connected a Kia E-niro 64kw pack to a solax x1 hybrid inverter.
64kWh, 98s, 352v nominal, 180Ah
The battery is 98s so I got a battery voltage fault at start as the default is for 96s.

Then I changed the battery kind to 0x83 (TP202), 7 packs and it works!
Before I am going to fully charge this, I wanted to make sure that there is no other setting that I should choose or that there is some kind of protection from charging with a wrong setting.

Sorry for my incompetency, this is my first project and I'm taking alot of safety precautions, better to be safe than sorry 😊
 
First of all, thanks Dala and others for your effort in this project.

I have connected a Kia E-niro 64kw pack to a solax x1 hybrid inverter.
64kWh, 98s, 352v nominal, 180Ah
The battery is 98s so I got a battery voltage fault at start as the default is for 96s.

Then I changed the battery kind to 0x83 (TP202), 7 packs and it works!
Before I am going to fully charge this, I wanted to make sure that there is no other setting that I should choose or that there is some kind of protection from charging with a wrong setting.

Sorry for my incompetency, this is my first project and I'm taking alot of safety precautions, better to be safe than sorry 😊
Nice work! I added the 98S info to the Solax Wiki

Should be good to go then! You can check the Wiki for more options regarding scaling SOC% to 20-80% etc. If you want to chat with other KiaHyundai64 owners, come checkout the Patreon Discord

Enjoy the battery! 🥳
 
Version 5.7.0 is now out, support for CAN-FD and 800V E-GMP platform
Hi Dala,
Thanks for all your work on this project!
I just acquired a Kia EV6 battery.
I'm in the United States and I'm struggling to find an inverter that can accept 800V and output split phase power that my house can use. Are you aware of an inverter and charger setup that would work for this application?
 
Hi Dala,
Thanks for all your work on this project!
I just acquired a Kia EV6 battery.
I'm in the United States and I'm struggling to find an inverter that can accept 800V and output split phase power that my house can use. Are you aware of an inverter and charger setup that would work for this application?
Please note eGMP support is not yet finalized. We are having issues with contactors opening after xx amount of running hours. We are working on this...

Sorry I am in the EU, I have no clue about split phase! You're gonna have to do research!
 
Dala, I love your contribution/project! I looked through your links and videos, especially the tested hybrid inverters. I couldn't find any North American / Japan AC Hybrid inverters. Everything seemed to be 220v (European?) Any suggestions for 100v (Japanese) 110v-120v (North American) Hybrid Inverters. (Just saw you may have answered this in your reply to lagmoner )

Has anyone got this working for 100v - 120v ouput?
 
Last edited:
Back
Top