RC Receive Driver Block for Arduino
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.
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato da: Device Drivers
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
code/library/
code/mso/
documentation/blocks/
old/rcreceive/rcreceive/
code/library/
examples/
old/rcreceive/rcreceive/
documentation/blocks/html/
documentation/examples/html/
documentation/html/
documentation/release/html/
documentation/setup/html/
Versione | Pubblicato | Note della release | |
---|---|---|---|
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
|
|
|
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 |