Can I send a voltage out of my serial port with Matlab?

조회 수: 5 (최근 30일)
J
J 2013년 11월 22일
답변: Image Analyst 2013년 11월 22일
Hi,
I was wondering if it's possible to access the serial ports using Matlab to send out high/low voltages to trigger external devices (e.g. Motion capture cameras).
I know it can be done with Data Acquisition Toolbox, but I'm not sure if I am going to have access to a supported DAQ card for the project I'm thinking about.
Thanks, J

답변 (2개)

Walter Roberson
Walter Roberson 2013년 11월 22일
If you need more than the pulse of a serial bit, then all you have control over is DTR and RTS. The exact levels cannot be controlled.

Image Analyst
Image Analyst 2013년 11월 22일
Yes. You don't need the Data Acquisition Toolbox. I talk to my Measurement Computing box all the time just through the serial port (USB). They have analog devices too. http://www.mccdaq.com/usb-data-acquisition/USB-3100-Series.aspx

카테고리

Help CenterFile Exchange에서 Analog Input and Output에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by