Main Content

Modeling

Prepare model for hardware connection, add blocks to support hardware protocols

The set of Simulink® blocks and core functionality available for Simulink Coder™ Support Package for BeagleBone® Blue Hardware.

Blocks

expand all

DC MotorSet power, direction, and stopping action of a DC motor
Servo MotorSet shaft position of servo motor
Analog InputMeasure voltage of specified analog input pin
ButtonRead logical state of button
Digital ReadRead logical state of digital input pin
Digital WriteSet the logical state of the digital output pin
LEDIlluminate built-in LED
PWMPulse width modulation of digital output pin
I2C Master ReadRead data from I2C slave device or I2C slave device register
I2C Master WriteWrite data to I2C slave device or I2C slave device register
SPI Master TransferWrite data to and read data from SPI slave device
SPI Register ReadRead data from SPI slave device register
SPI Register WriteWrite data to registers of an SPI slave device
SCI WriteSend serial data to UART port
SCI ReadRead serial data from UART port
TCP/IP ReceiveReceive data over TCP/IP network from remote host
TCP/IP SendSend data over TCP/IP network to another remote host
UDP ReceiveReceive UDP packets from another UDP host on an Internet network
UDP SendSend UDP packets to another UDP host on Internet network
EncoderMeasure incremental position and direction of a rotating motor
BarometerMeasure barometric air pressure around the BMP280 sensor
MPU9250Measure acceleration, angular rate, and magnetic field, and calculate fusion values such as Euler angles and quaternion along the axes of MPU-9250 sensor
SDL Video DisplayDisplay video using SDL
V4L2 Video CaptureCapture video from USB camera using V4L2

Topics

Tutorials