ESP32-JCI-R User Manual Prerelease version 0.
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 technical documentation. Please subscribe at www.espressif.com/en/subscribe.
Table of Contents 1.Introduction to ESP32-JCI-R 1.1. ESP32-JCI-R 1 1.2. ESP-IDF 1 1.3. Preparation 1 2. Get Started with ESP32-JCI-R 2.1. Toolchain Setup 2 2.2. Get ESP-IDF 2 2.3. Set up Path to ESP-IDF 3. Start a Project 4 4. Connect 5 5. Configure 6 6. Build and Flash 7 7.
8. 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.
9. Get Started with ESP32-JCIR 9.1. Toolchain Setup The quickest way to start development with ESP32 is by installing a prebuilt toolchain. Pick up your OS below and follow provided instructions. • Windows • Linux • Mac OS 📖 Note: We are using ~/esp directory to install the prebuilt toolchain, ESP-IDF and sample applications. You can use different directory, but need to adjust respective commands.
10. Start a Project Now you are ready to prepare your application for ESP32. To start off quickly, we will use hello_world project from examples directory in IDF. 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 ESPIDF. These example project directories can be copied in the same way as presented above, to begin your own projects.
11. 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. Note the port number, as it will be required in the next step.
12. 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.
13. 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... Running stub... Stub running... Changing baud rate to 921600 Changed. Attaching SPI flash...
14. 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. ...
Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed.