what is the fastest (high speed data transfer) way of connecting the Arduino due board (running a high speed motor) with Simulink for realtime data transmission and control?
10 views (last 30 days)
Show older comments
Hello,
I am using Arduino due to run two motors of high resolution encoder at high speed in simulink block diagram for feedback control and real time data transfer/feedback.
what is the fastest (high speed data transfer) way of connecting the Arduino due board (running a high speed motor) with Simulink for realtime data transmission and control?
Thank you :)
0 Comments
Answers (1)
Walter Roberson
on 20 Nov 2022
Ethernet.
For example there is https://docs.arduino.cc/retired/boards/arduino-ethernet-rev3-without-poe with an W5100 controller, which https://forum.arduino.cc/t/ethernet-shield-w5100-data-transfer-speed-and-capacity/534305 says can handle approx 100 kbytes/sec .
These days the W5100 is not recommended, and people use W5500 based devices instead. At https://forum.wiznet.io/t/topic/7592 a developer of the W5500 says the maximum rate for that chip itself is 15 megabits per second; I have not checked to see how quickly you could actually transfer data with the Due. It appears to depend on the SPI clock, which https://forum.arduino.cc/t/spi-clock-in-arduino-due/518710 says defaults to 4 MHz
2 Comments
Walter Roberson
on 8 Jan 2023
https://www.mathworks.com/help/supportpkg/arduino/ref/using-ethernet-shield-with-arduino-hardware.html
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!