Read data from multiple analog inputs via Arduino-Computer serial link
Show older comments
I've configured the serialRunOnArduino and serialRunOnPC models to allow me to record data from an analog sensor on pin A0 of an Arduino Mega. However, I need to read data from two analog sensors, plot separately and save data to the workspace.
I'm struggling to do this so any help would be appreciated.
Here are some screenshots of the serial link models as it stands, including my attempt to add a second serial transmit block.


Best,
Jon
Accepted Answer
More Answers (0)
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!