-
Notifications
You must be signed in to change notification settings - Fork 225
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
Communication wiring with (1 or more) 16S boards and controller #162
Comments
I have tried the all in one and it works fine until it reaches 15 cells. When I connect number 16, the controller stays waiting for modules. If you want to compile the code to force 16 cells to test - change return cellCount; to return 16; |
Hi @chapulino. Attached to this message is the firmware with a code for forcing 16S configuration. This also uses the 10K baud/communication speed. Unzip this and then write the code to the STM32 on the module as you have previously. This will then allow us to determine if its a code or hardware problem. |
thanks a lot
I'll definitely try it this afternoon and I'll report back to you.
|
@chapulino I've found a bug for the 16S configuration - so please use the version on GITHUB which I updated today. https://github.com/stuartpittaway/diyBMSv4ESP32/actions/runs/5796302484 |
work, thanks Stuart
now i tried the derivation of resistors
El mar, 8 ago 2023 a las 14:37, Stuart Pittaway ***@***.***>)
escribió:
… I'll definitely try it this afternoon and I'll report back to you.
@chapulino <https://github.com/chapulino> I've found a bug for the 16S
configuration - so please use the version on GITHUB which I updated today.
https://github.com/stuartpittaway/diyBMSv4ESP32/actions/runs/5796302484
—
Reply to this email directly, view it on GitHub
<#162 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNP4G7XF6J5KB5IGMKLY6LXUIXJJANCNFSM6AAAAAA3BCSNPM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
unfortunately the VREF450 version does not work as well as could be
expected, I have tried with 16 cells and I have wrong values in all of
them, well above the real value of the cells
[image: image.png]
This is the real value of the cells in an all in one VREF 4v
[image: image.png]
I don't know if I can help you with any test or measurement?
|
Did you use the code specifically for the 4.5V reference? |
this
I'll definitely try it this afternoon and I'll report back to you.
|
None of the images are coming through from your emails, can you edit the GitHub issue directly please. |
this |
Thank you for this information, can you confirm you have 4.50V on the test pin for the voltage reference. This should just be a code bug. |
yes i have 4.5V in the test pin
El jue, 10 ago 2023 a las 11:50, Stuart Pittaway ***@***.***>)
escribió:
… Thank you for this information, can you confirm you have 4.50V on the test
pin for the voltage reference.
This should just be a code bug.
—
Reply to this email directly, view it on GitHub
<#162 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNP4G7Q2RGQOU67QJHOH7LXUSVIDANCNFSM6AAAAAA3BCSNPM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Great, so it should just be a code/math change |
Ouch! |
Hello @chapulino I've just tested the circuit with the 4.5V reference and it worked first time - perfectly. If you are seeing all the cell voltages near 4.5V (the maximum range) like the screenshot you sent over, it means the ADC chip (U3) is not getting the 4.5V reference correctly. Can you check the soldering around this chip? Especially pin 1 (check the voltage on that pin - it should be 4.5V) Might be worth using the latest code from here as well... https://github.com/stuartpittaway/diyBMSv4ESP32/actions/runs/5806654286 |
If one board works, and the other doesn't it has to be a soldering or component issue. I'd start by re-soldering all the pins around U3/U6 |
i have actually resoldered everything including the max, i think this time JCBPCB did not do a good job of soldering |
Time to get balancing the cells now then :-) |
This issue is purely documentation for connection of 16S monitoring boards and the DIYBMS v4.X controller.
Cabling is similar to the single cell monitoring modules.
DO NOT CONNECT TX TO TX OR RX TO RX - THE CORRECT WAY IS FROM TX TO RX - YOU CAN DAMAGE THE CONTROLLER IF MISTAKES ARE MADE
FOLLOWING DESCRIPTIONS ASSUME TOP DOWN VIEW ON THE CONNECTORS
ON EACH 16S MONITORING BOARD, THERE IS A 4 PIN CONNECTOR WITH PINS MARKED ON SILKSCREEN AS:
ON THE CONTROLLER
FOR CONNECTING A SINGLE 16S MONITORING BOARD
CONTROL->TX->LEFT PIN = 16SBOARD->RX
CONTROL->TX->RIGHT PIN = 16SBOARD->3.3V
16SBOARD->TX1 = CONTROL->RX->RIGHT PIN
16SBOARD->TX2 = CONTROL->RX->LEFT PIN
FOR CONNECTING MULTIPLE 16S MONITORING BOARDS
CONTROL->TX->LEFT PIN = FIRST 16SBOARD->RX (BLACK IN PHOTO)
CONTROL->TX->RIGHT PIN = FIRST 16SBOARD->3.3V (RED IN PHOTO)
FIRST 16SBOARD->TX1 = SECOND 16SBOARD->3.3V (ORANGE IN PHOTO)
FIRST 16SBOARD->TX2 = SECOND 16SBOARD->RX (ORANGE/WHITE IN PHOTO)
SECOND 16SBOARD->TX1 = CONTROL->RX->RIGHT PIN (RED IN PHOTO)
SECOND 16SBOARD->TX2 = CONTROL->RX->LEFT PIN (BLACK IN PHOTO)
Photo below shows two 16S boards connected to a controller
The text was updated successfully, but these errors were encountered: