how to read the optical encoder counts from Arduino Nano 3.0 to simulink?

2 ビュー (過去 30 日間)
lipeng han
lipeng han 2021 年 3 月 7 日
回答済み: Chidvi Modala 2021 年 3 月 10 日
Hello,
I connected my optical encoder to the arduino, phase A to pin2, phase B to pin3, (the encoder port number is LPD3806-400BM-G5-24C, it has 4 wires: VCC, GND, A phase and B phase)and then read its counts by coding the arduino, but I don’t know how to transfer this count to simulink in real time (not into matlab, I want to build in simulink)?
Thanks :D

回答 (1 件)

Chidvi Modala
Chidvi Modala 2021 年 3 月 10 日

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by