Arduino Environment Building

1 Arduino IDE download

16-1-1-001
Arduino IDE Download Address

2 Installed drivers

Before burning the program, M5Core host (including M5Stack-basic/GRAY/M5GO/FIRE/FACES) / micro control types of equipment users according to the operating system you are using, please download the corresponding driver package. After decompressing the package, select the installation package of the corresponding OPERATING system bit.

For Mac OS, ensure correct settings of the system Preferred settings --> Security and privacy --> General before installation, and allow the user to get it from App Store or an approved developer.

Download the M5Stack-basic serial port driver CP210X or CP34X

CP2104

After extracting the zip package, select the corresponding installation package to install according to your computer operating system (win10 and win11 select x64 or x86 for installation).

16-1-2-001

CP34X

3 Add board

16-1-3-001

16-1-3-002

  • After adding, select the Tools --> Board --> Boards Manager, in the new pop-up dialog, input and search M5Stack , click Install (in case of search failure, you can try to restart Arduino program), as shown below:

16-1-3-003

  • After adding, select Tools --> Board, check whether it is successful, as shown below:

16-1-3-004

4.1 Install the M5Stack library

  1. Tools --> Development Board --> M5Stack Arduino select M5Stack-Core-ESP32, as shown in the following figure:

    16-1-4.1-001

  2. Project --> Load Library --> Manage Library In the search box, enter M5Stack, as shown in the figure below:

    16-1-4.1-002

  3. After finding it, click Install, scroll down, M5Stack is at the back, you can see the location of the drop-down slider in the picture for details, as shown in the figure below:

    16-1-4.1-003

4.2 Install the MyCobotBasic library
Note: Please download the latest library, the first version is v0.0.1.

  • MycobotBasic(After the Mycobot280-Arduino model is imported, you can refer to 10.3-arduinolib_use for use). Please see the figure below for details, .zip is suitable for Windows systems, and .tar.gz is suitable for Linux systems:
    16-1-4.2-001
  • Library Installation Instructions

    First check the location of the Arduino project folder by clicking File --> Preferences (you can copy the path to your hard drive to find the libraries folder)

16-1-4.2-002

16-1-4.2-003

16-1-4.2-004
1 Copy the path here and press enter to find the libraries folder

Unzip it into the corresponding folder in the libraries directory. If you are using Arduino, don't overwrite it, just add to the existing Library.

16-1-4.2-005

Congratulations, you have built a Arduino related development environment.

Note: Arduino environment configuration and case compilation can be seen in our beep video ( https://www.bilibili.com/video/BV1Vi4y1c7DQ/ ) .


← Previous Page | Next Page →

results matching ""

    No results matching ""