New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loosing wifi on reboot from 5v board power but not usb #279
Comments
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?
I'll check the regulator, but off hand I used the BOM from the repo.
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 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. |
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. |
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.54.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
The text was updated successfully, but these errors were encountered: