ESP32 Direct coax wi-fi connection

Jeff Addy
Posts: 3
Joined: Tue Oct 24, 2023 8:51 pm

ESP32 Direct coax wi-fi connection

Postby Jeff Addy » Tue Oct 24, 2023 9:09 pm

I want to connect two ESP32 DevKits with an external antenna connector using coax cable. Is it possible to directly connect them without an attenuator? I have them working with two 30 Db attenuators and a T to connect a tinySA and I am getting around -25 dBm at the T. I am using ESP_NOW and Arduino for my program and have not found a way to change the TX power output. I have tried WiFi.setTxPower(WIFI_POWER_2dBm); in the setup but it doesn't change the power output when using ESP_NOW. Any help would be greatly appreciated.

User avatar
thezcx
Posts: 16
Joined: Mon May 01, 2023 12:21 am

Re: ESP32 Direct coax wi-fi connection

Postby thezcx » Fri Nov 17, 2023 2:17 am

Which model do you use?

Jeff Addy
Posts: 3
Joined: Tue Oct 24, 2023 8:51 pm

Re: ESP32 Direct coax wi-fi connection

Postby Jeff Addy » Fri Nov 17, 2023 4:44 pm

HiLetgo ESP32-DevKitC-V4 with ESP32-WROOM-32U Core Board.

User avatar
thezcx
Posts: 16
Joined: Mon May 01, 2023 12:21 am

Re: ESP32 Direct coax wi-fi connection

Postby thezcx » Mon Dec 11, 2023 12:56 am

Remove the connector from PCB and solder mid to mid shield to any side of it. I'm using many in this way

Jeff Addy
Posts: 3
Joined: Tue Oct 24, 2023 8:51 pm

Re: ESP32 Direct coax wi-fi connection

Postby Jeff Addy » Mon Dec 11, 2023 2:39 am

Thank you for your response. Do you connect them directly or use an attenuator?

Craige Hales
Posts: 94
Joined: Tue Sep 07, 2021 12:07 pm

Re: ESP32 Direct coax wi-fi connection

Postby Craige Hales » Mon Dec 11, 2023 3:20 am

@thezcx - Can you post a picture showing what you are doing? Sounds interesting.

I've used this on a wroom32 (pcb antenna) with a streaming wifi web socket:

Code: Select all

static int8_t const sPowers[] = {8, 20, 28, 34, 44, 52, 56, 60, 66, 72, 80};
...
        ESP_ERROR_CHECK_WITHOUT_ABORT(esp_wifi_set_max_tx_power(sPowers[p]));
The value 8 works over very short distances (10 feet maybe) and gives me a lower ADC noise than 52 to 80. I'm pretty sure the wifi tx is getting into the sensor.
Craige

Who is online

Users browsing this forum: MicroController and 104 guests