App Designer: Instrument Control over Serial (Arduino)

Control Arduino RGB LED over serial using MATLAB App Designer
6,1K download
Aggiornato 15 lug 2019

This is an example of how you can use App Designer tool to build program to control any hardware over supported protocol (i.e. serial).

Execute in MATLAB:

App Designer has visual instrumentation components (knobs, swithes, etc.) so it allows you to build interactive apps for instrument control.
The submission contains a scheme of Arduino based simple device with RGB LED and photoelectric cell. Simulink program for Arduino is provided (requires Arduino Support Package).
With interactive program you can control the RGB LED color and observe illuminance level over the serial connection.
Instrument Control Toolbox is required for optional features.


Also there is a describing video (on Rissian, for old version):

* Please note that app versions for old releases aren't maintained and are presented just for legacy *

Cita come

Pavel Roslovets (2024). App Designer: Instrument Control over Serial (Arduino) (, GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2019a
Compatibile con R2016b e release successive
Compatibilità della piattaforma
Windows macOS Linux

Ispirato da: Toolbox Extender


Community Treasure Hunt

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

Start Hunting!

Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate

Versione Pubblicato Note della release

- Update RGB app, new LED app and model. Update docs
More information

- App, model and documentation have been upgraded to R2017b

- finaly added model previews

- added model previews

- updated Simulink model for Arduino: Buffer block is rejected due to a new ability of Serial Recieve block to recieve an array of elements (R2017a)

- added version compatible with R2017a release
- transfered arithmetics from Simulink program for Arduino to application for flexibility (R2017a version only)

Update cover picture

- new graphics features (area plot)
- efficient coding with shared callback functions
- colors values now stored in arrays to optimize code & execution
- Fix and refresh button to delete broken serial object from memory and find available port again

Update the discription, add <App Designer Eng.pdf> with diagrams for better understanding.

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.