-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure if this is the right area for this. #78
Comments
Hello Michael, Good news for you, the next release of the diyBMS code contains most of the items you want resolving! If you want to try it now, the code is here, you program it to the controller and modules just as you did when you first installed it. You will need to reprogram all the module ATTINY chips as well as this is a major change to the way things work under the covers. Hopefully I can answer the questions... Use the new code, it supports up to 100 modules, in a combination of up to 32S and 16 parallel banks. So 17S x2 strings (banks) will work fine. I am getting some errors, and I am not sure why, it works mostly, hangs up sometimes. The ESP chip can get bogged down with lots of web requests. The new code doesn't need the "upload filesystem image" option, which means that the new website is much quicker at loading. This should get rid of the problem you are seeing. on my modules page I see many bad packets on some but not all modules heres a clip; I don't know how many packets have gone through the system to indicate if this is bad or not, would expect a few bad packets every now and then, especially when balancing. Once a module generates a bad packet it will move through the others and they will record the error as well, so it looks worse than it really is. Notice that the mass of errors around cell 0/9. What is the likely cause of this? I would be tempted to check the module with the highest count. Possibly a bad solder joint or lose cable/JST connector. How can I can the voltage RANGE on the main screen? Also, could you add a rule that uses the temp Int? Do the wires between the modules need to be twisted? If so how many twists per inch/cm? Self powered controller? What voltage reference chip did you end up using to replace the TL432? If it has a similar voltage (about 1.24V), then nothing needs to be changed. |
I don't know how many packets have gone through the system to indicate if this is bad or not, would expect a few bad packets every now and then, especially when balancing. Once a module generates a bad packet it will move through the others and they will record the error as well, so it looks worse than it really is. It was after around 23,000 packets sent, 18,000 received. does that loss seem excessive? https://jlcpcb.com/parts/componentSearch?searchTxt=C34674 this is the part I swapped in for the voltage ref. Last question, for now... I did see that someone created a board for use specifically for the Leaf cell.. I was wondering if you would be willing to design a board for use with the 280aH Prismatic cells lots of us are using these days? I could supply a cad for the terminals if that helps. Seems that the terminals for the different sizes are all the same with only the height and thickness changes. It would make things so much cleaner to install if I could just place it on top of my busbars, also no voltage drop across the leads. Last thing, is there a way that I can email you privately to get you a link to my module? (I don't want to post it publicly since there is no username/password for the module. I would really like to have you look at the numbers and see if you can figure out these errors I am getting. You can email me at [email protected] thanks |
it's too bad that none of these board makers can also supply the attiny so we didn't have to solder that. |
Did you see the round board design I recently did for the LTO cells? |
no, i did not. where do you post these marvelous creations of yours? |
It's on the forum... |
hrm, I must've skipped it |
ok, I saw it and created a new topic for the LiFePO4 version. 😉 Love thiscommunityy |
"It was after around 23,000 packets sent, 18,000 received. does that loss seem excessive?" Yes I think this is excessive. When you see packets being lost, look and see if the green led's are flowing along the cells correctly - if they get to the end, then its likely a problem with the last connection to the controller. Also try twisted cables between the modules. I won't get time to look at the setup you have on a 1:1 basis, so I'd recommending closing that port forward as that isn't a good idea with a BMS - anyone on the internet could drain the cells! |
Hi @Michaelillingby have you tried the recently released code on your setup? |
no i have not tried the new code yet, as I do not have an easy way to reprogram the cell modules. You see when I built the boards, I didn’t consider that I may need to flash them more than once and never added the connectors. this saved the labor and cost of installing them, but makes future uploading a pain in the ass. I do plan on doing your NEW controller once released and will fix the boards then for sure.
… On Jan 27, 2021, at 12:48 AM, Stuart Pittaway ***@***.***> wrote:
Hi @Michaelillingby <https://github.com/Michaelillingby> have you tried the recently released code on your setup?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#78 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABHWYP3FV44QKWFMIQGXVL3S37HO5ANCNFSM4V6BTGHA>.
|
I don't add the ISP header pins either - I use a pogo pin adapter and just push it/hold it against the contacts. I built my own, but this is similar - https://www.sparkfun.com/products/11591 |
wow, GMTA I just bought a bag of 100 pogo pins. need to make a JIG to line everything up. I’ll let you know once I get my sh*t together over here.
I have noticed that I don’t need to reset the wemos much at all if I ensure to only log into it from one computer at a time. If I have it logged in from more than one machine, it seems to crash.
… On Jan 27, 2021, at 1:03 AM, Stuart Pittaway ***@***.***> wrote:
I don't add the ISP header pins either - I use a pogo pin adapter and just push it/hold it against the contacts.
I built my own, but this is similar - https://www.sparkfun.com/products/11591 <https://www.sparkfun.com/products/11591>
https://forum.arduino.cc/index.php?topic=492856.0 <https://forum.arduino.cc/index.php?topic=492856.0>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#78 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABHWYPYMW74VQEJ3FW74PSDS37JGBANCNFSM4V6BTGHA>.
|
May be worth raising another ticket/issue on that, it shouldn't crash, but the ESP8266 is very low powered for what its actually doing. |
If you have an empty module PCB board (or a spare you can remove the parts from) then that makes a perfect jig. |
I posted this on the open energy forum, not sure if it was supposed to go there or here. advise and I'll delete the wrong one.
Need a little help here with a few things;
on my modules page I see many bad packets on some but not all modules heres a clip;
Bad packet
count
Bank Module Voltage V. Min V. Max Temp Int °C Temp Ext °C Bypass PWM Bad packet count
0 0 3.321 3.316 3.332 13 0 1
0 1 3.344 3.339 3.350 13 0 3
0 2 3.318 3.318 3.323 13 0 0
0 3 3.321 3.316 3.326 12 0 8
0 4 3.314 3.309 3.324 12 0 12
0 5 3.319 3.314 3.325 12 0 0
0 6 3.310 3.305 3.315 12 0 3
0 7 3.315 3.310 3.320 12 0 2
0 8 3.325 3.314 3.325 11 0 1
0 9 3.322 3.312 3.322 11 0 13
0 10 3.314 3.309 3.319 12 0 116
0 11 3.313 3.308 3.318 12 0 86
0 12 3.314 3.314 3.319 12 0 25
0 13 3.316 3.310 3.321 12 0 46
0 14 3.313 3.313 3.319 12 0 49
0 15 3.310 3.310 3.321 12 0 50
1 0 3.329 3.329 3.344 12 0 57
Notice that the mass of errors around cell 0/9. What is the likely cause of this?
Also, could you add a rule that uses the temp Int? This would be nice in addition to cell temp. Ie turn on a fan for high temp, or disable charging for cold cells etc.
Do the wires between the modules need to be twisted? If so how many twists per inch/cm?
Self powered controller? It there a possibility of including a small voltage reg to buck the pack voltage down to 5v? The other advantage is a controller based voltage sense.
One last thing, when I ordered my boards assembled, there were two parts they didn’t have, one was the attiny, and the other was the voltage ref I believe. I got a replacement ref from you when I ordered; Was i supposed to change any code when I swapped this v ref chip?
Thats all I have for now.
PS Stuart, I have exposed my esp via a port forward so you can poke around if need be, PM me for the link so you can see the errors I am getting. Due to no security on the webpage I won’t post this publicly.
Thanks in advance, Michael.
The text was updated successfully, but these errors were encountered: