Main Content

建模

为硬件连接准备模型,添加模块以支持硬件协议

适用于 Simulink® Coder™ Support Package for BeagleBone® Blue Hardware 的一组 Simulink 模块和核心功能。

模块

全部展开

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 peripheral device or I2C peripheral device register
I2C Master WriteWrite data to I2C peripheral device or I2C peripheral device register
SPI Master TransferWrite data to and read data from SPI peripheral device
SPI Register ReadRead data from SPI peripheral device register
SPI Register WriteWrite data to registers of an SPI peripheral 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

主题

教程