Arduino Udp Ethernet Shield

Transmit and receive data arrays of any type and length with an Arduino UDP Ethernet Shield

1.7K 次下载

更新时间 2016/9/1

查看许可证

The default UDP blocks in R2015a's Simulink Arduino Support Package can transmit and receive scalar bytes of data. This entry expands this functionality to enable the user to transmit and receive arrays of data where the type is an integer.
The supported data types are {uint8, int8, uint16, int16, uint32, int32}.
This entry supports Windows, Linux and Mac.

Install:
To install this entry, run the included .mltbx file.

Documentation and Examples:
For examples showing how to use the blocks, see the "Supplemental Software" section of the main doc page. There will be link called "Arduino UDP Ethernet Shield" .

To see the files directly, navigate to Home->Add-Ons->Manage Custom Toolboxes->Open Folder

Dependencies:
This toolbox also provides a custom toolbox "Pack and Unpack Data", containing the packData and unpackData functions which convert an array of integers into an array of bytes and vice-versa. This is used on the desktop computer to translate integers into bytes and vice-versa for communication via UDP.

The Instrument Control Toolbox is necessary to receive and transmit UDP data from the Desktop Computer.

引用格式

MathWorks Student Competitions Team (2023). Arduino Udp Ethernet Shield (https://www.mathworks.com/matlabcentral/fileexchange/52578-arduino-udp-ethernet-shield), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: Device Drivers, Pack and Unpack Data

启发作品: Getting Started Guide RoboNation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

code/PackUnpackData/code/library/

code/PackUnpackData/examples/

code/library/

examples/MultipleTransmit/

examples/loopback/

examples/receive/

examples/transmit/

code/PackUnpackData/documentation/blocks/html/

code/PackUnpackData/documentation/concepts/html/

code/PackUnpackData/documentation/examples/html/

code/PackUnpackData/documentation/functions/html/

code/PackUnpackData/documentation/html/

code/PackUnpackData/documentation/release/html/

code/PackUnpackData/documentation/setup/html/

documentation/blocks/html/

documentation/examples/html/

documentation/html/

documentation/release/html/

documentation/setup/html/

版本 已发布 发行说明
15.2.1.1

Updated license

15.2.1.0

Fixed a Sample Time bug found in R2015b.
Fixed an Arduino IP and MAC bug found in R2015b
Updated Arduino Library used by block to 1.6.1 when using R2015b

15.1.1.0