How to get data from Terminal?

rebel88
Posts: 13
Joined: Mon Mar 23, 2020 8:37 am

How to get data from Terminal?

Postby rebel88 » Fri Mar 27, 2020 5:05 pm

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?

wperw1
Posts: 6
Joined: Sun Sep 30, 2018 6:50 pm

Re: How to get data from Terminal?

Postby wperw1 » Tue Mar 31, 2020 6:41 pm

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

rebel88
Posts: 13
Joined: Mon Mar 23, 2020 8:37 am

Re: How to get data from Terminal?

Postby rebel88 » Sun Apr 05, 2020 3:18 pm

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.

Who is online

Users browsing this forum: andy_wharton_uk, Google [Bot] and 75 guests