/LEDControlApp

Control Arduino RGB LED over serial using MATLAB App Designer

Primary LanguageMATLAB

App Designer: Instrument Control over Serial (Arduino example)

View App Designer: Instrument Control over Serial (Arduino) on File Exchange

cover

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

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. With interactive program you can control the RGB LED color and observe illuminance level over the serial connection. If you don't have Arduino you can simulate it from Control App.

Submission on File Exchange

Check out documentation

RGB Control Documentation

RGB Arduino Model

LED Control Documentation

LED Arduino Model

Video

Describing video for v2.1 R2016a version (on Russian, enable auto-translate captions)

RGB Control App video

How to get

Download from MATLAB

Execute in MATLAB

eval(webread('https://exponenta.ru/install/led'))

Alternative: download as archive

Archive for R2019a (latest version)

Archive for R2017b (v2.4)

Archive for R2017a (v2.3)

Archive for R2016a (v2.1)