Real time plot arduino in app designer
조회 수: 10 (최근 30일)
이전 댓글 표시
Hello, I was wondering if anyone would know how you can get that given an arduino that for example had to an analog input (A0) a potentiometer and a led on another pin of the same could on the one hand continuously represent the data coming from the analog channel and at the same time that through a series of buttons could alter the state of the led without the graphical representation stopped.
Thank you very much for everything.
댓글 수: 1
Mario Malic
2021년 2월 6일
See this for the part of the answer about plotting. https://www.mathworks.com/matlabcentral/answers/737187-matlab-app-desinger-how-to-update-a-figure-with-button#answer_615852
For the Arduino part, you'll have to look in documentation and other questions.
답변 (1개)
Asvin Kumar
2021년 2월 10일
I'm not entirely clear as to your end goal but my understanding is that you're trying to read and write some signals to and from an arduino. If that's the case, here are a couple of links from the docs to get you started:
Resource for Arduino - Setup, configuration, reading, writing and interacting with several types of other devices
Here's a link to several examples on working with Arduinos: Arduino Examples. These range from blinking an LED, controlling servo motors all the way to deploying Arduino code, CAN network interfacing and Wireless Data Streaming.
Mario's comment for the App Designer side of things also looks helpful.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!