Page 1 of 1

uAEFI - Serial over WIFI for TS coms

Posted: Wed Nov 26, 2025 4:52 am
by MWP
Hi all,

I'm trying to use a ESP32 (wifi to serial bridge) on the 2nd calibration channel on a uaEFI.
It all looks good, but when i hit the TS coms "test port" button, the uaEFI shuts down (im not sure what its doing exactly, but it cuts V33_SWITCHABLE/V33_EXT).

I've confirmed the ESP32 wifi-serial bridge works fine (first connected to a TTL USB-serial interface, and send/rec data from a PC).

The ESP32 and "Calibration Secondary Channel" are both set to 115200 baud. TX is PD5, RX is PD6.

I've looked at the TX/RX coms with a DSO, when I do "test port", there is data, but i dont know if it's the correct data or not (does anyone know what data is sent by TS to check coms?).

Is there anything im obviously missing here?

Thanks.

Re: uAEFI - Serial over WIFI for TS coms

Posted: Wed Nov 26, 2025 9:34 am
by Dron_Gus
If you power ESP32 from uaEFI may be you should apply this fix https://github.com/rusefi/uaefi/?tab=readme-ov-file#bluetooth-power-issue-fix

Re: uAEFI - Serial over WIFI for TS coms

Posted: Wed Nov 26, 2025 12:35 pm
by MWP
Thanks, i'll do that tomorrow.

I don't think it'll fix this problem though. It only happens when data is sent from TS.

Re: uAEFI - Serial over WIFI for TS coms

Posted: Wed Nov 26, 2025 9:13 pm
by Dron_Gus
Are you using latest RE firmware?
There was uart fix maybe month ago.
Usefi was rebooting by WD because of stuck in uart irq.
Now this should be fixed in master.

Re: uAEFI - Serial over WIFI for TS coms

Posted: Thu Nov 27, 2025 10:17 am
by MWP
I think that was it.
I updated to yesterdays nightly, and now TS coms via wifi are working.
(i havent added a cap)

Thankyou :D

Re: uAEFI - Serial over WIFI for TS coms

Posted: Fri Nov 28, 2025 1:52 pm
by Automate
MWP wrote:
Thu Nov 27, 2025 10:17 am
I think that was it.
I updated to yesterdays nightly, and now TS coms via wifi are working.
(i havent added a cap)

Thankyou :D
Great, can you post some more details? What ESP32 module are you using? What firmware are you using?

Re: uAEFI - Serial over WIFI for TS coms

Posted: Sun Nov 30, 2025 5:15 am
by MWP
Automate wrote:
Fri Nov 28, 2025 1:52 pm
Great, can you post some more details? What ESP32 module are you using? What firmware are you using?
It's an old ESP-WROOM-32 module.
Any ESP32 module will work i think.

Im using this firmware: https://github.com/AlphaLima/ESP32-Serial-Bridge
... with a couple of little tweaks to only enable one COM, and change the baud rate.

Re: uAEFI - Serial over WIFI for TS coms

Posted: Mon Dec 01, 2025 7:14 pm
by Automate
MWP wrote:
Sun Nov 30, 2025 5:15 am
It's an old ESP-WROOM-32 module.
Any ESP32 module will work i think.

Im using this firmware: https://github.com/AlphaLima/ESP32-Serial-Bridge
... with a couple of little tweaks to only enable one COM, and change the baud rate.
Thanks, how fast is the update rate in TunerStudio?

Re: uAEFI - Serial over WIFI for TS coms

Posted: Mon Dec 01, 2025 8:37 pm
by AndreyB
Automate wrote:
Mon Dec 01, 2025 7:14 pm
how fast is the update rate in TunerStudio?
there is also https://github.com/Light-r4y/UART-TCP-proxy/ which does same

proper communication speed would happen once someone removes UART from the equation - see https://github.com/Light-r4y/UART-TCP-proxy/issues/2 - it should be esp32 talking to rusEFI via proper USB-CDC without any UART anywhere