UART

UART bit banging with National Instruments DAQs and Data Acquisition Toolbox
215 Downloads
Updated 20 Mar 2017

View License

UART (Universal Asynchronous Receiver Transmitter)
Class which can communicate via UART bit banging with DAQ hardware (including USB, PCI, PCI Express®, PXI, and PXI-Express devices, from National Instruments) to another UART module.
Tested with NI DAQ USB 6251, Matlab R2016b. Should also work with Matlab R2010b and higher versions (not tested).

It is not the best way to communicate with a NI DAQ to another UART modul. It is more common to communicate via USB to another UART module, but if you want to save cable and have an easy communication protocol to control a microcontroller I would prefer UART bit banging via NI DAQ.

If you have questions, concerns or ideas for improvement please feel free to contact me.
If you are going to change this class and distribute, please refer to my name.

Cite As

Rune Monzel (2026). UART (https://www.mathworks.com/matlabcentral/fileexchange/62149-uart), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0