Arduino Udp Ethernet Shield
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.
Zitieren als
MathWorks Student Competitions Team (2024). Arduino Udp Ethernet Shield (https://www.mathworks.com/matlabcentral/fileexchange/52578-arduino-udp-ethernet-shield), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: Device Drivers, Pack and Unpack Data
Inspiriert: Getting Started Guide RoboNation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
code/
code/PackUnpackData/
code/PackUnpackData/code/
code/PackUnpackData/code/library/
code/library/
examples/MultipleTransmit/
examples/loopback/
examples/receive/
examples/transmit/
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/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
15.2.1.1 | Updated license |
|
|
15.2.1.0 | Fixed a Sample Time bug found in R2015b.
|
||
15.1.1.0 |
|