ESP32 to ESP32 comunication

VictorJacques
Posts: 1
Joined: Thu Feb 13, 2025 3:07 pm

ESP32 to ESP32 comunication

Postby VictorJacques » Thu Feb 13, 2025 3:26 pm

So the thing is I need to communicate esp1 and esp2, but I only have access to the microUSB port (to have some more context esp2 is communicating with and android via usb and I would like to replace the android to test the esp2 because it takes ages to boot).

Then I tried using the usb OTG, and USB hosting because I have another esp32s3 but did not seem to get it to work right and I was wondering if maybe I could use a USB/TTL converter

The connections would be like this:

esp1 with a code to send a serial caracter:

tx ------ rx (TTL converter)
rx ------ tx (TTL converter)

esp2 with a already functioning code that sends info back depending on the caracter received:

microUSB port ----- male USB (TTL converter)

would this work? I'm currently waiting for the converter to arrive but I'm open to other alternatives. :D

ESP_Sprite
Posts: 9985
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 to ESP32 comunication

Postby ESP_Sprite » Fri Feb 14, 2025 12:10 am

Probably not, but it depends on the 'ESP32' in question. If ESP32-S2 or -S3 and the micro-USB is connected to the native USB port (not an USB-serial chip) then it could work. If it's a different ESP32 or there's an USB-serial chip in between, then it won't work. But here's the clincher: you'd need to get USB host working on both the chips in the same way as you'd need to get USB host to work when you connect an ESP32-S3 directly to the micro-usb port, so there's really no point to it.

Who is online

Users browsing this forum: No registered users and 114 guests