AEK-Rev-1-Hardware-Support-19a+

版本1.3.12(3.62 MB) 数学工作Maker Team
MATLAB和SIMU万博1manbet万博1manbetxxLINK支持Arduino Engineering套件中使用的硬件组件Rev 1

4.8K下载

Updated2020年10月15日

查看许可证

注意:此版本的文件Exchange适用于从R2019A开始的MATLAB发布。

• For MATLAB 2018b, use the file here -//www.tianjin-qmedu.com/matlabcentral/fileexchange/68620-arduino_engineering_kit_hardware_support_18b

•对于Matlab 2018a,请在此处使用该文件 -//www.tianjin-qmedu.com/matlabcentral/fileexchange/66568-arduino_engineering_kit_hardware_support

该软件包包括MATLAB和文件,使您可以控制和与Arduino Engineering套件中使用的传感器和执行器进行通信。传感器和执行器通过MKR电动机载体连接。受支持的万博1manbetx外围设备包括:

• DC motor – control up to 4 DC motors simultaneously
• Servo motor – control up to 8 servo motors simultaneously
•编码器 - 同时阅读多达2个编码器
• LiPo Battery – read the battery voltage

此处包括Arduino工程套件的项目文件 -
•对于AEK REV 1://www.tianjin-qmedu.com/matlabcentral/fileexchange/66569-arduino_engineering_kit_project_files
•对于AEK Rev 2://www.tianjin-qmedu.com/matlabcentral/fileexchange/80419-arduino_engineering_kit_project_files_rev_2

Learn more about the Arduino Engineering Kit atwww.tianjin-qmedu.com/arduino-kit

重要笔记:

1.文件交换提交可以作为工具箱或zip文件下载。

一个。如果您选择下载工具箱,请在MATLAB中完成其安装。

b。如果您选择下载AEK-REV-1------软件-Support-19a+.zip文件,请将此软件万博1manbetx包的内容提取到本地文件夹,然后将其添加到MATLAB路径中。要将文件夹添加到MATLAB中的路径中,请右键单击文件夹,然后选择“添加到路径”>“选定的文件夹和子文件夹”选项。

为了使硬件支持软件包工作起作用,需万博1manbetx要与文件交换文件一起使用Arduino的附加第三方库“ MKRMotorCarrier”(1.0.1版)。

If you are using MATLAB R2020a and above, the “MKRMotorCarrier” library is included in the MATLAB Support Package for Arduino Hardware. See step 6 for further instructions. If you are using MATLAB R2019a or R2019b, continue with steps 2 and 3.

2. Download the Arduino 3rd-party library zip file, for MKRMotorCarrier, from this link:https://github.com/arduino-libraries/MKRMotorCarrier/archive/1.0.1.zip

3. Extract this zip file into a local directory and rename the folder to "MKRMotorCarrier".

If you are using MATLAB R2019b, skip to step 5. If you are using MATLAB R2019a, then follow step 4.

4.将“ mkrmotorcarrier”文件夹移动到Arduino Sketchbook文件夹中的“库”文件夹中。

一个。在Windows上,默认路径是“ Documents \ Arduino \ liberaries \”
b。On Mac, the default path is "~/Documents/Arduino/libraries/"
C。在Linux上,默认路径为“/home//arduino/libraries”

一旦移动库,文件夹结构应类似于:

d。在Windows“ \ Documents \ arduino \ liberaries \ Mkrmotorcarrier \ src”上
e。在Mac上,“〜/documents/arduino/libraries/mkrmotorcarrier/src”
F。在Linux上,“/home/<用户名>/arduino/libraries/mkrmotorcarrier/src”

If you are using MATLAB R2019a, skip to step 6.

5.将“ mkrmotorcarrier”文件夹移动到您的arduino Sketchbook文件夹中的“库”文件夹中:

一个。在Windows上,默认路径为“ \ portable \ shetchbook \ liberaries \”
b。On Mac, the default path is "~/Documents/Arduino/libraries/"
C。On Linux, the default path is "/portable/sketchbook/libraries/"

NOTE: "arduinoio.IDERoot" is a MATLAB command. Executing this command in the MATLAB Command Window returns the location of the Arduino IDE directory on your system.

一旦移动库,文件夹结构应类似于:

d。在Windows上,“ \ portable \ sketchbook \ libraries \ mkrmotorcarrier \ src”
e。在Mac上,“〜/documents/arduino/libraries/mkrmotorcarrier/src”
F。On Linux, "/portable/sketchbook/libraries/MKRMotorCarrier/src"

对于MATLAB的所有版本。

6. Type "listArduinoLibraries" in the MATLAB Command Window. The resulting cell array should display {'Arduino/MKRMotorCarrier'} among others. If the MKRMotorCarrier library does not appear in the cell array, ensure the steps 4 and 5 are executed correctly.

NOTE: You can find these instructions in the "ArduinoKitHardwareSupportReadMe.txt" file. After installing the toolbox or extracting the contents of the AEK-Rev-1-Hardware-Support-19a+.zip file, type the following command in MATLAB to open the readme file:

>>编辑arduinokithardwaresupp万博1manbetxortreadme.txt

引用为

Mathworks Maker团队(2022)。AEK-Rev-1-Hardware-Support-19a+(//www.tianjin-qmedu.com/matlabcentral/fileexchange/70554-aek-rev-1-hardware-万博1manbetxsupport-19a),matlab中央文件交换。检索

MATLAB Release Compatibility
使用R2020a创建
与R2019A兼容,后来发布
平台兼容性
Windows macOS Linux
社区

社区Treasure Hunt

在Matlab Central中找到宝藏,发现社区如何为您提供帮助!

Start Hunting!

matlab/matlabaddon/+arduinoioaddons/+arduino