FTDI USB S-function

Version 1.0.0.0 (136 KB) by Pavel
FTDI USB<->RS232 bridge communication S-function. Device: FT232RL.
1.7K Downloads
Updated 24 Feb 2011

View License

FT232RL serial converter communication function. Used direct connect to D2XX library. Not Virtual Com Port.

Model consist modified 'ft232xx.h' header file to work on x64.

As example used simple function 'string_maker', which generate string 'AxxxxBxxxxCxxxx', where xxxx - numbers obtained from sliders, or sine wave.

'A0750', 'Bxxxx'... - commands for controlling hobby servos. Letter 'A' is channel, xxxx - value in milliseconds/2 (0750 = 1.5 ms).

Also in model used 'Real Time Pacer', which can be found in File Exchange', or completely removed from model.

Cite As

Pavel (2024). FTDI USB S-function (https://www.mathworks.com/matlabcentral/fileexchange/30536-ftdi-usb-s-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Block and Blockset Authoring in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0