MATLAB Support Package for Arduino Hardware
365.6K Downloads
Updated 15 Mar 2023
- Connect and communicate with an Arduino board over a USB cable or wirelessly over Wi-Fi or Bluetooth, using MATLAB
- Use the integrated project files that are part of Arduino Engineering Kit Rev2 to apply engineering concepts while learning and building projects using Arduino boards (Building projects using Rev1 is supported for releases from R2019a to R2021b)
- Communicate with other devices through GPIO, I2C, SPI, CAN and Serial peripherals
- Programmatically control Servo, Shift Registers and Rotary Encoders
- Read real-time data from a wide variety of supported sensors like IMU and Environmental sensors, BNO055 and GPS sensors
- Read data from APDS9960 and Ultrasonic sensors
- Create custom add-on libraries to use with your Arduino device and supported hardware shields
- Connect and Control Arduino board using the Arduino Explorer App
- Getting Started
- Setup and Configuration
- I2C Devices
- SPI Devices
- Shift Registers
- Quadrature Encoders
- Servo Motors
- Adafruit Motor Shield V2
- CAN Interface
- Motor Carrier
- Sensors
- Deploy Arduino Functions to Arduino Hardware Using MATLAB Function Block
- This support package is functional for R2014a and beyond.
- To use Arduino hardware with MATLAB versions R2013b and earlier, see - http:/matlabcentral/fileexchange/32374
- For any issues with this support package, please contact bat365 Technical Support - /support/contact_us.html
- For MATLAB R2017a and earlier versions, this support package is currently unable to download third-party software. For details and workaround, see this Bug Report /support/bugreports/1741173
- MATLAB R2017b and later versions are unaffected
- Arduino Map Maker - Mapping Your Surroundings Using MATLAB and Arduino
- Arduino Engineering Kit
- Log Temperature Data from Arduino into MATLAB - Log Temperature Data from Arduino
- Create a Custom Arduino Add-On Library
- Solve a Rubik's Cube - Solve a Rubik’s Cube with a Webcam, Servos, and MATLAB
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox >
- MATLAB > Data Import and Analysis > Data Import and Export > Hardware and Network Communication > Serial and USB Communication >
- Test and Measurement > Data Acquisition Toolbox > Analog Input and Output >
- Test and Measurement > Data Acquisition Toolbox > Digital Input and Output >
- Test and Measurement > Data Acquisition Toolbox > Periodic Waveform Generation >
- Test and Measurement > Data Acquisition Toolbox > Data Acquisition Toolbox Supported Hardware >
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Electromechanical >
Tags
Acknowledgements
Inspired: Arduino Pendulum Physics Lab, LSM303 Add-On Library for Arduino, DHT20 Temperature and Humidity, Legacy LSM303 Add-On Library for Arduino, Legacy Capacitive Sensor Add-On Library for Arduino, L3G Add-On Library for Arduino, Legacy L3G Add-On Library for Arduino, Capacitive Sensor Add-On Library for Arduino, Legacy NeoPixel Add-On Library for Arduino, Legacy HC-SR04 Add-On Library for Arduino, EVM analysis of OFDM signal, Legacy 1-Wire 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.