Interfacing the ls7366r chip with simulink using a Raspberry pi

조회 수: 3 (최근 30일)
Mihir Pingle
Mihir Pingle 2020년 7월 10일
댓글: Mihir Pingle 2021년 1월 11일
Hello everyone,
I was struggling with the interface of the raspberry pi with the quadrature encoder directly using the analog input. But, the hardware is not good enough to detect all the inturrupts in the encoder signal. So, I bought the board with ls7366r chip on it. Now I need to create the one time initialization and the register read using the raspberry pi interfaced with simulink. Does anyone have the model with which I can do this?
  댓글 수: 2
haitham tamimi
haitham tamimi 2021년 1월 10일
hello sir
i have the same problem in my graduate project
How you fixed this problem?
Mihir Pingle
Mihir Pingle 2021년 1월 11일
Yes I created a simulink model with help of the datasheet of LS7366R. I am attaching the file for it here

댓글을 달려면 로그인하십시오.

답변 (1개)

Reeno Joseph
Reeno Joseph 2020년 7월 30일
Hi Mihir,
As of R2020a, we don't have a Simulink block to support quadrature encoder in Raspberry Pi.
Please follow our guide Device Driver blocks to create a custom block to read encoder values.
Hope this helps,
Reeno Joseph

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by