uAEFI - Serial over WIFI for TS coms

Post Reply
MWP
Posts: 8
Joined: Tue Nov 16, 2021 4:20 am

uAEFI - Serial over WIFI for TS coms

Post 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.
User avatar
Dron_Gus
contributor
contributor
Posts: 494
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: uAEFI - Serial over WIFI for TS coms

Post 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
MWP
Posts: 8
Joined: Tue Nov 16, 2021 4:20 am

Re: uAEFI - Serial over WIFI for TS coms

Post 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.
User avatar
Dron_Gus
contributor
contributor
Posts: 494
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: uAEFI - Serial over WIFI for TS coms

Post 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.
MWP
Posts: 8
Joined: Tue Nov 16, 2021 4:20 am

Re: uAEFI - Serial over WIFI for TS coms

Post 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
Automate
Posts: 30
Joined: Mon Jun 23, 2025 1:58 pm

Re: uAEFI - Serial over WIFI for TS coms

Post 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?
MWP
Posts: 8
Joined: Tue Nov 16, 2021 4:20 am

Re: uAEFI - Serial over WIFI for TS coms

Post 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.
Automate
Posts: 30
Joined: Mon Jun 23, 2025 1:58 pm

Re: uAEFI - Serial over WIFI for TS coms

Post 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?
User avatar
AndreyB
Site Admin
Posts: 14780
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: uAEFI - Serial over WIFI for TS coms

Post 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
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply