Mapping Your Surroundings Using MATLAB and Arduino
Updated 13 Sep 2016
Learn how to use MATLAB and Arduino to map your surroundings. By rotating an ultrasonic sensor on a servo motor, MATLAB is able to display the location of any obstacle in a given environment.
HC-SR04 Ultrasonic Sensor
USB A to B Cable
Dan Doherty (2023). Mapping Your Surroundings Using MATLAB and Arduino (https://www.mathworks.com/matlabcentral/fileexchange/58434-mapping-your-surroundings-using-matlab-and-arduino), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Legacy HC-SR04 Add-On Library for Arduino
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.