image thumbnail

RC Receive Driver Block for Arduino

version 15.2.01 (2.23 MB) by Sergio Biagioni
Control an Arduino robot using an RC Transmitter and Receiver with Simulink

4.2K Downloads

Updated 05 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 (2021). 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
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/