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?

19 vues (au cours des 30 derniers jours)
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 :)

Réponses (1)

Walter Roberson
Walter Roberson le 20 Nov 2022
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 commentaires
aakash dewangan
aakash dewangan le 8 Jan 2023
Modifié(e) : aakash dewangan le 8 Jan 2023
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 :)
Walter Roberson
Walter Roberson le 8 Jan 2023
https://www.mathworks.com/help/supportpkg/arduino/ref/using-ethernet-shield-with-arduino-hardware.html

Connectez-vous pour commenter.

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by