Page 2
About This Guide This document is intended to help users set up the basic software development environment for developing applications using hardware based on the ESP32-JCI-R module. Release Notes Date Version Release notes 2020.7 V0.1 Preliminary release. Documentation Change Notification Espressif provides email notifications to keep customers updated on changes to...
Table of Contents 1.Introduction to ESP32-JCI-R 1.1. ESP32-JCI-R 1 1.2. ESP-IDF 1 1.3. Preparation 2. Get Started with ESP32-JCI-R 2.1. Toolchain Setup 2.2. Get ESP-IDF 2.3. Set up Path to ESP-IDF 3. Start a Project 4. Connect 5. Configure 6 6.
Introduction to ESP32-JCI-R 8.1. ESP32-JCI-R ESP32-JCI-R is a powerful, generic Wi-Fi+BT+BLE MCU module that targets a wide variety of applications, ranging from low-power sensor networks to the most demanding tasks, such as voice encoding, music streaming and MP3 decoding. At the core of this module is the ESP32-D0WD-V3 chip. The chip embedded is designed to be scalable and adaptive.
Once you are done with setting up the toolchain then go to section Get ESP-IDF. 9.2. Get ESP-IDF Besides the toolchain (that contains programs to compile and build the application), you also need ESP32 specific API / libraries. They are provided by Espressif in ESP- repository.
Start a Project Now you are ready to prepare your application for ESP32. To start off quickly, we will project from examples directory in IDF. hello_world Copy get-started/hello_world to ~/esp directory: cd ~/esp cp -r $IDF_PATH/examples/get-started/hello_world . You can also find a range of example projects under the examples directory in ESP- IDF.
Connect You are almost there. To be able to proceed further, connect ESP32 board to PC, check under what serial port the board is visible and verify if serial communication works. If you are not sure how to do it, check instructions in Establish Serial Connection with ESP32.
Configure Being in terminal window, go to directory of hello_world application by typing cd ~/ esp/hello_world. Then start project configuration utility menuconfig: cd ~/esp/hello_world make menuconfig If previous steps have been done correctly, the following menu will be displayed: In the menu, navigate to Serial flasher config > Default serial port to configure the serial port, where project will be loaded to.
Build and Flash Now you can build and flash the application. Run: make flash This will compile the application and all the ESP-IDF components, generate bootloader, partition table, and application binaries, and flash these binaries to your ESP32 board. esptool.py v2.0-beta2 Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)... esptool.py v2.0-beta2 Connecting..___ Uploading stub...
Monitor To see if “hello_world” application is indeed running, type make monitor. This command is launching IDF Monitor application: $ make monitor MONITOR --- idf_monitor on /dev/ttyUSB0 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) ets Jun 8 2016 00:22:57 Several lines below, after start up and diagnostic log, you should see “Hello world!” printed out by the application..
Need help?
Do you have a question about the ESP32-JCI-R and is the answer not in the manual?
Questions and answers