App Designer: Instrument Control over Serial (Arduino)
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).
HOW TO GET
Execute in MATLAB:
eval(webread('https://git.io/fjP5c'))
INFO
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.
DOCUMENTATION
https://github.com/ETMC-Exponenta/LEDControlApp
Also there is a describing video (on Rissian, for old version):
https://youtu.be/gixP32MudA4
* Please note that app versions for old releases aren't maintained and are presented just for legacy *
Zitieren als
Pavel Roslovets (2024). App Designer: Instrument Control over Serial (Arduino) (https://github.com/ETMC-Exponenta/LEDControlApp), GitHub. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > App Building > Develop Apps Using App Designer >
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
3.0 | - Update RGB app, new LED app and model. Update docs
|
|
|
2.4.0.0 | - App, model and documentation have been upgraded to R2017b |
||
2.3.2.0 | - finaly added model previews |
||
2.3.1.0 | - added model previews |
||
2.3.0.0 | - 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) |
||
2.2.0.0 | - added version compatible with R2017a release
|
||
2.1.0.0 | Update cover picture |
||
2.0.0.0 | - new graphics features (area plot)
|
||
1.1.0.0 | Update the discription, add <App Designer Eng.pdf> with diagrams for better understanding. |
||
1.0.0.0 |