How can I connect raspberry pi with arduino via USB port using simulink?
4 次查看(过去 30 天)
显示 更早的评论
Hello
I'm takamitsu.
I want to connect raspberry pi with arduino to receve/send back information such as sensor deta/calculated input via usb port.
I think I should use serial write/read brocks,(In case of arduino , It's serial transmit/receive blocks ) but I have no idea about what prosidure should I take.
could you tell me about this?
Thanks.
0 个评论
回答(2 个)
Prasanth Sunkara
2020-1-23
Hi Takamitsu,
From what I understand, you are trying to utilize the Raspberry Pi's Serial communication for exchanging data between Pi and Arduino.
Similar to Arduino, we have Serial Read and Serial Write blocks.
I hope this information helps!
Thanks,
Prasanth
2 个评论
Prasanth Sunkara
2020-5-18
Please refer to the documentation page for more information on other Simulink blocks for Arduino & Raspberry Pi.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Run on Target Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!