フィルターのクリア

Arduino Simulink Serial Communication

3 ビュー (過去 30 日間)
semih ucari
semih ucari 2016 年 3 月 1 日
コメント済み: JUN-RONG CHEN 2020 年 4 月 8 日
<<
>>
Hi ;
I am using the models above. I am transmitting constant 100 to arduino, but I cannot read 100 on the receive scopes. I uploaded them separately and I also uploaded them in the same model. I couldn't read 100 in both ways. What could be wrong?
Thank you.
  1 件のコメント
Qasim Alazze
Qasim Alazze 2016 年 11 月 5 日
hello : Have you gotten answer to your question or solved it??? if you did please help i have same problem ???

サインインしてコメントする。

回答 (1 件)

Venkatachala Sarma
Venkatachala Sarma 2016 年 3 月 8 日
To the top right of the 'Serial Transmit' and 'Serial Receive' blocks, it says 'ARDUINO'. This means that these blocks execute only inside ARDUINO hardware. You will not be able to use scopes to see the value sent or received by ARDUINO's serial port.
If you would like to transmit '100' serially to any hardware, you have to use 'Serial Configuration' and 'Serial Send' blocks in 'Instrument Control Toolbox'. Also to receive data serially from any hardware, use 'Serial Receive' in the same toolbox.
Hope this helps.
  4 件のコメント
Sasan Karimi
Sasan Karimi 2019 年 3 月 8 日
編集済み: Sasan Karimi 2019 年 3 月 8 日
hi
Please send me a sample of this if possible. thank you
my email:sasan.karimi32@gmail.com
JUN-RONG CHEN
JUN-RONG CHEN 2020 年 4 月 8 日
hi
Please send me a sample of this if possible. thank you
my email:a0981305398@gmail.com

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by