Arduino Environment Building

1 Arduino IDE download

arduino

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

CP210X

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).

drive

CP34X

3 Add board

pic

pic

  • 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:

pic

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

pic

Note: Different devices add different device-related libraries.

  • Click to download the dependent libraries

    • myCobot 280-M5 / mechArm 270-M5MycobotBasic.zip (After downloading, unzip myCobot-main\myCobot-main\MyCobotBasic under Arduino into the corresponding libraries directory, and you can refer to the installation instructions of the dependencies.)

    • myCobot 280-ArduinoMycobotBasic.zip( After importing, you can refer to 10.3-arduinolib_use for use )

    • myCobot 320-M5MycobotProBasic.zip

    • myPalletizer 260myPalletizer.zip( Temporarily share the same MycobotBasic.zip with myCobot 280-M5 )

    Compile the required libraries for the myCobotbasic projectMycobotBasiclib.zip (All devices need to be installed! Unzip all the contents of the package into the corresponding folder libraries, refer to the installation instructions of the dependency library)

pic

  • 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)

pic

pic

pic

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.

pic

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/ ) .

results matching ""

    No results matching ""