DIYBMS v4

i ordered may 2022 the new style board
the c3 c4 were not in stock at jlcpcb so i ordered them at lcsc and confirmed now there is the same issue 4v part

should i order and replace the corect ones?

thats a problem
because it affect others too i ordered 5 pcbs and sold 3 of them…

Hi @voltmeter , technically its only 1 of those caps that shouldn’t be working correctly at 5V - the other cap only has 3.3V across it.

Rolf’s example is the first I’ve seen problem, so it probably means either people don’t use the 5V socket/plug very much (instead using direct USB to the ESP32) or the 4V part is okay up to a higher voltage - but over time is likely to eventually fail.

so the one issue cap is c3 need to be a 6,3V?
i will change it
because if that part fail and the controller goes off, then i have a blackout in my offgrid house
because my inverter need a canbus signal to be on

it work now for almost a year, but you never know when it will fail because of exceeding the specs

Yes C3 is the 5V side, so needs a higher voltage cap.

In my case was C4 the part burned.

I’ll solder the replace (the 4 one) ho arrives from lsc yesterday.

1 Like

maybe there is a problem in the cap from the manufacturing?

@stuart This is a shot in the dark,
I recieved a new ESP32 and flashed it, then replaced the CAP and connected the ESP32 to serial console, but I am getting this error,
Maybe it’s an easy fix or I’ll have to order a new Controller :frowning:
Not sure if there is any specific testing I can do it identify the fault

           _          __

| o |) |/| (_
(| | / |) | | __)
/

CONTROLLER - ver:e843bcb23f6aa0b0b75df78a05d59a0f5dc46bc7 compiled 2023-01-03T10:07:59.024Z
ESP32 Chip model = 1, Rev 1, Cores=2, Features=50
I (26) diybms-hal: Configure I2C
I (28) diybms-hal: Scanning i2c bus
I (42) diybms-hal: TCA6416A not fitted, assume v4.2 board
E (42) diybms-hal: TCA9534APWR Error
E (42) diybms-hal: SYSTEM HALTED
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4008e4af
file: “src/HAL_ESP32.cpp” line 128
func: esp_err_t HAL_ESP32::writeByte(i2c_port_t, uint8_t, uint8_t, uint8_t)
expression: i2c_master_cmd_begin(i2c_num, cmd, pdMS_TO_TICKS(100))
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4008e4af
file: “src/HAL_ESP32.cpp” line 197
func: void HAL_ESP32::WriteTCA9534APWROutputState()
expression: writeByte(I2C_NUM_0, TCA9534APWR_ADDRESS, TCA9534APWR_OUTPUT, TCA9534APWR_Output_Pins)
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4008e4af
file: “src/HAL_ESP32.cpp” line 128
func: esp_err_t HAL_ESP32::writeByte(i2c_port_t, uint8_t, uint8_t, uint8_t)
expression: i2c_master_cmd_begin(i2c_num, cmd, pdMS_TO_TICKS(100))
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4008e4af
file: “src/HAL_ESP32.cpp” line 197
func: void HAL_ESP32::WriteTCA9534APWROutputState()
expression: writeByte(I2C_NUM_0, TCA9534APWR_ADDRESS, TCA9534APWR_OUTPUT, TCA9534APWR_Output_Pins)
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4008e4af
file: “src/HAL_ESP32.cpp” line 128
func: esp_err_t HAL_ESP32::writeByte(i2c_port_t, uint8_t, uint8_t, uint8_t)
expression: i2c_master_cmd_begin(i2c_num, cmd, pdMS_TO_TICKS(100))
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x4008e4af
file: “src/HAL_ESP32.cpp” line 197
func: void HAL_ESP32::WriteTCA9534APWROutputState()
expression: writeByte(I2C_NUM_0, TCA9534APWR_ADDRESS, TCA9534APWR_OUTPUT, TCA9534APWR_Output_Pins)
ets Jun 8 2016 00:22:57

There are different esp32 dev boards, was this new one a devkitC variety?

The error above is a problem talking to the chip on the board over i2c.

Thanks @stuart , these are devc boards, I suspect with the short of the cap and then shorting my 5v regulator, the regulator popped and suppliied 12v to the controller, I suspect more than just the cap got damaged

I’ll just wait and order a new controller, is it worth waiting for the next release of the controller ? Are there going to be significant changes, or is the current release just as good ?

I’d wait for v4.6

1 Like

Is it possible to program the new V4.5 (UPDI) from the controller? Does the stick you gave us work?


in a couple of weeks I will receive the Attiny and I am looking forward to it

Unfortunately not yet - the hardware should be okay, but the code doesn’t exist in the controller. Stick to using a USB Serial cable for now - easy enough to do, take a look at this…