How To Install Arduino IDE
From Waveshare Wiki
Modules Usage Tutorial
- How To Install Arduino IDE
- Tutorial I: Motor With Encoder Control Demo
- Tutorial II: Motor Without Encoder Control Demo
- Tutorial III: ST3215 Serial Bus Servo Control Demo
- Tutorial IV: PWM Servo Control Demo
- Tutorial V: IMU Data Reading Demo
- Tutorial VI: SD Card Reading Demo
- Tutorial VII: INA219 Voltage And Current Monitoring Demo
- Tutorial VIII: OLED Screen Control Demo
- Tutorial IX Lidar and Publishing Lidar Topics in ROS2
- UGV01 WIKI Main Page
- General Driver for Robots WIKI Main Page
Install Arduino IDE
-
Download the Arduino IDE installation package from Arduino website.
-
Click to install after downloading.
-
Note: You will be prompted to install the driver during the installation process, we can click Install.
Install ESP32 Plug-in In Arduino IDE
-
Open Arduino IDE, click the File on the left corner and choose "Preferences".
-
Add the following link in the additional development board manager URL, then click OK.
https://dl.espressif.com/dl/package_esp32_index.json
Note: If you already have the ESP8266 board URL, you can separate the URLs with commas like this:https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
-
Download the package, and copy the unzipped packages files to the following path:
C:\Users\username\AppData\Local\Arduino15
Install Dependency Library
- Click on the third icon on the left for the library manager, type "INA219_WE" in the search field, find the dependency library INA219_WE and click on install.
- Then type "Adafruit_SSD1306" in the search bar to find the dependency library Adafruit_SSD1306 and click Install.
- Download and unzip the dependency library ESP32Servo, open the default installation location of Arduino C:\Users\username\AppData\Local\Arduino15\libraries, username according to their own computer's user name change, and then copy the folder in the picture to the Libraries folder.
Upload Demo
-
Download UGV01_BASE.zip and double-click UGV01_BASE\UGV01_BASE.ino.
-
Click Tool -> Port, remember the existing COM, and do not click this COM. (There are different COM ports in different computers, and you need to remember the existing COM in your computer.)
-
Connect the driver board to the computer with a USB cable, click Tools -> Port, and click the newly-appeared COM.
-
Click Tool -> Development board -> ESP32 Arduino -> ESP32 Dev Module.
-
After setting, you can click Upload to upload the demo to your device.
- If you encounter problems during the period and need to reinstall or change the Arduino IDE version, you need to uninstall the Arduino IDE after uninstalling the software. Then, you need to manually delete all the contents of the folder C:\Users[name]\AppData\Local\Arduino15 (Need to display hidden files to see) and then reinstall.