Common
Bloques Common de Arduino.
Bloques
Analog Input | Measure voltage of analog input pin |
Analog Output | Generate voltage on the specified DAC pin |
CAN Transmit | Transmit message to CAN network |
CAN Receive | Receive message from CAN network |
Continuous Servo Write | Set direction and speed of continuous rotation servo motor |
Digital Input | Get logical value of digital input pin |
Digital Output | Set logical value of digital output pin |
I2C Write | Write data to an I2C peripheral device or an I2C peripheral device register |
I2C Read | Read data from I2C peripheral device or I2C peripheral device register |
SPI WriteRead | Write data to and read data from an SPI device |
PWM | Generate pulse width modulated signal on analog output pin |
Serial Receive | Receive data over Arduino serial port |
Serial Transmit | Transmit data over Arduino serial port |
Standard Servo Read | Measure shaft position of standard servo motor in degrees |
Standard Servo Write | Set shaft position of standard servo motor to angle specified in degrees |
External Interrupt | Trigger the downstream function-call subsystem from an Interrupt Service Routine |
SD Card File Read | Read data from an SD card |
Input Capture | Measure frequency and duty cycle of external input signal (desde R2020b) |
Modbus RS485 Client Read | Client device reads data from server device register(s) over RS485 network (desde R2020b) |
Modbus RS485 Client Write | Client device writes data to server device register(s) over RS485 network (desde R2020b) |
Modbus RS485 Server Read | Server device reads data from the server device register over RS485 network (desde R2020b) |
Modbus RS485 Server Write | Server device writes data to server device register over RS485 network (desde R2020b) |
BLE Send | Send data using Bluetooth Low Energy (BLE) protocol (desde R2021b) |
BLE Receive | Receive data using Bluetooth Low Energy (BLE) protocol (desde R2021b) |
Protocol Encoder | Encode input data into a uint8 byte stream by specifying the packet structure (desde R2021b) |
Protocol Decoder | Decode a uint8 byte stream by specifying the packet structure (desde R2021b) |
L293D DC Motor | Control power and direction of a DC motor (desde R2023a) |
PCA9685 DC Motor | Control power and direction of a DC motor (desde R2023a) |
L293D DC Motor | Control power and direction of a DC motor (desde R2023a) |
PCA9685 DC Motor | Control power and direction of a DC motor (desde R2023a) |
NeoPixel | Control color and brightness of RGB and RGBW Adafruit NeoPixel LED strip (desde R2024a) |
On-board EEPROM Read | Read data from on-board Arduino EEPROM (desde R2024a) |
On-board EEPROM Write | Write data to on-board Arduino EEPROM (desde R2024a) |
Temas
- Model Configuration Parameters for Simulink Support Package for Arduino Hardware
Parameter and configuration options for creating and running applications on Simulink® Support Package for Arduino® Hardware.
- Use Serial Communication with Arduino Hardware
Configure serial communication.
- Support I2C Communication
Support I2C communication.
- Support SPI Communication
Support SPI communication.
Tutoriales
- Get Started with Arduino Hardware
This example shows how to use Simulink® Support Package for Arduino® Hardware to run a Simulink model on Arduino board. - Control Standard Servo Motor Using Arduino Hardware
This example shows how to use Simulink® Support Package for Arduino® Hardware to control a standard servo motor. - Read Temperature from I2C-Based Sensor Using Arduino Hardware
This example shows how to use Simulink® Support Package for Arduino® Hardware to configure and read temperature from an I2C based sensor. - Communicate with SPI-Based EEPROM Using Arduino Hardware
This example shows how to use Simulink® Support Package for Arduino® Hardware to enable and write to/read from an SPI based EEPROM. - Send and Receive Serial Data Using Arduino Hardware
This example shows how to use Simulink® Support Package for Arduino® Hardware to send and receive serial data with Arduino hardware. - Trigger Downstream Function-Call Subsystem Using Arduino External Interrupt Block
This example shows how to trigger a downstream function call subsystem by using an External Interrupt block from the Simulink® Support Package for Arduino® Hardware. - Working with Arduino SD Card File Read Blocks
This example shows how to use the Simulink® Support Package for Arduino® Hardware to read data from acsv
file using the SD Card File Read block on Arduino hardware. - Monitor Engine RPM Using Arduino CAN Blocks
This example shows how to use Simulink® Support Package for Arduino® Hardware to monitor vehicle engine RPM using Arduino CAN blocks. - Transmit and Receive Data Using Arduino CAN Blocks
This example shows how to use Simulink® Support Package for Arduino® Hardware to transmit and receive data from the CAN network using the specified CAN device. - Measure PWM Frequency by Triggering an ISR on Arduino Hardware
This example shows you how to measure the frequency of a pulse-width modulation (PWM) signal on an Arduino® hardware using Arduino External Interrupt block. - Control LED Status Using BLE Peripheral and Central Devices on Arduino Boards
This example shows how to use the Simulink® Support Package for Arduino® Hardware to configure Bluetooth® Low Energy (BLE) communication between Arduino peripheral and central devices. - Encode and Decode Serial Data Using Arduino Hardware
This example shows how to use Simulink® Support Package for Arduino® Hardware to encode and decode serial data with Arduino hardware. - Send and Receive Data Between Arduino and Host Using Serial Communication
This example shows how to use the Serial Transmit and Serial Receive blocks from the Simulink® Support Package for Arduino® Hardware to transmit and receive data between your host computer and Arduino hardware using a USB to serial converter. - Drive with PID Control Using Arduino Board
This example shows how to simulate a simple closed-loop control algorithm in Simulink® and how to run it on an Arduino® board. - Line Follower Application for Arduino Robot
This example shows how to create a line follower algorithm in Simulink® and how to run it on an Arduino® Robot. - Read Serial Data from GPS Shield Using Arduino Hardware
This example shows how to use Simulink® Support Package for Arduino® Hardware to receive serial data from a GPS shield on the Arduino hardware. - Develop Gyroscope-Based Pedometer Using Arduino
This example shows how MATLAB® Function blocks are used in Simulink® models to implement algorithms using MATLAB functions. - Measure Servo Motor Shaft Angle Using a Device Driver Block in Connected I/O
A guide to enable Connected I/O on a Simulink System object™ block that contains hardware specific code allowing access to hardware specific features. - Add Echo to Audio File Stored in SD Card of Arduino Hardware
This example shows how to add echo to an audio file read using the SD Card File Read block from Simulink® Support Package for Arduino® Hardware. - Shift Pitch of Audio File Stored in SD Card of Arduino Hardware
This example shows you how to shift the pitch of an audio file that is stored in an SD card of the Arduino® hardware using Simulink® Support Package for Arduino Hardware. - Add Reverb to Audio File Stored in SD Card of Arduino Hardware
This example shows how to add reverb to an audio file read using the SD Card File Read block from Simulink® Support Package for Arduino® Hardware. - MODBUS RS485 Communication Between Client and Server Using Arduino Board
This example shows how to use the Simulink® Support Package for Arduino® Hardware to implement a MODBUS® RS485 asynchronous, serial communication between MODBUS client and server. - Measure Frequency and Duty Cycle Using TCS230 Color Sensor and Arduino Hardware
This example shows how to use the Simulink® Support Package for Arduino® Hardware to measure frequency and duty cycle of the red color component of an object using a TCS230 color sensor and Arduino hardware. - Send and Receive Data of Variable Lengths Using Arduino Serial Communication Blocks
This example shows how to use the Serial Transmit and Serial Receive blocks from the Simulink® Support Package for Arduino® Hardware to transmit and receive data of variable lengths on the Arduino serial port using a USB to serial converter.