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?

7 次查看(过去 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 :)

回答(1 个)

Walter Roberson
Walter Roberson 2022-11-20
Ethernet.
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 个评论
aakash dewangan
aakash dewangan 2023-1-8
编辑:aakash dewangan 2023-1-8
Thanks for your reply!
Could you please be more specific in your answer.
Please let me know any source, which will give me the idea about connecting the Due board with Simulink using Ethernet connection.
Looking for your response :)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by