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!