This workshop serves as a resource for educators seeking to enhance experiential learning with MATLAB® and Simulink® in online, hybrid, and remote environments. By leveraging MATLAB Online in conjunction with affordable hardware, educators can offer students engaging projects and activities without the need for costly lab equipment, extensive software installations, or complex desktop configurations. The repository includes guidance on using MATLAB Online with low-cost hardware platforms, such as Arduino, and other devices via MATLAB Mobile and ThingSpeak, to facilitate project-based learning. It also provides instructions on connecting hardware to MATLAB Online and designing effective project-based learning activities for remote settings.
It is recommended that Google Chrome™ be used for this workshop.
If you would like to follow along with all of the workshop activities, a basic Arduino kit is required. The below links are some options that are available online.
This workshop will be recorded and available following the EXPO, so even if you do not have the materials or time required to perform every activity, you can consult this repository and the recording at a later time.
Click on the link below to create a MathWorks account if you do not already have one:
https://www.mathworks.com/mwaccount/account/create
Troubleshooting:
https://www.mathworks.com/matlabcentral/answers/361072-how-do-i-create-a-mathworks-account
Scan the QR code below to download the app on your smart device:
Follow the instructions at the link below to install MATLAB Connector, which allows you to interface your Arduino hardware with MATLAB Online:
https://www.mathworks.com/products/matlab-drive.html?s_tid=AO_MLConnector#matlab-drive-connector
Unlike MATLAB Desktop, the MATLAB and Simulink Support Packages for Arduino are automatically installed on MATLAB Online.
- After you have successfully installed MATLAB Connector, plug in your Arduino board.
- Log in to MATLAB Online and run the following command in the Command Window:
arduinosetup
- Follow the instructions, accepting the default libraries.
- When complete, run the following command and ensure the status of your board is "Ready to connect":
arduinolist
You will see an error in MATLAB Online when running Arduino commands if your region is not yet ready for this feature.
Arduino support for EDU customers will be rolled out in all regions in a future update to 2024b
Click the button below to clone the repository for this workshop to your MATLAB Drive to use in MATLAB Online.
https://www.mathworks.com/help/matlab/supportpkg/iot-automatic-cooling-fan-arduino-example.html
https://www.mathworks.com/help/matlabmobile/ug/sensor-data-collection-with-matlab-mobile.html
Activity 1: Taking a Selfie Using a Webcam
Activity 2: Plot Traffic Data Using ThingSpeak
The license for this module is available in the LICENSE.txt
MATLAB®, Image Processing Toolbox
https://www.mathworks.com/academia.html
- Access tools and resources for delivering great MATLAB based courses, including lectures, project-based learning, and assessments
- Browse courseware and examples from MathWorks and educators
https://www.mathworks.com/hardware-support/arduino.html
- Get support for MATLAB, Simulink, and hardware support packages
- Contact your Customer Success team for assistance with curriculum
https://github.com/mathworks https://github.com/MathWorks-Teaching-Resources
https://www.mathworks.com/help/matlabmobile/matlab-mobile-fundamentals.html
https://www.mathworks.com/help/matlab/cameras-and-mobile-sensing.html
https://www.mathworks.com/help/thingspeak/
https://www.mathworks.com/help/matlab/examples.html?category=arduinoio&exampleproduct=all&newonly=&s_tid=CRUX_lftnav https://www.mathworks.com/help/matlab/supportpkg/using-arduino-explorer.html
© Copyright 2024 The MathWorks™, Inc