Display Arduino voltage and resistance output on MATLAB GUI
조회 수: 9 (최근 30일)
이전 댓글 표시
I have developed a MATLAB GUI using Appdesign. This GUI ommuniates with arduino mega. the arduino is a diode and resistor tester. The gui selects either the resistor or diode tester. this also then displays the measured values on a 16x2 lcd. the problem i am facing is displaying these vaules in the GUI in a text box or simply displaying the value.
PLease help. thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/841665/image.png)
댓글 수: 2
DGM
2021년 12월 23일
Can you programmatically get these values into the workspace already?
If not, you'll have to describe the code that's actually on the MCU and the code that's used for communicating with it.
답변 (1개)
Sivani Pentapati
2022년 1월 4일
Hi trishen,
Based on my understanding, you want to display the measured values from arduino board in a GUI made with App Designer. Firstly you can receive the measured values in the form of serial data from the device using Arduino Hardware Simulink Model. Secondly you can execute this model at the backend to fetch the values and update them accordingly in the App Designer. Please refer to this link of how to interact with Simulink Models from App Designer.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!