I am using UART communication between Micro and ESP32. And I want them be connected via their cable port. Which type of cable shall I use? Or is it possible or do ı have to use an USB-UART converter? I would appreciate help.
RX-TX TX-RX GND-GND Ok?
Thank you. But, not like this. I want like a complete cable like USB b micro cable. Not with using pins
Whar's the length of the cable? What's the inteded baudrate?
The length does not matter. For baude 115200
The UART on the Micro is pins 0 and 1; there is no way around that.
You mean the USB ports? Although I'm not up-to-date with the latest USB developments, USB requires a host and a device. Which of the two boards can act as a host? Check the schematics and the datasheets.
Baud rate does not matter on native USB. Baud rate in terminal program and e.g. Micro don't have to match.
Do you want to connect them over the USB connector?
If so, you can't connect them since you have a FTDI-chip on both sides, and they are both slaves. You need a USB-host to connect them in this way. Only new ESP32s have the OTG-USB connector.
Thank you all. I understood but like can ı not use something like this just asking. Cable USB B / USB Micro B 60cm AK-USB-17
Do not connect output pins from a 5V Arduino to input pins on the 3.3V ESP32 without using a logic level converter. Otherwise, you might destroy both devices doing so.
Not to connect UART pins. Use wires (with level converters) instead, as shown here for two Unos, where level converters are not required:
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.