Wi-fi password 'electrodacus' incorrect?

183 views
Skip to first unread message

Søren Larsen

unread,
Nov 10, 2023, 9:49:44 AM11/10/23
to electrodacus
Hello,

Two years ago I installed the SBMS0 with wi-fi module. The installation went smooth, I connected to the SBMS0 in AP Mode with the password 'electrodacus'. Now two years later I have a new internet provider with new router, SSID, and password, so I want to update this in the settings of the SBMS0, but I can no longer access it in AP Model. When I try to connect to the network "SBMS-xxxxxxxxxxxx" and type in 'electrodacus' it says wrong password. I've tried to do a factory reset and reboot, but it doesn't help. I don't think I have ever changed the AP Mode password on the SBMS0, unless you have to change it during setup?

Any suggestions on how to solve this?

Thanks and regards,
Søren

Dacian Todea (electrodacus)

unread,
Nov 10, 2023, 9:07:34 PM11/10/23
to electrodacus
Søren,

The factory reset in the SBMS0 has nothing to do with the WiFi module and will reset all your settings that are not in parameter settings menu. So things like current shunt resistance value will be reset to factory default so likely not good for your needs.
The password for AP mode is default electrodacus but maybe you changed that else it should work in AP mode.
As you have a different SSID the SBMS WiFi will not be able to connect and so it should I think default to the AP mode where you can connect directly from a computing device.
If the default password for AP mode was changed from default and you do not remember then you will need to re-flash the WiFi firmware over USB.

Søren Larsen

unread,
Nov 11, 2023, 12:17:20 PM11/11/23
to electrodacus
Thanks for the input, Dacian. Could you point me in a direction of a guide on how to flash the WiFi firmware over USB? I assume I need a Windows PC and a USB-A USB-micro cable, but where do I find the firmware and how do I do it? Hope you can help? Thanks!

Dacian Todea (electrodacus)

unread,
Nov 11, 2023, 12:26:54 PM11/11/23
to electrodacus
There is a 6 way dip switch under the ribbon cable connecting the WiFi module to the SBMS0 main board.  The legend for that DIP switch is on the WiFi PCB so you need to set it in programing mode.
After you did that you power the SBMS0 and connect the USB to your computer.
Then the software and instructions are here https://github.com/armageddon421/electrodacus-esp32
After you run the platformio run --target upload  you just need to power cycle the SBMS0 then you can run the platformio run --target uploadfs
Then just need to set the DIP switch back to the normal mode as it is now and power cycle the SBMS0.

Søren Larsen

unread,
Nov 11, 2023, 4:50:02 PM11/11/23
to electrodacus

Thank you, but that guide seems quite complicated! It says I need a USB to Serial/UART converter with an interface level of 3.3V and then connect to the pins RX, TX, and GND. Can’t I simply connect via the micro USB port?

Dacian Todea (electrodacus)

unread,
Nov 11, 2023, 4:57:28 PM11/11/23
to electrodacus
That is for the old version of SBMS0.  The new version has the serial to USB already build in so from the hardware perspective you just connect the usb cable from WiFi board to computer (USB is on the side of the board if you did not saw it).
Then set the DIP switch to programing so the rest is just software install to program the WiFi module.

Cory W

unread,
Nov 11, 2023, 9:21:34 PM11/11/23
to electrodacus
If you still recall the old ssid and password, you can spoof your old internet with your phone's personal hotspot. I just confirmed it works on a Samsung S23. Turn on your mobile hotspot, and set your old ssid and password. With your phone near the sbms, turn the sbms wifi off and back on. My sbms connected instantly. Below connected devices, you should see your sbms. Click on it, and it will give the IP address. Type this address into your phone's internet browser, and you will be able to access the electrodacus dashboard and update your wifi settings. Please let me know if you need additional clarification. 

Søren Larsen

unread,
Nov 12, 2023, 12:57:03 PM11/12/23
to electrodacus
I tried with the hotspot spoof trick and it worked like a charm. Thanks a lot for your help. Much appreciated!

Mitch Schwenk

unread,
Dec 18, 2023, 6:57:18 PM12/18/23
to electrodacus
Does the SMBS0 need to be powered in order to flash the ROM?  Can the USB power the ESP32/Wifi module somehow?  If not, is there any method that can be used to complete this task without being next to the batteries?

I tried to use the 6 pin header with an external USB-->TTY adapter, but this failed too. After following the traces, both ground and 3.3v are totally isolated (yay).

Can I apply power to the SBMS01 using the pins 1 and 12 where the battery ribbon cable connects to, so that I can power SBMS0 enough to power the ESP32?

-Mitch

Dacian Todea (electrodacus)

unread,
Dec 19, 2023, 12:57:19 AM12/19/23
to electrodacus
Mitch,

The USB can not power the WiFi module as the USB is fully isolated electrically from the rest of the SBMS0.
Same for the 6pin UART connector.
So there is USB post then USB to UART converter IC then that 6pin connector and then a high speed digital isolator.
The other side of the digital isolator is the rest of the SBMS0 including the ESP32. So the SBMS needs to be powered.
You only need wires 1&2 for GND and wires 11&12 for anything +7V to + 32V
Reply all
Reply to author
Forward
0 new messages