Main Content

Use Arduino Explorer App

R2026b

You can interactively explore, configure, read from, and write to Arduino® and Arduino-compatible boards using Arduino Explorer. You can do the following with Arduino Explorer App:

  • Set up and connect to Arduino and Arduino compatible boards over USB, Bluetooth®, or Wi-Fi® in MATLAB® and MATLAB Online™.

  • Discover and connect to Arduino and Arduino-compatible boards

  • Configure board parameters and verify connection settings

  • Visualize pin states and view the pin diagram interactively

  • Read data from sensors and peripherals

  • Write values to pins, actuators, and supported peripherals

  • Organize and manage multiple signals

  • Configure I2C, SPI, and Serial devices

  • Read voltage

  • Play tone on a piezo speaker

  • Configure and control servo motors

  • Monitor pins live

  • Plot data in real time

  • Log communication data

  • Record data for a specified duration

  • Generate MATLAB code

Launch the Arduino Explorer using any of these methods:

  • In the MATLAB Command Window, enter arduinoExplorer.

  • On the Apps tab on the MATLAB Toolstrip, under Test and Measurement, click the app icon.

    After launching the app, select the device card corresponding to the Arduino board you want to work with.

    If the app does not detect your device automatically and it does not appear in the All Hardware section, use one of the configuration cards on the top to manually add your device based on connection type. For more information, see Set Up and Connect to Arduino and Arduino-compatible Boards Using Arduino Explorer.

    Arduino Explorer app showing the All Hardware section with detected Arduino boards and configuration cards for USB, Bluetooth, and Wi-Fi connections

  • On the Apps tab of MATLAB Toolstrip, under Test and Measurement, click the Hardware Manager app icon. In the All Hardware section, click the device card of the detected Arduino board. This launches the Arduino Explorer app.

You can now use Arduino Explorer to interactively work with supported Arduino hardware from within MATLAB.

See Also

Topics