esp:esp32:esp-idf:serialconnection
Differences
This shows you the differences between two versions of the page.
| esp:esp32:esp-idf:serialconnection [2020/04/13 11:24] – created oscar | esp:esp32:esp-idf:serialconnection [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Serial Connection ====== | ||
| - | Connect the ESP32 board to the PC using the USB cable. The WROOM-32U should be recognized as a CP210x: CP210x USB to UART Bridge. | ||
| - | |||
| - | ===== Check port on Linux ===== | ||
| - | To check the device name for the serial port of your ESP32 board (or external converter dongle), run this command two times, first with the board / dongle unplugged, then with plugged in. The port which appears the second time is the one you need: | ||
| - | |||
| - | ls /dev/tty* | ||
| - | | ||
| - | ===== Adding user to dialout ===== | ||
| - | The currently logged user should have read and write access the serial port over USB. On most Linux distributions, | ||
| - | |||
| - | sudo usermod -a -G dialout $USER | ||
| - | | ||
| - | ===== Connect with Miniterm ===== | ||
| - | Connect to the ESP with the miniterm that is part of the ESP-IDF installation: | ||
| - | ~/ | ||
| - | |||
| - | |||
| - | |||
| - | |||
esp/esp32/esp-idf/serialconnection.1586777098.txt.gz · Last modified: (external edit)
