DIYBMS v4

When will diyBMS modules be back in stock?

The controller says, 8574 chip is not present, but i am pretty sure jlcpcb solderd it on the boardā€¦
And i do need to touch up some of my own solderwork on the modulesā€¦
Do I need to alter the code or should I try another controlboard?

Try altering the code first, if jlc soldered it should be fine

1 Like

Thanks, and 8574t variant should be ok?

8574T is the one specā€™d for jlc assembly in the BOM. My controller did the same thing. If changing the code doesnā€™t fix error check your soldering on the header pins for the controller and wemos.

1 Like

Yes, fine

1 Like

It was a bit of fiddling in visual studio code, (couldnt inmedeatly find the options to save and rebuild the files to upload to the wemos) but in the end it worked, tonight i try to control the relay board.
I also soldered up my 6 spare cell modules to replace the ones i probably did not solder well enoughā€¦
All seems to work ok now, some more testing to do the next days.

Thanks for all the help!

Can anybody tell me what info from the diybms is sent to influxdb?

Also

Has anybody recently created a modified firmware for the diybms for displaying a grafana dashboard with custom statistics etcā€¦?

Grafana and influxdb is all brand new to me, but now that I have mine large DIY battery pack up and running using the diybms system I want to create a LCD panel on the front of the battery pack to display as much information as possible and it nice format.

So if anybody here is familiar with grafana in the diybms please reach out to me or if anyone could point me in the right direction on more detailed info on what data is sent to influxdb or how to modify firmware to do soā€¦

Last night I got my Raspberry Pi all set up with grafana and influxdb installed. But was having trouble resetting the esp8266 wifi settings so I could connect the diybms to the same network SSID as my Raspberry Pi. so tonight when I get home I will just flash a new esp8266 and connect to the correct SSID

THANKS

In red circle are the info I gather from diyBMS controller. Left I see the actual cell voltage - right i see the cycles of the batteries. If those are asymentric, I know that a pack is performing bad.

Colin Hickey made a useful youtube introduction how to configure influx query for cells.

1 Like

repostā€¦

Did you get an answer? I had the same problem last year. Itā€™s down to the PCF8574 being a slightly different Version (This is from memory).

Stuart gave me the fix some where in this forum. Essentially edit line 91 in the main.ccp of the Controller. From x38 to x20.

1 Like

A post was merged into an existing topic: TL432G-AE3-R is no longer available from JLCPCB

Did you connect to 192.168.4.1 first and set up the WiFi?

Cheers
Alex

@swissiws

Thanks for the info. Yeah I finally got my diybmsā€™s esp8266 sending data to influxdb.

Now Iā€™m wondering how I would go about getting the diybms to also send the temperature data, which cells are are balancing,the state of the relay outputs etcā€¦
And would it be easier to implement this into the existing esp8266 code or using another Micro Controller that monitors this info and then sends it to influxdb? Or maybe there would be a easier way of doing this?

Any info / help would be super appreciated. Iā€™ve always been a ā€œhardwareā€ guyā€¦ I wish I would have got more into programming when I was younger. Recently I have tried to learn how to write sketches for Arduino, but that did not go very wellā€¦ LOL I can sort of slightly modify pre-existing Arduino sketches to get them to work for my needs but itā€™s a nightmare. I just donā€™t have the patience I used too, and I just get super frustrated

But if anybody here has done something like this already or could help me do this, point me in the right direction that would be awesome.

Apart from the relay outputs, all the other data is already sent over MQTT

  • Voltage
  • Internal Temp (degree C)
  • External Temp (degree C)
  • Bypass status (0/1)

These fields should be visible on MQTT: voltage, inttemp, exttemp, bypass.

The code that does it is here,

1 Like

@Jon_Coop

With some minor changes you could get this type of data out. I did some minor changes earlier to try out. Above is just a preview of some things i hope can be added :slight_smile:
And of course relay and rule statuses like this:

Stuart: Not sure but i dont seem to be able to PM you here or its just not me used to this style of forum :slight_smile:

3 Likes

Hi Stuart, Iā€™m starting a solar project for my garden, and after much research Iā€™ve honed in on your diyBMS system. Iā€™ve watched your intro Youtube video, and Iā€™m ready to order parts. Before I bite the bullet over at JLCPCB, I remembered this comment which I had previously read. If you do have spare v4.21 modules and a controller laying around, I would much rather buy from the ā€œsourceā€. I am building an 7S configuration, so 7-8 modules would be great. Anyway, I literally just created this account some minutes ago to ask you this, but who knows, maybe Iā€™ll be frequenting here again. If this is an unwanted request, please feel free to tell me to get lost. But then again, you did put the offer out there!

Hello! I sold those spare boards (the post was from 2019), but the openenergymonitor shop still has stock of them!

Welcome, Daniel.
Sorry I didnā€™t notice earlier, but as a new user youā€™re not allowed to post PMs. Iā€™ve promoted you so you should be able to now - just click on Stuartā€™s icon (ideally the one on the relevant post) or click on your icon at the top right of the screen, then on the envelope twice, then New Message.

1 Like

Ah I see. Thanks. One question though, do these ā€œpartially populatedā€ boards on the openenergymonitor store come with ALL the additional base components needed? The controller for example doesnā€™t make that 100% clear. Would be good to know before I pull the trigger.

Iā€™m getting this error message when trying to build the new code release for the esp8266

fatal: not a git repository (or any of the parent directories): .git
CalledProcessError: Command ā€˜[ā€˜gitā€™, ā€˜logā€™, ā€˜ā€“pretty=format:%h_%adā€™, ā€˜-1ā€™, ā€˜ā€“date=shortā€™]ā€™ returned non-zero exit status 128.:

Iā€™m not sure what to do about it. The attiny code compiles just fine.
its the latest ā€˜relay releaseā€™ 2020.11.2