필터 지우기
필터 지우기

Simulink communication to Raspberry USB port

조회 수: 4 (최근 30일)
Salvatore Mazzarino
Salvatore Mazzarino 2014년 1월 10일
댓글: Beyda TASAR 2018년 9월 27일
I would know if it exits a way to let communicate Simulink to a device connected to the USB port of Raspberry Pi?

답변 (2개)

Mischa Kim
Mischa Kim 2014년 1월 10일
편집: Mischa Kim 2014년 1월 10일
Hello Salvatore, yes there is. Check out: http://www.mathworks.de/hardware-support/raspberry-pi.html. You need the Support Package which you can download directly from the web site, or, if you have a recent release, from within MATLAB.
  댓글 수: 3
Mischa Kim
Mischa Kim 2014년 1월 10일
Absolutely. For reference, check out the video on the web site I provided the link to (it gets interesting at around 6:25). The simple demo includes a web cam (USB) to capture video. Does that help?
Bethmage Perera
Bethmage Perera 2015년 3월 23일
Hi Mischa,
I got a similar issue where I want to connect a sensor to the usb port of the pi. This is a serial device and I already got a different serial device connected to the pi via its TXD and RXD pins so I am using a serial to USB converter to plug the sensor to the usb port. Can you help?
Thanks Kalpa

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


Murat Belge
Murat Belge 2014년 2월 26일
It depends on what you attach to the USB port. For example, if you attach a USB Webcam, the Raspberry Pi registers it as a V4L2 video capture device and you can use the V4L2 Video Capture block to acquire images from the device. Since the USB port is a host port, you can only communicate with slave devices attached to this port. You will not be, for example, able to connect a USB cable between your host computer and the Raspberry Pi and communicate with your host computer from the R-Pi.
If you provide more information on your use case, I can provide a more detailed answer.
  댓글 수: 3
vcmorini
vcmorini 2017년 3월 22일
I am also interested Bethmage Perera
Beyda TASAR
Beyda TASAR 2018년 9월 27일
Hi, I have got the same problem. I want to connect an EMG sensor via the raspberry pi USB port. Did you solve this problem? Could you help me?

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

카테고리

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