USB serial between two ESPs

BigWings
Posts: 1
Joined: Tue Oct 15, 2024 5:31 am

USB serial between two ESPs

Postby BigWings » Tue Oct 15, 2024 5:53 am

I have been having some trouble getting serial communication to work between two ESPs. They each seem to communicate fine over USB with my PC.

* I have a power supply, running a XIAO Seed studio ESP32C3 dev board, directly connected to a Waveshare ESP32S3 touch panel with a usb cable.
* The touch panel is sending a status request every second. I can verify that it does this when I am connected to my PC through the arduino IDE serial monitor.
* The power supply responds to status requests when I make them through arduino IDE on my pc.
* However, when I connect the panel directly to the power supply it does not respond.

Both ESPs are running at the same 115200 baud rate and the touch panel is powered through the usb cable by the chip in the power supply.

Is there something special I need to be aware of in order to get this to work? How would I go about troubleshooting this?

chegewara
Posts: 2375
Joined: Wed Jun 14, 2017 9:00 pm

Re: USB serial between two ESPs

Postby chegewara » Fri Oct 18, 2024 12:08 pm

Hi,
I am a bit confused because you mentioned about baudrate and USB connection doesn't not use it, it is used only for UART port.
If you want to use USB for device to device communication then you need usb host app on S3.

Who is online

Users browsing this forum: nullbert and 84 guests