DIYBMS v4

@stuart Hello, I want to ask for some boards v4 pre-builded from JCLPCB, but they required BOM file which i found in the git project and the CPL file that i don’t found it. Could you please indicate me where i can get it ?

Thanks a lot,
Jonny

Use the files from here [https://github.com/stuartpittaway/diyBMSv4/tree/jlcpcbassembly]

1 Like

@stuart Thanks a lot for uploads the files. I try to submit those to JCLPCB but they come back to me showing that the coordinates does not match. It there any way from my side to do it ? Using some program or so ? I’m very new using PCB’s so need some guidance on it.

I was using files:
…\diyBMSv4\Circuit\v4_bom_jlc.csv
…\diyBMSv4\Circuit\v4_cpl_jlc.csv

Thanks a lot,
Jonny

Did you pick up the 4.2 branch? look here for the latest release

1 Like

Anyone have experience of calibrating the modules. I’ve measured that actual voltages of my packs. I’m trying to set Calibration multiplier by using the Actual measured voltage Calculator box but when I try to save the setting, it always says Failed to save settings?

Refresh the browser window and it will work. It’s a cross site scripting security feature.

looks like you have the v4 pcb layout and the v4.21 bom you need to make sure you have the v4.21 file with the v4.21 bom

1 Like

Hi,

I have built and set up an 18S pack.

I have the DIYBMS V4s built and communicating well when they are monitoring the cells. But when the charger kicks in, the communication fails and I get a pulse of 4 green lights instead of the normal 1 green light trail. It recovers when the charging voltage is removed.

Has anyone seen this?

Youtube video link:

Taumarc

Can you buy the in PCB’s already built?? (UK)

Not fully built but mostly. You still have to solder a few things but not too many.

Use the files from here…

What code did you use to program the modules and controller?

Got my second 14 built last night. Testing them out this morning one would not receive the message going round the chain. I touched up the legs of the ATTINY but it didn’t resolve the problem. I was about to give up when I noticed resistor R16 was missing.


Tried to get one off one of my bad boards but it’s just too small to solder in place. In the end I had to rig up something with a normal resistor. It’s not pretty but it works.

Unfortunately I am 1 board short. I ordered a couple of spares just in case but 3 are dead so I only have 13 boards for a 14s. Anyone in the UK have a spare v4.21 board with ATTINY attached?

Hi Brian,

Got it ! Yep this ones are the right, was mixing the gerber files from older branch with the latest BOM/CPL, now is fine.

Thanks a lot.

1 Like

I finally got an PCF8574, I soldered the chip in place but in the web interface I’m getting “PCF8574 is NOT fitted, relay control not possible!”. I even reflash the wemos and I’m getting the same error.

I need to do something in the firmware or in the interface to make it work?

No, did you get the exact chip as specified in the BOM or just something random from ebay/another supplier?

If not exactly the same, its probably got a different i2c address - look in the source code for the controller on what to change.

//PCF8574P has an i2c address of 0x38 instead of the normal 0x20
PCF857x pcf8574(0x38, &Wire);
2 Likes

I’d report that over to jlcpcb - they can at least credit your account for some replacement boards.

1 Like

Thanks @stuart, i’ll do that. It would be worth having even a small credit as I will be ordering some more in the future.

Is not exactly the same one, I took one of this modules from eBay desolder the chip and put it on your PCB. The seller in the description is saying that the address is 0x27 (after 2 hours I found out that is 0x20) . Thank you!

Only that I have another small question, where I can find the latest source code for the EPScontroller? On your GIThub I can find day 1 release source code.

I flash with the new address and now I don’t get the error anymore, but I’m still looking for the latest source code for the ESP controller.

check this : diyBMSv4Code/ESPController at master · stuartpittaway/diyBMSv4Code · GitHub

Latest code is always in GITHUB

You will need platformio to compile it and upload to the board

2 Likes