With this block, a user can use Simulink to generate code for an Arduino which receives signals from an RC Transmitter.
When the output of an RC Receiver is connected to an Arduino, this custom driver block outputs the length of the RC signal's pulse in microseconds, which corresponds directly to the signal's value.
This material is meant to support the article "R/C Controller for Arduino and Simulink".
For examples and documentation showing how to use block, see the "Supplemental Software" section of the main doc page. There will be link to the "Arduino RC Receive Toolbox".
To access the old version, type the following command after installation:
This driver block was tested with the Cirrus-DPR-4FM Transmitter and Receiver. All Receivers output servo protocol so the block will work with all RC Transmitter/Receivers.
The block works with the Arduino Uno, Mega 2560, and Due. The maximum channels supported is 6.
Sergio Biagioni (2023). RC Receive Driver Block for Arduino (https://www.mathworks.com/matlabcentral/fileexchange/45541-rc-receive-driver-block-for-arduino), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Device Drivers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Added support for R2015b
- Upgraded block to use MATLAB System Object instead of S-Function Builder to make installation quicker
Added support for Arduino Due
Updated required toolboxes, only MATLAB and Simulink necessary.
Removed mex files, updated required products.