RC Receive Driver Block for Arduino

Control an Arduino robot using an RC Transmitter and Receiver with Simulink
4.4K Downloads
Updated 5 Oct 2015

View License

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".
https://www.hackster.io/matlab-makers/r-c-controller-for-arduino-and-simulink-be5aee

Documentation:
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".

Legacy Code:
To access the old version, type the following command after installation:
cd(fullfile(returnArduinoRCReceivePath,'old','rcreceive'))

Testing:
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.

Cite As

Sergio Biagioni (2024). 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
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulink Supported Hardware in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Device Drivers

Community Treasure Hunt

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

Start Hunting!

documentation/blocks/html/

documentation/examples/html/

documentation/html/

documentation/release/html/

documentation/setup/html/

Version Published Release Notes
15.2.01

Added support for R2015b

15.1.1.0

- Upgraded block to use MATLAB System Object instead of S-Function Builder to make installation quicker
- Block expanded from 4 to 6 channels
- Added status outport from block to indicate when data is received on a channel

1.4.0.0

Added support for Arduino Due

1.3.0.0

Updated required toolboxes, only MATLAB and Simulink necessary.

1.2.0.0

adjusted copyright

1.1.0.0

Removed mex files, updated required products.

1.0.0.0