@Pimousse was kind enough to craft a manual with all the answers. I won’t back link to the yeuch place directly
https://drive.google.com/file/d/1cAlaAxA7yCMaTV4SlLBUlxvXA49OH1vI/view
And of course the readme on github
DieBieMS - Hardware
===
# Introduction
My personal transportation environment is becoming more and more electrical. All my new vehicles so far contain Lithium based batteries and need some form of automated management to be utilized in a safe and easy way. All affordable alternatives that I could find were either to dangerous(extreme cell voltage limits), couldn't carry the desired current (>70A), not compact enough or were not customizable. With this fully opensource project I would like to contribute to a more safe and affordable Lithium based electric vehicle (or possible other usage) future.
![alt text](Binaries/Images/DieBieMSV0_4TOP.png "DieBieMS V0.4 TopView")
![alt text](Binaries/Images/DieBieMSV0_4BOTTOM.png "DieBieMS V0.4 BottomView")
### Other parts of this project
This is the hardware repository containing all hardware source files (designed in altium) and the project outputs to build a BMS PCB. There are three more repositories for this project:<br>
[DieBieMS Firmware](https://github.com/DieBieEngineering/DieBieMS-Firmware) has to be flashed to the empty BMS STM32, the build .bin and hex file can be found in the BMS tool [resource folder](https://github.com/DieBieEngineering/DieBieMS-Tool/tree/master/res/firmwares).<br>
[DieBieMS Bootloader](https://github.com/DieBieEngineering/DieBieMS-Bootloader) can be flashed with the BMS Tool in the firmware tab.<br>
[DieBieMS Configuration tool](https://github.com/DieBieEngineering/DieBieMS-Tool) the tool to configure the BMS and upload the bootloader / update the main firmware.<br>
### Latest hardware release (production files)
Production data for most recent version can be found [here](Project%20Outputs%20for%20DB10005_DieBieMS). The initial project blog/log can be found [here](http://www.electric-skateboard.builders/t/diy-6s-to-12s-bms-with-can/2639). And the schematic in PDF [here](Project%20Outputs%20for%20DB10005_DieBieMS/DB10005_DieBieMS.PDF).
### Features
This BMS is an all in one solution, combined with a lithium battery it is possible to replace an existing lead based battery pack (ideal for upgrading a bulky and heavy electric scooter with a much lighter li-polymer pack). In order to be a plug and play system the BMS carries all power electronics and controller systems to switch the main power path and communicate with external interfaces (displays, buttons or anything else you adapt to it). A small list of features:
This file has been truncated. show original
Also found this just now
Warning: this troubleshooting guide has not been vetted by the DieBieMS community and is subject to errors.
# USB port not visible from DBMS tool
If the CP2104 (IC5) USB transceiver chip isn't visible in DieBieMS-Tool, these are some possibilities:
- The CP2014 chip is damaged
- The computer is missing the drivers for CP2104 communication
You can bypass the CP2014 chip by using the UART port.
If you can communicate directly over the UART (using an FTDI or similar device) you can establish that the firmware and the MCU are running correctly.
# USB port visible in DBMS tool but unable to connect
When a connection attempt is made, the DBMS tool requests the firmware ID from the MCU.
If the DBMS tool doesn't get this code, the connection attempt fails.
Since the USB CP2104 chip is powered by the USB cable, it will show up even if the MCU is down.
These are some possibilities:
This file has been truncated. show original
You know @b264 ’s favorite knowledge place duckduckgo.com
@SimosMCmuffin apologies for the derail
Here’s the current list of available configurable parameters on the BMS and their descriptions.
4 Likes
its crazy that this motorbike carries the charger around all the time, just to save it shipping with a large external charger.
Wonder if you could make your charger so it mounts on your board for long group rides, saving space in your backpack.
1 Like
For top mounted MTBs I think it would be possible. Like a piggy-back charger stacked on the main box.
2 Likes
JTAG
July 15, 2020, 7:59pm
#558
Such much love , and from others also , thanks!
Just finished my backlog of BMS repairs, not that many just a few, most failed due to bad wiring or bad packs, but that kind of failure will damage any BMS connected to it. The problem with balance wires is that they can deliver quite a bit of current, also when that is undesirable.
13 Likes
They be golden.
Production boards are here with their ENIG ( Electroless Nickel Immersion Gold ) finish.
Some of the critical components are on backorder (battery stack monitor), but I have enough of my own personal inventory that I can start the assembly now and make what I can with the components I have on hand.
Storage discharging has been implemented in the FW and more can be read over here:
0.7 is out.
Bug fixes, improved balancing temperature handling and storage discharging implemented.
Parameter list updated
Commands list added
Quick start guide (will likely be expanded later)
Serial terminal setup guide
Serial terminal use guide
Also found a little improvement for the active mode current consumption with a better resistor choice.
28 Likes
I have some boards assembled, but I’m making/developing some improvements to my PnP machine.
13 Likes
@SimosMCmuffin So When Can I start to get my hands on ones of those boards?
BillGordon
split this topic
August 4, 2020, 4:24am
#562
53 posts were split to a new topic: What is your ideal BMS?
Zach
split this topic
August 1, 2020, 3:39pm
#572
A post was merged into an existing topic: Forum Adjustments and Updates
why a resistor on the 5v line? that’s not the same as the terminating resistors is it?
what does safe mean in this context? safe from blowing each other’s can circuits? or safer can signaling quality? or??
why connect the 5v line at all? I thought he canbus just needed the two CAN wires connected?
IIRC connecting the 5v lines means that when one unity powers up it’s 5v supply this connection also allows the other unitys 5v line to get powered up, causing both unitys to boot together.
The resistor means it if any faults occur then your not causing a dead short on the 5v line which could cause damage the unitys internal 5v supply.
5 Likes
Fun fact: if you have push to start disabled, this doesn’t work.
3 Likes
Is this just a unity thing? or all vescs?
Why do they need to power up together?
is this a precaution against the fabeled canbus chipset burnout from powering vescs on at different times or what is it protecting against?
Its a way to get two unities to boot up from one unity switch. So yeah, specific to unities
1 Like
The problem is the VESC has not implemented CAN BUS properly is shortened bastardised vershion from what I understood.
I think the resistor between the unity’s was some thing to do with useing 1 switch to turn on and off both unity’s. With out it when you pressed the switch the 1st unity would turn off but the 5v raile on the 2nd would take over and boot up the 1st unity again. This would leave you stuck in a cycle of not been able to shut down.
Bringing this back to topic I believe the DieBieMS had a solder bridge on the PCB the you could add or remove depending if it was end of line or in between VESC that did have a resistor unsure on the FlexBMS
Sorry that I keep comparing Flex BMS @SimosMCmuffin to DieBieMS but it’s the only thing I know that works in a similar way. I see both have there advantages in there own way not as a copy
3 Likes
Ahhhh that explains it. The resistor is there to stop the loop on power off
When i first set mine up they powered on but would not power off. I swapped out the whole can cable/resistor and it worked like a charm
Darkie02:
Bringing this back to topic I believe the DieBieMS had a solder bridge on the PCB the you could add or remove depending if it was end of line or in between VESC that did have a resistor unsure on the FlexBMS
Sorry that I keep comparing Flex BMS @SimosMCmuffin to DieBieMS but it’s the only thing I know that works in a similar way. I see both have there advantages in there own way not as a copy
SimosMCmuffin:
I’m not quite sure how the CAN-bus will behave if you have multiple devices (>2) on it and multiple of them have termination resistors. Normally the termination resistors are only used at the end of the cable chain. So just in case I moved the termination resistor a little bit on the board and added an easily cuttable open trace, so if there is too much termination on the bus, you can just cut that little trace to disconnect the termination resistor and solder bridge it back on later if it’s needed.
image1920×949 270 KB
[/quote]
2 Likes
I don’t know if I would be able to solder on a pcb trace (never done one before) would creating a bridge hear work?
You can bridge it that way too
1 Like