ESP32-S3-DEV-KIT-N8R8

From Waveshare Wiki
Jump to: navigation, search
ESP32-S3-DEV-KIT-N8R8
Without header
ESP32-S3-Pico

ESP32-S3, USB Type-C
ESP32-S3-DEV-KIT-N8R8
With pre-soldered header
ESP32-S3-Pico

ESP32-S3, USB Type-C
{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

Overview

Introduction

ESP32-S3-DEV-KIT-NxR8 is a compact-size microcontroller development board with multiple digital interfaces.

In terms of hardware, it adopts ESP32-S3-WROOM-1-NxR8 module, which is equipped with a dual-core Xtensa 32-bit LX7 processor with 240MHz running frequency, built-in 512 KB SRAM (TCM) and 8MB PSRAM. Onboard CH343 and CH334 chips for USB and UART development via USB-C port. Compatible with the pinout of ESP32-S3-DevKitC-1 development board, more convenient to use and expand a variety of peripheral modules.

As for the software, you can choose ESP-IDF, Arduino, MicroPython, or other development environments so that you can easily and quickly get started and apply it to the product.

Features

  • Adopts ESP32-S3-WROOM-1-NxR8 module with Xtensa 32-bit LX7 dual-core processor, capable of running at 240 MHz
  • Integrated 512KB SRAM, 384KB ROM, 8MB PSRAM, 8MB/16MB Flash memory
  • Integrated 2.4GHz WiFi and Bluetooth LE dual-mode wireless communication, with superior RF performance
  • Type-C connector, easier to use
  • Onboard CH343 and CH334 chips can meet the needs of USB and UART development via a Type-C interface
  • Rich peripheral interfaces, compatible with the pinout of ESP32-S3-DevKitC-1 development board, offers strong compatibility and expandability
  • Castellated module allows soldering directly to carrier boards
  • Support a variety of low-power operating states, adjustable balance between communication distance, data rate and power consumption to meet the power requirements of various application scenarios

Functional Block Diagram

ESP32-S3-DEV-KIT-N8R8-details-11.jpg

Interfaces

ESP32-S3-DEV-KIT-N8R8-details-intro.jpg

Pinout Definition

ESP32-S3-DEV-KIT-N8R8-details-13.jpg

Dimensions

ESP32-S3-DEV-KIT-N8R8-details-size.jpg

Development Environment Configuration

  • The following development system is Windows by default

ESP-IDF

  • It is recommended to use the VSC plugin for development

Develop with VSCode Plug-in

Install VSCode

  1. Open the download page of the official VSCode website, and select the corresponding system and system bit to download
    Esp32-vscod-01.jpg
  2. After running the installation package, the rest can be installed by default, but here for the subsequent experience, it is recommended to check boxes 1, 2, and 3
    Esp32-vscod-02.jpg
    • After the first two items are enabled, you can open VSCode directly by right-clicking files or directories, which can improve the subsequent user experience
    • After the third item is enabled, you can select VSCode directly when you choose how to open it

Install Espressif IDF Plugin

  • Note: Currently the latest version of the plugin is V1.6.0, users can choose the same version as us for a consistent experience
  1. Open VSCode, use Shift+Ctrl+X enter the plug-in manager
    Esp32-vscod-03.jpg
  2. In the search bar, enter Espressif IDF to select the corresponding plug-in and click Install
    Esp32-vscod-04.jpg
  3. Use the shortcut key F1 and enter
    esp-idf: configure esp-idf extension

    Esp32-vscod-05.jpg
  4. Select express (This tutorial is intended for first-time installation users, so only the first general installation tutorial is covered)Esp32-vscod-06.jpg
  5. After opening, it displays this interface
    800px-Esp32-vscod-07.jpg
  6. Choose the download server, we recommend users to use Espressif as your download server
    Esp32-vscod-08.jpg
  7. Select the ESP-IDF version you want to download, we choose the latest V5.0.1 (note that ESP-IDF only supports ESP32-S3 after V4.4)
    Esp32-vscod-09.jpg
  8. The following two are the installation paths respectively for the ESP-IDF container directory and the ESP-IDF Tools directory
    Esp32-vscod-10.jpg
    • Note: If you have installed ESP-IDF before, or failed to do so, please be sure to delete the file completely or create a new path without Chinese
  9. After configuring, click Install to download
    Esp32-vscod-11.jpg
  10. Enter the download interface, and then it will automatically install the corresponding tools and environment, just wait for a second
    Esp32-vscod-11.jpg
  11. After the installation is complete, you will enter the following interface, indicating that the installation is finished
    Esp32-vscod-13.jpg

Run Official Demos

Create Demo
  1. Using the shortcut F1, enter
    esp-idf:show examples projects

    Esp32-vscod-14.jpg
  2. Select your current IDF version
    Esp32-vscod-15.jpg
  3. Take the Hello world demo as an example:
    Esp32-vscod-16.jpg
  4. ①Select the corresponding demo
  5. ②Its readme will state what chip the demo applies to (how to use the demo and the file structure are described below, omitted here)
  6. ③Click to create the demo
  7. Select the path to save the demo, and require that the demos cannot use folders with the same name
    Esp32-vscod-17.jpg
Modify COM Port
  1. The corresponding COM ports are shown here, click to modify them
    Esp32-vscod-18.jpg
  2. The COM of our CH343 is COM5, so we choose COM5. Please choose the COM port corresponding to your CH343
    Esp32-vscod-19.jpg
  3. Select the project or demo to use
    Esp32-vscod-20.jpg
  4. Then we finish the modification of the COM ports
Modify Driver Object
  1. The driver object used is displayed here, and you can click it to modify the corresponding driver object
    Esp32-vscod-21.jpg
  2. Select the project or demo to use
    Esp32-vscod-20.jpg
  3. Click and wait for a moment
    Esp32-vscod-22.jpg
  4. Select the object we need to drive, which is our main chip ESP32S3
    Esp32-vscod-23.jpg
  5. Choose the path to openocd, it doesn't affect us here, so let's just choose one
    Esp32-vscod-24.jpg
Other Status Bars

Esp32-vscod-25.jpg

  • ①SDK configuration editor, supports modifying many features and configurations of ESP-IDF
  • ②All cleanup, and clear all compiled files
  • ③Compile
  • ④Current download mode, the default is UART
  • ⑤Burn the current firmware, please do it after compiling
  • ⑥Open the serial port monitor, used to view the serial port information
  • ⑦Compile, flash,open the serial monitor, all-in-one button (most commonly used for debugging)
Compile, Flash and Serial Port Monitor
  1. Click on the all-in-one button we described before to compile, flash and open the serial port monitor
    Esp32-vscod-29.jpg
  2. It may take a long time to compile especially for the first time
    Esp32-vscod-26.jpg
    • During this process, the ESP-IDF may take up a lot of CPU resources, so it may cause the system to lag
  3. Because we are using CH343 as a USB to serial port chip, and there is an automatic download circuit on board, it can be automatically downloaded without manual operation
    Esp32-vscod-27.jpg
  4. After successful download, it will automatically enter the serial monitor, you can see the chip output the corresponding information and be prompted to restart after 10S
    Esp32-vscod-28.jpg

Arduino

Install Arduino IDE

  1. Open the software download page of the official website, and select the corresponding system and system bit to download
    ESP32-S3-Pico-Ar-01.jpg
  2. You can choose to download directly or donate and download
    ESP32-S3-Pico-Ar-02.jpg
  3. Run the installer and install all by default

Install Arduino-esp32 Online

  1. Open Preferences
    ESP32-S3-Pico-Ar-03.jpg
  2. Add the corresponding board management link, click the button
    ESP32-S3-Pico-Ar-04.jpg
  3. Add the following text in the first blank
    https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

    ESP32-S3-Pico-Ar-05.jpg
  4. Save settings
  5. Open the board manager and input ESP32 to search
    ESP32-S3-Pico-Ar-06.jpg
  6. Wait for the download
    ESP32-S3-Pico-Ar-07.jpg
  7. The arduino-esp32 download is complete
    ESP32-S3-Pico-Ar-08.jpg

Install Arduino-esp32 Offline

  1. Arduino-ESP32 offline component package
  2. Unzip the compressed file
    ESP32-S3-Pico-Ar-18.jpg
  3. Place the unzipped files in the Arduino conponents package directory of the corresponding user
    C:\Users\{uername}\AppData\Local\Arduino15\packages\
    Take the username waveshare as an example
    C:\Users\waveshare\AppData\Local\Arduino15\packages\
  4. Close all arduino windows to make sure Arduino is turned off
  5. Open Arduino, then open the board manager, you can see that esp32-arduino has been installed
    ESP32-S3-Pico-Ar-19.jpg

Run Arduino Demos

  1. Select the demo, here we choose the demo to get the chip ID
    ESP32-S3-Pico-Ar-09.jpg
  2. Choose our board as ESP32S3 Dev Module
    ESP32-S3-Pico-Ar-12.jpg
  3. Choose our port number, here we choose COM5 for CH343
    ESP32-S3-Pico-Ar-13.jpg
  4. Click the download button, and it will automatically compile and download
    ESP32-S3-Pico-Ar-14.jpg
  5. The download is complete
    ESP32-S3-Pico-Ar-15.jpg
  6. Open the serial port monitor
    ESP32-S3-Pico-Ar-16.jpg
  7. See the chip ID of the loop output
    ESP32-S3-Pico-Ar-17.jpg

MicroPython

Flash Firmware

  1. Download MicroPython firmware: Flashing tool and firmware or MicroPython official firmware
  2. Unzip and open the just downloaded package
    ESP32-S3-Pico-MPY-01.jpg
  3. Go to the flash_download_tool_3.9.4 folder and open the flash_download_tool_3.9.4.exe
    ESP32-S3-Pico-MPY-02.jpg
  4. Select the corresponding chip, here select ESP32-S3
    ESP32-S3-Pico-MPY-03.jpg
  5. Select the corresponding COM port, we have already configured other information for you. Click Start to begin the download
    ESP32-S3-Pico-MPY-04.jpg
    • ① Select COM port
    • ② Click Download button

Install Thonny

  1. Open Thonny official website
    ESP32-S3-Pico-MPY-05.jpg
  2. Select the appropriate system and version, here choose Windows, the mouse needs to be moved to the Windows section to display the corresponding information
    ESP32-S3-Pico-MPY-06.jpg
  3. Choose the default installation option
    ESP32-S3-Pico-MPY-07.jpg
  4. The installation is complete
    ESP32-S3-Pico-MPY-08.jpg

Get Demo

  1. Click here to download the demo
  2. Unzip the compressed package
    ESP32-S3-Pico-MPY-09.jpg

Run Demo

  1. Open thonny and select Configure interpreter
    ESP32-S3-Pico-MPY-10.jpg
  2. Select MicroPython (ESP32) as the interpreter
    ESP32-S3-Pico-MPY-11.jpg
  3. Click OK to save
    ESP32-S3-Pico-MPY-12.jpg
  4. Click the Stop button or the shortcut Ctrl+F2
    ESP32-S3-Pico-MPY-13.jpg
  5. At this time, you can see the MicroPython version information and board name in the command line
    ESP32-S3-DEV-MicroPython.png
  6. Open the file serial port
    ESP32-S3-Pico-MPY-14.jpg
  7. Select our demo file and open a demo, here we choose the wifi-scan demo
    ESP32-S3-Pico-MPY-15.jpg
    • ①Current local file directory
    • ②The demo wifi-scan.by we need to open
    • ③ESP32-S3-PICO directory
  8. Click the Run button or the shortcut F5
    ESP32-S3-Pico-MPY-16.jpg
  9. Wait a moment, you can see the wifi information output by ESP32-S3 Pico
    ESP32-S3-Pico-MPY-18.jpg

Flash Firmware Flashing and Erasing

FAQ

 Answer:

Check if the power voltage of the USB port is less than 5V. Generally, the power voltage of the USB port is above 4.9V, and both USB ports of the module can be used normally. If it is below 4.9V, there may be a power supply shortage and USB disconnection issue. In this case, a USB port with sufficient voltage should be used.


 Answer:

Long press the BOOT button, press RESET at the same time, then release RESET, then release the BOOT button, at this time the module can enter the download mode, which can solve most of the problems that can not be downloaded.


Support




Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)