Programming Beetle ESP32 - C3 in ESP-IDF

MTECH873
Posts: 2
Joined: Sun Jul 16, 2023 6:47 pm

Programming Beetle ESP32 - C3 in ESP-IDF

Postby MTECH873 » Sun Jul 16, 2023 7:01 pm

Hi all,

I have been Using Arduino IDE for sometime to program the ESP32 devkits, neverthless i came across this beetle ESP32-C3 mini dev kit by DFRobot. I am using ESP-IDF program this particular one. After Programming, when i am trying to use the serial monitor i am not able to use it, as it says USB CDC enable, i am not sure this function, what it does mean.
But in Arduino IDE, there is a option do this , in the UI
Image

With this enabled i am able to use the serial monitor, and also this feature works in arduino ide, but in esp-idf, how to use this feature, if anybody have any in sight on this please let me know.
Basicaly how to use the serial monitor to sent data via USB to read or write function for this module in ESP-IDF.

Any help may be of greatful. Thanks and regards
Attachments
ESP32.png
ESP32.png (32.06 KiB) Viewed 872 times

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: Programming Beetle ESP32 - C3 in ESP-IDF

Postby ESP_Sprite » Mon Jul 17, 2023 2:14 am

By default (given your esp-idf version is not super old) you should get output on the USB-serial-JTAG port. What terminal program do you use? If you use 'idf.py monitor', do you get the same effect?

MTECH873
Posts: 2
Joined: Sun Jul 16, 2023 6:47 pm

Re: Programming Beetle ESP32 - C3 in ESP-IDF

Postby MTECH873 » Mon Jul 17, 2023 6:17 am

Hi @ESP_Sprite,

I am using ESP-IDF v5.O , and What all I get to see in the menu config for USB CDC is this(images attached below), And finally when I open the Idf.py Monitor, I am not able to send any input comments "eg: SCAN" via serial communication. What I am surprised is , in Arduino IDE, if USB CDC on Boot is Enabled, then the serial outputs are Visible, and if it is disabled, not able to see any in the screen same as idf monitor. So there should be a way around for the same like Arduino IDE in the ESP-IDF , and I trying to understand that. PFA for the images of Same.

Who is online

Users browsing this forum: Bing [Bot] and 126 guests