This webinar is designed for educators aiming to enrich project-based learning experiences by integrating affordable hardware with MATLAB®. Participants will explore practical strategies for utilizing MATLAB Mobile for sensor data acquisition, interfacing webcams for image and video processing, and connecting to cloud-based platforms like ThingSpeak for IoT applications. The session will also cover hands-on integration with popular hardware platforms such as Raspberry Pi and Arduino, demonstrating how these tools can be seamlessly connected to MATLAB to create interactive, real-world projects. Attendees will gain insights into setting up and managing low-cost hardware in both classroom and remote learning environments, enabling engaging, scalable, and accessible project-based activities without the need for expensive lab infrastructure or complex software installations.
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