In this webinar we will use Simulink and Stateflow to build an Arduino-based robot that is able to detect obstacles and neighboring robots, and then automatically brake or alter speed to avoid collisions. We will highlight some of the key benefits of using Simulink for Arduino programming, including the ability to:
1) Simulate robot behavior before implementing the algorithms on hardware.
2) Define different states (cruise, start following leader and brake) using Stateflow and program the robot to behave accordingly.
3) Interactively tune and optimize these algorithms as they run on the hardware device.
We will also discuss MATLAB and Simulink connectivity with other hardware platforms that are popular for educational and hobbyist use, such as Raspberry Pi and LEGO.
Madhu Govindarajan (2021). Building Smart Robots with Simulink and Arduino Webinar Files (https://www.mathworks.com/matlabcentral/fileexchange/57179-building-smart-robots-with-simulink-and-arduino-webinar-files), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!