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

5 visualizaciones (últimos 30 días)
J
J el 22 de Nov. de 2013
Respondida: Image Analyst el 22 de Nov. de 2013
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

Respuestas (2)

Walter Roberson
Walter Roberson el 22 de Nov. de 2013
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 el 22 de Nov. de 2013
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

Categorías

Más información sobre Analog Input and Output en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by