10.3 Use of the Arduino library

Support robotic arm types: myCobot280-Arduino

Use Cases: Open C:\Users\User\Documents\Arduino\libraries\MyCobotBasic\examples\ControlRobot\ControlRobot.ino, This case requires the board to be burned first and then connected to the robot arm, otherwise the upload will fail.

Using the bottom basic library you can freely develop and control our company's robotic arm under Arduino.

10.3.1 Modifications before compilation

Import the library file, if your robot arm is myCobot280-Arduino, please check if the board is Mega2560 or Uno, if it is:

1.Please put avr-libstdcpp under C:\Users\User\Documents\Arduino\libraries:

pic

pic

2.Please modify the size of the serial buffer in the avr official library, modify C:\Users\User\AppData\Local\arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.h, according to the following diagram:

pic

pic

If you are using myCobot280-Arduino, please check if the board is mega2560, if not, please open ParameterList.h, comment line 5, and uncomment the corresponding board:

pic

If you are using myCobot280-M5, you need to uncomment m5:

pic

10.3.2 Selection of boards before compilation

1.Board for Uno、Mega2560, Tools --> Board --> Arduino AVR Boards --> Arduino Uno( or Arduino MEAG or Mega2560 ), see the following chart for details:

pic

2.Board for mkr wifi1010
Boards manager search samd, if not installed, install, first Tools --> Board --> Boards Manager, then search samd, see the following figure:

pic

pic

Board for mkr wifi1010, Tools --> Board --> Arduino SAMD --> Arduino MKR WiFi1010

pic

results matching ""

    No results matching ""