ESP32C3MINI1 User Manual Pre-release v0.1 Espressif Systems Copyright © 2021 www.espressif.
About This Document This user manual shows how to get started with the ESP32-C3-MINI-1 module. Document Updates Please always refer to the latest version on https://www.espressif.com/en/support/download/documents. Revision History For revision history of this document, please refer to the last page. Documentation Change Notification Espressif provides email notifications to keep you updated on changes to technical documentation. Please subscribe at www.espressif.com/en/subscribe.
Contents Contents 1 Overview 4 1.1 Module Overview 4 1.2 Pin Description 5 2 Get Started on ESP32C3MINI1 7 2.1 What You Need 7 2.2 Hardware Connection 7 2.3 Set up Development Environment 8 2.3.1 Install Prerequisites 8 2.3.2 Get ESP-IDF 8 2.3.3 Set up Tools 9 2.3.4 Set up Environment Variables 9 2.4 Create Your First Project 9 2.4.1 Start a Project 9 2.4.2 Connect Your Device 9 2.4.3 Configure 9 2.4.4 Build the Project 10 2.4.
1 Overview 1 Overview 1.1 Module Overview ESP32-C3-MINI-1 is a general-purpose Wi-Fi and Bluetooth LE module. The rich set of peripherals and a small size make this module an ideal choice for smart homes, industrial automation, health care, consumer electronics, etc. Table 1: ESP32C3MINI1 Specifications Categories Wi-Fi Bluetooth® Parameters Specifications Protocols 802.
1 Overview 1.
1 Overview Table 2 – cont’d from previous page Name No.
2 Get Started on ESP32-C3-MINI-1 2 Get Started on ESP32C3MINI1 2.1 What You Need To develop applications for ESP32-C3-MINI-1 module you need: • 1 x ESP32-C3-MINI-1 module • 1 x Espressif RF testing board • 1 x USB-to-Serial board • 1 x Micro-USB cable • 1 x PC running Linux In this user guide, we take Linux operating system as an example. For more information about the configuration on Windows and macOS, please refer to ESP-IDF Programming Guide. 2.2 Hardware Connection 1.
2 Get Started on ESP32-C3-MINI-1 7. After download, remove the jumper on IO0 and GND. 8. Power up the RF testing board again. ESP32-C3-MINI-1 will switch to working mode. The chip will read programs from flash upon initialization. Note: IO0 is internally logic high. If IO0 is set to pull-up, the Boot mode is selected. If this pin is pull-down or left floating, the Download mode is selected. For more information on ESP32-C3-MINI-1, please refer to ESP32-C3-MINI-1 Datasheet. 2.
2 Get Started on ESP32-C3-MINI-1 ESP-IDF will be downloaded into ~/esp/esp-idf. Consult ESP-IDF Versions for information about which ESP-IDF version to use in a given situation. 2.3.3 Set up Tools Aside from the ESP-IDF, you also need to install the tools used by ESP-IDF, such as the compiler, debugger, Python packages, etc. ESP-IDF provides a script named ’install.sh’ to help set up the tools in one go. 1 cd ~/esp/esp-idf 2 ./install.sh 2.3.
2 Get Started on ESP32-C3-MINI-1 1 cd ~/esp/hello_world 2 idf.py set-target esp32c3 3 idf.py menuconfig Setting the target with ‘idf.py set-target esp32c3’ should be done once, after opening a new project. If the project contains some existing builds and configuration, they will be cleared and initialized. The target may be saved in environment variable to skip this step at all. See Selecting the Target for additional information.
2 Get Started on ESP32-C3-MINI-1 12 [527/527] Generating hello-world.bin 13 esptool.py v2.3.1 14 15 Project build complete. To flash, run this command: 16 ../../../components/esptool_py/esptool/esptool.py -p (PORT) -b 921600 write_flash --flash_ mode dio 17 --flash_size detect --flash_freq 40m 0x10000 build/hello-world.bin 18 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin build 0x1000 19 or run ’idf.
2 Get Started on ESP32-C3-MINI-1 20 Compressed 18960 bytes to 11311... 21 Writing at 0x00000000... (100 %) 22 Wrote 18960 bytes (11311 compressed) at 0x00000000 in 0.3 seconds (effective 584.9 23 Hash of data verified. 24 Compressed 145520 bytes to 71984... 25 Writing at 0x00010000... (20 %) 26 Writing at 0x00014000... (40 %) 27 Writing at 0x00018000... (60 %) 28 Writing at 0x0001c000... (80 %) 29 Writing at 0x00020000...
2 Get Started on ESP32-C3-MINI-1 That’s all what you need to get started with ESP32-C3-MINI-1 module! Now you are ready to try some other examples in ESP-IDF, or go right to developing your own applications. Espressif Systems 13 ESP32-C3-MINI-1 User Manual v0.
3 Learning Resources 3 Learning Resources 3.1 MustRead Documents Please familiarize yourself with the following documents: • ESP32-C3 Family Datasheet This is an introduction to the specifications of the ESP32-C3 hardware, including overview, pin definitions, functional description, peripheral interface, electrical characteristics, etc. • ESP-IDF Programming Guide Extensive documentation for the ESP-IDF development framework, ranging from hardware guides to API reference.
Revision History Revision History Date Version Release notes 2021-02-01 V0.1 Preliminary release Espressif Systems 15 ESP32-C3-MINI-1 User Manual v0.
Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. ALL THIRD PARTY’S INFORMATION IN THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES TO ITS AUTHENTICITY AND ACCURACY. NO WARRANTY IS PROVIDED TO THIS DOCUMENT FOR ITS MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, NOR DOES ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE.