UART communication with a PC

RonanLc
Posts: 1
Joined: Tue Nov 14, 2023 12:55 pm

UART communication with a PC

Postby RonanLc » Tue Nov 14, 2023 1:18 pm

Hi everyone,

I'm using a ESP8684-DevKitM-1 board base on the ESP32-C2 and i've some problem with the ESP-IDF.

I seen that the ESP32-C2 is not on plateformIO or directly on a library for arduino so i'm using ESP-IDF. I don't have any problems to build my project and flash the board but I can't code a correct UART communication.

I'm just trying to send "Hello world!" from the board to the computer but I only receive some very strange character (like some chinese symbol or some smiley).

I used the common example from the ESP-IDF but nothing work, i always have the same problem. Even if I use "printf()" or "uart_write_bytes()" with the right settings.

It's not about a serial settings, like the baud rate or the parity, I'm using the default 115200 baud rate.

I tried a lot of possibily of error but I can't fixe this problem. If anyone know how to receive the correct character.
Attachments
Capture d'écran 2023-11-14 141655.png
Capture d'écran 2023-11-14 141655.png (144.43 KiB) Viewed 527 times
Capture d'écran 2023-11-14 141622.png
Capture d'écran 2023-11-14 141622.png (19.08 KiB) Viewed 527 times

Who is online

Users browsing this forum: No registered users and 102 guests