Closed dougnutz closed 9 months ago
Thank you for the detailed debug logs.
I shall take a look at this soon, but surprised that others have not raised similar concerns.
Can you check which 3.3v regulator is installed on the esp32 board? Some of those are not correct spec for powering WiFi (not enough current).
If you flash the esp32 using the pre built image from GitHub do you get the same problem?
I agree with you, it seems likely that I've got something "off". I wonder if it's common to use the 5v board supply. Digging into the code a bit I suspect some sort of timming issue or false positive in the Space key ckeck during startup. Are there any other paths to the blue config wifi screen than pressing spacebar?
Can you check which 3.3v regulator is installed on the esp32 board?
I'll check the regulator, but off hand I used the BOM from the repo.
If you flash the esp32 using the pre built image from GitHub do you get the same problem?
Yes I tried "latest"
I also tried an over the air update, which also reproduced the problem.
Am I correct in thinking the 3.3 reglator is in position U6? From the BOM
From my order history
When I ordered the boards they were only missing some diodes, near the relays. I sourced those from Digikey and soldered them by hand. Everything else went really smoothly. Amazing work went into the prep for all us DIYers. Thanks again.
Even with this small issue it's working amazingly well.
I just realized my board is v4.6 not 4.5. The readme indicates 4.5 is the latest but my board has 4.6 on the silkscreen. I don't think that matters for this issue.
Am I correct in thinking the 3.3 reglator is in position U6?
No - the 3.3V regulator on the actual ESP32 board, normally in the centre, just above the flash memory chip.
I ordered two boards from a different seller to see if it's related to the particular board.
This issue doesn't reproduce with the new ESP32 board. I think you can close this issue, the board that was problematic is linked in the discription. Thanks!
Ok - how strange, wonder if its a faulty flash chip on the ESP32?
Describe the bug tldr; If the usb plug has power the wifi connects fine on reboot. If the controller is powered solely from a dc/dc converter via 5v input the wifi will not connect, wifi.json will be erased, and the screen will show "configure wifi"
Hardware/Software Versions Controller version (from PCB): ~4.5~ 4.6 with v4.9 all in one monitoring board (below can be obtained from the "About" page in the controller web interface) Processor: ESP32 Version: 9a0a3ed26f2dc973d3faf3e2799a6688da3ab13e Compiled: 2023-12-27T11:59:52.391Z
Software built from master and reproduced with latest
Board purchased ESP32-DevKitC
To Reproduce Steps to reproduce the behavior:
Things done so far.
The issue was reproduced without the shunt add on board and later with the shunt add on board installed. No change
Here is a sample of the serial output
note the error
diybms: Error deserialize JSON