diy solar

diy solar

JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

I got the Atom Canbus delivered today - I do remember ordering 4, I thought it was 2 I ordered

what is the next step in configuring them...?
 
I don't think you can add additional cells for balancing and monitoring without increasing the total voltage. As you say, that's not something you can do with the Solis inverter.

I'd suggest buying another JK BMS that matches your current one, setting up the second battery with that and you can potentially be the tester for multi BMS logic when I develop it.
Just to update this thread that i have successfully added the second battery with BMS active balancing in play

Just monitoring and i am now trying to get both batteries's SOC to level up when in action


1709297577180.png
 
Also, I'd like to add my two cents to this amazing project.

I've prepared a summary connection diagram for those who are going to use the M5Stack—a nice product that simplifies the wiring and connections, making the hardware part almost plug and play.
Both configurations have been tested and are stable

View attachment 198115
I realized what I did wrong - was supposed to order x2 of the actual esp32 and x 2 of the esp32s3 and i ordered x4 of the CAN isolation instead

@arzaman
can you please send a link to the M5Stack Official ATOMS3 Lite ESP32 Dev Kit i can only find the wireless

I am hoping the wire will work for me using these components as it does with the ESP32normal chip

regards
 
@arzaman
can you please send a link to the M5Stack Official ATOMS3 Lite ESP32 Dev Kit i can only find the wireless
here is the link to Atom S3 Lite

 
here is the link to Atom S3 Lite


Did you manage to get the Wire version to work with Atom S3?
 
I would like to tell those who are interested in a multi-bms version not to buy too much ESP32 or other hardware in advance. If we want to get it right, it's more than likely that a dedicated PCB will be required.
 
100% wait and watch!!
And in the meantime, don't waste unnecessary money into buying kits that won't come into use.
 
Did you manage to get the Wire version to work with Atom S3?
No , still not, I have not spent so much in debug and troubleshooting (I just compile the code with different options) but no way to connect UART to JK RS485 port.
 
I got all the components delivered - however the "connector-grove-to-4-pin-10pcs" does not fit, you might want to check its correct again..

regards
oh i see my error - the cable is missing, got to order that, do you have link?
 
I got all the components delivered - however the "connector-grove-to-4-pin-10pcs" does not fit, you might want to check its correct again..

regards
Been working fine for over a month, just in older version of code. Will update when at cabin this weekend to whatever is in the repo.

IMG_4464.jpeg
 
Let me know if the new code works for you as i had issues with the new code so i am actually using x.16 version
Going to be a busy weekend...already prepped the wife.
  1. First is to try the ESP32/MCP2515 device to only report Victron shunt data over Pylontech protocol to the Lux inverter, regardless of what brand BMS is behind it all. Have this working with my bench power supply, just no way to read the CAN output of the MCP2515.
  2. Will try updated code from this project on M5stack (older version still running and only reporting to HA, not controlling inverter since I'm not there)
  3. If time allows will try @Der_Hannes project, still digging into that one to understand what I need to get it to work, looks like multiple devices reporting to mqtt then a singular esp32 reporting to inverter.
 
Going to be a busy weekend...already prepped the wife.
  1. First is to try the ESP32/MCP2515 device to only report Victron shunt data over Pylontech protocol to the Lux inverter, regardless of what brand BMS is behind it all. Have this working with my bench power supply, just no way to read the CAN output of the MCP2515.
  2. Will try updated code from this project on M5stack (older version still running and only reporting to HA, not controlling inverter since I'm not there)
  3. If time allows will try @Der_Hannes project, still digging into that one to understand what I need to get it to work, looks like multiple devices reporting to mqtt then a singular esp32 reporting to inverter.
3.
thats correct - the subscribe topics needs to be replaced to the desired source-BMS/Shunt
every device has an additional availability topic besides the normal data-topics, which sets a binary sensor to ON.
And every device has an Switch, to enable it for combining states if the device is available.

mqtt config for general purpuse broker is a mess on esphome... thats why is split the code in so many yaml

The structure of all BMSs must be the same under different subtopics (shunt is separate)
 
Going to be a busy weekend...already prepped the wife.
  1. First is to try the ESP32/MCP2515 device to only report Victron shunt data over Pylontech protocol to the Lux inverter, regardless of what brand BMS is behind it all. Have this working with my bench power supply, just no way to read the CAN output of the MCP2515.
  2. Will try updated code from this project on M5stack (older version still running and only reporting to HA, not controlling inverter since I'm not there)
  3. If time allows will try @Der_Hannes project, still digging into that one to understand what I need to get it to work, looks like multiple devices reporting to mqtt then a singular esp32 reporting to inverter.
Sounds exciting - especially the multi aspect...cant wait for result
 
Going to be a busy weekend...already prepped the wife.
  1. First is to try the ESP32/MCP2515 device to only report Victron shunt data over Pylontech protocol to the Lux inverter, regardless of what brand BMS is behind it all. Have this working with my bench power supply, just no way to read the CAN output of the MCP2515.
  2. Will try updated code from this project on M5stack (older version still running and only reporting to HA, not controlling inverter since I'm not there)
  3. If time allows will try @Der_Hannes project, still digging into that one to understand what I need to get it to work, looks like multiple devices reporting to mqtt then a singular esp32 reporting to inverter.
Do you mind sharing how you flash yours again and confirm which code was used?

bcos - I flash the S3 with the normal ESPHome process and now when i plug it into the computer it connects and disconnects over and over on the designated COM port. i erase and flash it with the same process only using the prepare for first use , and i can connect to the wifi and ping its ip

so looks like it doesn't work for me
 
Do you mind sharing how you flash yours again and confirm which code was used?

bcos - I flash the S3 with the normal ESPHome process and now when i plug it into the computer it connects and disconnects over and over on the designated COM port. i erase and flash it with the same process only using the prepare for first use , and i can connect to the wifi and ping its ip

so looks like it doesn't work for me
I just downloaded the recommended drivers for my MacOS, download Python and cloned repo. Didn't do much more than that to get this working. I have since moved on to running/updating through GitHub Desktop
 
Do you mind sharing how you flash yours again and confirm which code was used?

bcos - I flash the S3 with the normal ESPHome process and now when i plug it into the computer it connects and disconnects over and over on the designated COM port. i erase and flash it with the same process only using the prepare for first use , and i can connect to the wifi and ping its ip

so looks like it doesn't work for me

I'm sorry but @arzaman couldn't get the Wire version to work with Atom S3.

This doesn't mean it's impossible.

The RX and TX pins should be this one. To test.

 
I just downloaded the recommended drivers for my MacOS, download Python and cloned repo. Didn't do much more than that to get this working. I have since moved on to running/updating through GitHub Desktop
It flashes but no light blinks any more after flashing and it is detected not detected repeatedly by windows - i dont know how to use github, i am not a coder , i think i have gone too deep already
1709578728179.png

and then this
1709579032772.png
 

diy solar

diy solar
Back
Top