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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Walter Roberson
2022-11-20
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 个评论
Walter Roberson
2023-1-8
https://www.mathworks.com/help/supportpkg/arduino/ref/using-ethernet-shield-with-arduino-hardware.html
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!