The ESP32-C6-WROOM-1-N8 is a module based on the ESP32-C6, offering support for WiFi 6 in the 2.4GHz band, Bluetooth 5, Zigbee 3.0, and Thread. It is pin-to-pin compatible with the ESP32-WROOM series modules. With its low power consumption, it is an ideal choice for various IoT devices.
This module includes 8 MB Quad SPI Flash memory.
Features:
- 32-bit RISC-V single-core processor operating a up to 160 MHz
- State-of-the-art power and RF performance
- 320 KB ROM, 512 KB SRAM, 16 KB Low-power SRAM on-chip, and works with external flash
- 30 (QFN40) or 22 (QFN32) programmable GPIOs, supporting SPI, UART, I2C, I2S, RMT, TWAI, and PWM
Develop with VSCode
Open the VSCode website to download according to the appropriate system and system bits.
After running the installation package, you can continue with the default settings. However, for a better experience, it is recommended that you check the boxes for items 1, 2, and 3.
- Enabling items 1 and 2 allows you to open VSCode directly by right-clicking on a file or directory, improving your workflow.
- Enabling item 3 allows you to select VSCode as the default option when choosing how to open files.
Install Espressif IDF Plug
Note: The latest version of the plugin is V1.6.4. For a consistent experience, users can choose the same version as ours.
To open VSCode, press Shift+Ctrl+X to access the plug-in manager.
In the search bar, type Espressif IDF, select the appropriate plug-in, and click Install.
- Press F1 to input:
esp-idf: configure esp-idf extension
- Select express (this guide is for users who install it for the first time).
Select the download server and choose the version of ESP-IDF you want to use. We recommend the latest version, V5.1.1, as ESP32-C6 support starts from V5.1.
Specify the installation paths for the ESP-IDF container directory and the ESP-IDF Tools directory.
Note: If you have previously installed ESP-IDF or encountered installation issues, ensure you delete the existing files completely.
After configuring, click “Install” to download. The download interface will appear, and the corresponding tools and environment will be installed automatically. Just wait for a moment.
Once the installation is complete, you will see the following interface, indicating that the process is finished.
Demo Example
- Press F1 to enter:
esp-idf:show examples projects
- Select the corresponding IDF version:
Using the Hello World demo as an example:
- Select the corresponding demo.
- The readme will indicate which chip the demo applies to (usage and file structure details are described below and omitted here).
- Click to create the demo.
Choose the path to save the demo, ensuring it does not contain a folder with the same name as the demo.
Modify COM Port
The corresponding COM ports are displayed here; click to modify them.
Select the COM ports according to your device. It is recommended to use the COM port corresponding to the USB connector (viewable in the device manager).
If a download fails, press the reset button for more than 1 second and wait for the PC to recognize the device again before attempting to download again.
Select the project or demo to use, then we finish the modification of the COM ports
Modify the Driver Object
The driver object is displayed here, and you can modify it by clicking on it.
- Select the project or demo to use and wait for a minute after clicking.
- Select the object we need to drive, which is our main chip ESP32C6.
- Choose the path to openocd. This selection doesn’t affect us here, so you can choose one at random.
The Rest of the Status Bar
- SDK Configuration Editor: Supports modifying most functions of ESP-IDF.
- All Cleanup: Clears all compiled files.
- Compile: Compiles the project.
- Current Download Mode: Default is UART.
- Burn Firmware: Burn the current firmware after compiling.
- Open Serial Port Monitor: Used to view serial port information.
- All-in-One Button: Compiles, burns, and opens the serial monitor (most commonly used for debugging).
Click the all-in-one button we described earlier to compile, burn, and open the serial port monitor. The compilation process may take a while, especially the first time. During this process, ESP-IDF may consume significant CPU resources, potentially causing system lag.
For a new project, you will need to select the download method and choose UART. This can be changed later in the Download Methods section (click to bring up the options). With the onboard automatic download circuit, manual operation is not required for automatic downloading.
After a successful download, the serial monitor will open automatically. You will see the chip output the corresponding information and be prompted to restart after 10 seconds.