Arduino_Engineering​_Kit_Hardware_Suppo​rt_18b

MATLAB and Simulink support for hardware components used in the Arduino Engineering Kit.
3.4K Downloads
Updated 17 Sep 2019

View License

Note: This version is for MATLAB release R2018b only.

For MATLAB R2018a please use this file here:
https://www.mathworks.com/matlabcentral/fileexchange/66568-arduino_engineering_kit_hardware_support

For MATLAB R2019a and later, please use this file here:
https://www.mathworks.com/matlabcentral/fileexchange/70554-arduino_engineering_kit_hardware_support_19a

This package includes MATLAB and Simulink files that allow users to communicate with and control the sensors and actuators used in the Arduino Engineering Kit, most of which are connected through the MKR Motor Carrier. This includes:
• DC motor – control up to 4 DC motors simultaneously
• Servo motor – control up to 8 servo motors simultaneously
• Encoder – read up to 2 encoders simultaneously
• Tachometer – read rotational speed from the hall sensor on the motorcycle’s inertia wheel
• BNO055 IMU sensor – read from the accelerometer, magnetometer, and gyroscope
• Ultrasonic sensor – measure the distance to an object
• LiPo Battery – read the battery voltage

Examples are included to demonstrate how to use the MATLAB functions and Simulink blocks included in this package.

Learn more about the Arduino Engineering Kit at www.mathworks.com/arduino-kit

Important notes:
1) After installing this toolbox, type the following command in MATLAB to open the ReadMe
>> edit ArduinoKitHardwareSupportReadMe.txt
2) Be sure to follow the steps in this file, as it provides instructions on downloading the Arduino library for the MKR Motor Carrier. This library is required for some of the functionality to work.

Cite As

MathWorks Maker Team (2024). Arduino_Engineering_Kit_Hardware_Support_18b (https://www.mathworks.com/matlabcentral/fileexchange/68620-arduino_engineering_kit_hardware_support_18b), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with R2018b
Platform Compatibility
Windows macOS Linux
Categories
Find more on ROS Toolbox Supported Hardware in Help Center and MATLAB Answers
Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

matlab/MATLABAddon/+arduinoioaddons/+arduino

simulink/+motorcarrier/+blocks

simulink/+motorcarrier/+internal

simulink/blocks

Version Published Release Notes
1.2

Updating MATLAB Release Compatibility and the description to provide additional links

1.1.1

Fixing a bug identified by user - Library not visible in Library browser.

1.1

Fixing path related issues

1.0.1

Updating release compatibiltity