RC Receive Driver Block for Arduino

Control an Arduino robot using an RC Transmitter and Receiver with Simulink
4,4K Downloads
Aktualisiert 5. Okt 2015

Lizenz anzeigen

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.

Zitieren als

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. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Simulink Supported Hardware finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: 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 Veröffentlicht Versionshinweise
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