WAVEGO-Development Environment Configuration

From Waveshare Wiki
Jump to: navigation, search

Development Environment Setup

Introduction

  • This chapter mainly introduces the development environment setup for WAVEGO on the Arduino IDE. By studying this chapter, you can begin your development journey for the WAVEGO slave ESP32.

Install Arduino IDE

  1. First, go to Arduino official website to download the installation package of the Arduino IDE.
    Arduino下载2.0版本.jpg
  2. Once the download is complete, click Install.
    IDE安装水印-1.gif
    Notice: During the installation process, it will prompt you to install the driver, just click Install

Arduino IDE Interface

  1. After the first installation, when you open the Arduino IDE, it will be in English. You can switch to other languages in File --> Preferences, or continue using the English interface.
    首选项-简体中文.jpg
  2. In the Language field, select the language you want to switch to, and click OK.
    首选项-简体中文ok.jpg

Installing ESP32 Plugin in Arduino IDE

  1. Open the Arduino IDE, click on the file in the top left corner, and select Preferences
    RoArm-M1 Tutorial04.jpg
  2. Add the following link to the attached board manager URL, and then click OK
    https://dl.espressif.com/dl/package_esp32_index.json

    Esp32连接-2.0.jpg
    Note: If you already have an ESP32 board URL, you can use a comma to separate the URLs as follows:

    https://dl.espressif.com/dl/package_esp32_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json
  3. Download packages package, and copy the extracted packages folder to the following path
    C:\Users\xutong\AppData\Local\Arduino15

    ESP32平台安装包水印.jpg
    Note: Replace the username: xutong with your own username

Install Dependency Libraries

  • Download and extract the Libraries dependency library. Open the default Arduino installation location C:\Users\xutong\AppData\Local\Arduino15\libraries (based on your actual location), and then copy these folders to Libraries
    Lib库位置-2.0.jpg

Upload Demo

  1. Download WAVEGO open-source demo (Arduino), double-click Arduino\WAVEGO\WAVEGO.ino
    WAVEGOINO程序.png
  2. Click Tools --> Port, remember the existing COM, do not click this COM (the COM displayed is different on different computers, remember the COM on your own computer)
    Arduino2.0-端口.jpg
  3. Connect the driver board to the computer using a USB cable. Then, go to Tools > Port, and click the newly appeared COM
    Arduino2.0-端口1.jpg
  4. Click Tools > Development Board > ESP32 Arduino > ESP32 Dev Module
    Arduino2.0-开发板.jpg
    Arduino2.0-ESP32.jpg
  5. Click Tools, and the other settings are as follows (it is best to set Partition Scheme as Huge APP, and PSRAM must be set to Enabled, otherwise the camera will flash black):
    WAVEGOINO开发板设置.png
  6. Once all settings are configured, click "Upload" to upload the demo to the device
    Arduino2.0-上传程序.jpg
  • If issues arise during this period, and if you need to reinstall or update the Arduino IDE version, it is necessary to uninstall the Arduino IDE completely. After uninstalling the software, you need to manually delete all contents within the C:\Users\[name]\AppData\Local\Arduino15 folder (you need to show hidden files to see this folder). Then, proceed with a fresh installation.

All Tutorials

Resources

Robot Diagram

Open Source Resources

Raspberry Pi Learning Resources