Products and Services

Arduino Support from MATLAB
and Simulink

Control peripherals and run algorithms on Arduino boards

With MATLAB®and Simulink®万博1manbetx支持Arduino的支持包®Hardware, you can use MATLAB and Simulink to interactively communicate with your Arduino respectively. Simulink also enables you to perform model deployment for standalone operations on Arduino boards.

Connected I/O

You can connect to and control Arduino inputs and outputs from MATLAB and Simulink. Connected I/O enables you to acquire data from sensors, control peripherals, and analyze and visualize it in MATLAB. Connected I/O also helps you prototype your ideas by using real-world data acquired from your Arduino before deploying it on the hardware. This functionality is supported from both MATLAB and Simulink through their respective hardware support packages.

Connected I/O

MATLAB支万博1manbetx持包装arduino

  • Write MATLAB programs to read and write data to your Arduino hardware and access connected peripheral devices such as motors, LEDs, and I2C devices.
  • Prototype and refine your algorithms in MATLAB while using the data from the Arduino peripherals.
  • Use MATLAB commands to control the peripherals without using any compiled code on your Arduino.
  • Analyze and process the data using one of the many built-in math, engineering, and plotting functions within MATLAB.

Simulink Support Package for Arduino

  • Extend Simulink with blocks for configuring and accessing Arduino sensors, actuators, and communication interfaces.
  • Access the peripherals connected to Arduino boards from Simulink during normal mode simulation without having to deploy models on hardware.
  • Access digital inputs and outputs, I2C read and write, SPI read and write analog inputs, and pulse width modulated outputs.

Deployment

您可以开发算法并将Simulink模型部署为在Arduino硬件上运行的独立可执行文件万博1manbetx。Deployment仅由Arduino万博1manbetx的Simulink支持包支持。万博1manbetx

Simulink Support Package for Arduino

  • Develop algorithms in Simulink, which provides a block diagram environment for modeling dynamic systems and developing algorithms, andrun them standaloneon your Arduino hardware.
  • Monitor and tuneyour model parameters from Simulink while the algorithm is executing in real time on your Arduino.
  • With the help ofMATLAB Function block, you can incorporate MATLAB code into your Simulink model.

Arduino Engineering Kit

MATLAB and Simulink provide hardware support and reference examples for theArduino Engineering Kit Rev 2.0. The kit helps students and enthusiasts learn basic engineering concepts and mechatronics through fun projects connected to real-world applications.

Pre-Configured Projects

The pre-configured projects are developed in MATLAB and Simulink. They offer an easy way for students to program and explore the Arduino Engineering Kit.

为MATLAB和Simu万博1manbetxlin Arduino支持包k contains the project files needed to run three application projects that are included with the kit: drawing robot, webcam controlled rover, and self-balancing motorcycle.

Arduino Engineering Kit

Arduino Engineering Kit Rev 2,由Arduino与Mathworks合作开发。

Drawing Robot

Drawing Robot

使用MATLAB代码在白板上复制参考图像。

Webcam Controlled Rover

Webcam Controlled Rover

使用位置跟踪导航流动站,将物体与其提升机构一起移动。

Self-Balancing Motorcycle

Self-Balancing Motorcycle

操纵摩托车和手表它使用反应轮和运动陀螺仪保持平衡。