Page 1 of 1

How to get data from Terminal?

Posted: Fri Mar 27, 2020 5:05 pm
by rebel88
Hi All,
I'm new to ESP32 programming.
I'm learn every day new things about this module, today i'm trying to send data over usb to my esp32.
I'm using a DevKit V1 and VSC with ESP-IDF.
I know that using printf(...) i can send data from ESP32 to my terminal, but what about the opposite direction?
I have found
If i want to send a character or some stuff from My PC to ESP how can I perform this operation?

Re: How to get data from Terminal?

Posted: Tue Mar 31, 2020 6:41 pm
by wperw1
Hi, what type of board are you using?
I assume that you are using a board with a USB <-> Serial converter, it's right?
If yes then you need a terminal emulator software like putty https://www.chiark.greenend.org.uk/~sgt ... atest.html to enstabilish the connection on the PC side.
On the esp side try to watch this discussion https://esp32.com/viewtopic.php?t=284

Re: How to get data from Terminal?

Posted: Sun Apr 05, 2020 3:18 pm
by rebel88
Thakyou for your references.
I have solved my question using the UART example.
I'm using UART 0 attached on Tx0 Rx0 on my ESP DEVKITV1 and sending data from VSC terminal.