MATLAB and Simulink files to program the drawing robot, webcam controlled rover, and self-balancing motorcycle projects from AEK Rev 2.
Updated 11 Mar 2021

View License

NOTE: Starting in MATLAB R2021a, the project files have been integrated within the MATLAB & Simulink Support Package for Arduino.
This package includes the MATLAB and Simulink files used to program the three projects in the Arduino Engineering Kit Rev 2:
• A drawing robot that takes a reference drawing and duplicates it on a whiteboard
• A webcam controlled rover that navigates between reference points and moves objects with its forklift
• A self-balancing motorcycle that maneuvers itself on varying terrain and remains upright using a flywheel for balance
These files along with the associated online learning materials included with the Rev 2 kit guide users through the process of programming each project, teaching important engineering concepts along the way in areas such as controls, system modeling, image processing, and robotics.
Learn more about the Arduino Engineering Kit at:
The official link for Arduino Engineering Kit Rev 2:
Important note:
1. You can either download the toolbox file or the zip file.
2. If you choose to download the toolbox file, type the following command in MATLAB to move to the appropriate folder after installing the toolbox:
>> cd(arduinokit.kitRoot)
3. If you choose to download the zip file, add the contents of the unpackaged folder to the MATLAB path. Right-click on the folder in MATLAB and select "Add to Path" -> "Selected Folders and Subfolders".

Cite As

MathWorks Maker Team (2024). Arduino_Engineering_Kit_Project_Files_Rev_2 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with R2020a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Added a note on the integration of project files within the MATLAB & Simulink Support Packages for Arduino, starting in MATLAB R2021a.


Updated the Mobile Rover chapter project files.


Updated the Mobile Rover chapter project files.


Updated the Simulink models under the 'DCMotorCharacterization' folder


Updated the scripts under the 'DCMotorCharacterization' folder.


Fixed path issues.


Updates file descriptions and MathWorks Product Requirements


Updated the instructions.


Updated the toolbox file.


Added installation instructions.