How can I connect raspberry pi with arduino via USB port using simulink?
10 ビュー (過去 30 日間)
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?
回答 (2 件)
Prasanth Sunkara 2020 年 1 月 23 日
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!