TeenyBMS, a small form factor 16S smart BMS

AFAIK they don’t exist, at least officially from JST. I haven’t completely decided on what to do with it yet.

Actually after looking at some chinese suppliers directly, they do have a 17-pin JST PH clone (although JST doesn’t make a 17-pin version themselves). I think this a clone of the PH series?

JST PH series datasheet:

EDIT: Seems to be pretty close. Couple dimensions differ a few 0.1mm, but I think they would work together?

EDIT2: It’s the same connector, so there’s your chinese PH clone with the 17-pins :+1:

3 Likes

Awesome, thank you!

Are you planning on shipping these BMSs with a corresponding 17pin wire housing and wiring harness?

Personally I want the 17th pin in the balance connector header to have that dedicated ground side balance wire, so I will probably source a batch of them at some point from somewhere, when I’m closer to getting ready to manufacture a batch of the BMSs.

1 Like

Here’s my implementation for how to control the load on or off externally. You can use a simple SPST switch and/or you can wire in the 5V from the VESC, which then turns the load on when the VESC is powered. You can have both wired at the same time, so the load will turn automatically on with the 5V from the VESC, but you can also use the switch to turn the accesories on, even if the VESC is not powered.

note. component values are not final.

7 Likes

Hello worlded the 0.2 unit yesterday.

Next is trying to get comms working between the MCU and the battery stack monitor IC.

16 Likes

Awesome! I have a pack already ready, wating for this. :smiley: No pressure though, take your time.

2 Likes

I could also utilise a couple of these!

3 Likes

I am also in one or two, i have two 15s packs in dire need of a smaller bms.

1 Like

This would be a perfect addition to your PCB battery frames

Actually a good idea. Maybe you could sell the design to @DuckBatterySystems or whoever designed those pack pcbs first. Having a BMS integrated would be a very nice addition.

2 Likes

I did some pcb battery designs and it seems feasible for a onewheel, however question is if it would be possible to source cells with correct tabs for the amp rating. Otherwise things might get too hot. I sent nkon a message, but I am still waiting for a response.

1 Like

If it’s feasible for a one-weel it’s definitely doable for a real esk8

Oh for sure, as mentioned previously there are already eskate solutions. I am not an ee so I am not super comfy with designing a bms :sweat_smile:, but i don’t mind sharing my kicad files and findings for the onewheel battery. Or going off a proven open source design. I think there is an added safety benefit with this setup especially for less experienced battery builders.

Hey @SimosMCmuffin, any updates? :slight_smile:

3 Likes

Update.
Finished the aero-space gig, had some summer vacation, got back to working on my projects. Although got a new set of offers for new coming gigs and I’m currently working on one 16-layer pcb design.

I have made progress with the BMS. Communication now works with the battery stack IC, I can control the discharge and charging path FETs, I can measure cell voltages and balance cells and most importantly have been reading the battery stack IC’s datasheet so much, it’s starting to etch itself into the back of my eyeballs. I’m likely to move onto 0.2 board version soon, as I have gotten the most out of the 0.1 at this point.

Typical first iteration prototype w/ jumper wires

I’m looking into integrating a SD card slot to the BMS, as it just needs a SPI-interface for comms, which already exists with the battery stack IC, so I just need an extra ChipSelect for it and it would then provide an easy way to flash new firmware, control settings and provides mass storage for BMS level logging (cell voltages, pack temperature etc.). The connector is also cheap, so I feel that this is a good solution, as I personally was a bit annoyed about the lack of easy way to update the firmware with the Lite 12S (mainly due to USB driver and PC side driver complexity). Also, if this is gonna be a much simpler design anyway without any fancy communication interfaces, then you still need a way to control and change the settings without re-flashing the firmware every time. I’ll load the Lite 16S up more with features when I get this design out.

I also just ordered a couple more compact connectors for testing for the balance connector. I’m interested in IDC termination (Insulation Displament Connector), which would eliminate the need to crimp contacts, but I’m gonna do some testing, some of the connectors work with separate wires and others work only with a ribbon cable directly.


Did you know for example that JST-PH has a compatible wire side header with a IDC termination called the JST-KR?

9 Likes

Very cool, looks awesome. :slight_smile:

Got the connectors, also ordered a couple different microSD-card connectors, as the one I had earlier was quite tall, with the card sitting quite high of the PCB surface.

The bigger one on the right has a lockable latch/door, so it’s not just push-pull via friction hold. Could be better for higher vibration environment, although the microSD-card is so light it likely won’t be able to fling itself out of the connector either way.


I wasn’t impressed by the cable connectors on the other hand. They seemed to be quite the PITA regardless from the perspective of actually having a customer populating them, in comparison to a more traditional crimp-terminated cables, like the JST-XH and -PH series. Crimp-terminated connectors also have the benefit of being much more easily modifiable/fixable, as you can pull the connector out of the housing by lifting the locking tab with something small. Not sure you could do the same with these ones, as I suspect the end of the cable/wire is gonna get pretty shredded if it’s pulled out of the cable side connector, so it would like need a re-cut and re-inserting for a clean finish.


So, I looked for another solution and ended up quite near where I started originally. The JST-PH connector.
“But Simon, wasn’t the problem with the JST-PH connector that it ended too long with the 17-pin length and that it didn’t officially exist in JST’s catalogue, but only in a chinese “knock-off” version?”
Yes, but I also know in my long history of sourcing connectors that JST does have double-row versions of some of their connector series… Like the XH- and PH-series for example, these are usually named as xyD-convention (xy being the connector series, and the D indicating a double row configuration) and what do you know? The PH-series has a PHD-version of it.


I had originally disregarded it, as I assumed it would essentially double the connectors “height” (very usual in other connector series), as it’s double row instead of a single row and I didn’t want to have a very tall connector on the PCB, as it would make the BMS very bulky/tall just because of the connector, but I was wrong. Very wrong.

Turns out they’re virtually the same height (for the horizontal PCB header height, 4.8mm for the single-row PH and 5.0mm for the double-row PHD), the PHD is a little longer in the horizontal direction, but that’s fine, as I care more about the “height from PCB surface”.


so the 17-pin single-row being 32mm in length (+ends of the housing), could be just 16mm (+ends) in a 18-pin double row, which is plenty short for me and it’s officially in JST’s catalogue. Might have enough space for dedicated NTC-temperature probe connectors as well.

I’ll order a couple test connectors of the PHD and I’ll also test if the PH-crimps are compatible with it. The datasheet does have different part numbers for PH- and PHD-crimps, but I’ll test and see if they still work together.

12 Likes

kronk

1 Like