Arduino Hardware
Simulink® Support Package for Arduino® Hardware enables you to create and run Simulink models on various families of Arduino boards, including Nano, MKR, Classic, and Mega.
You can also use the support package to run models on Arduino-compatible boards such as ESP32 WROOM and WROVER, Teensy 4.0 and 4.1, Raspberry Pi® Pico, and Raspberry Pi Pico W.
The support package includes a library of Simulink blocks for configuring and connecting Arduino sensors and actuators and for communicating with peripherals using various protocols such as MQTT, ThingSpeak™, Wi-Fi®, serial, Modbus®, CAN, I2C, and so on. It also includes scheduling and general purpose blocks specific to AVR and SAMD Arduino and Teensy boards.
The support package enables you to interactively monitor and tune algorithms developed in Simulink as they run on your Arduino boards. It also includes reference and application-based examples that help you to build and deploy the models to generate standalone C/C++ code on your Arduino board.
You can now control your Arduino board from Simulink Online™.
Categories
- Installation and Setup
Install, set up, and configure Arduino hardware for desktop and Simulink Online
- Peripherals
Use Simulink blocks to connect to and configure peripherals and sensors attached to Arduino hardware
- Event Scheduling and Interrupt Handling
Schedule events and handle hardware interrupts to address real-time tasks with Arduino
- Custom Sensor and Device Driver Blocks
Develop custom sensor or device driver blocks using System objects and connect to Arduino-compatible peripherals
- Data Monitoring and Rapid Prototyping
Fine-tune data transfer by running Simulink model on Arduino board before deployment
- Data Logging and Deployment
Deploy model to Arduino board with data logging and PIL simulation
- Applications
Run and deploy application examples to your Arduino boards
- Troubleshooting
Troubleshoot issues with Arduino boards, Arduino-compatible boards, third-party software, drivers, and communication peripherals