Make PC Communicate Automatically with Arduino

Hello everyone,

I installed several sensors with an Arduino Uno. I would like to ask the Arduino to send the sensor data back to a PC. The PC takes the data and do some processing, and then send the results back to Arduino and trigger the next iteration of sensor data collection on Arduino.

I would like to ask how I should make the PC able to take the Arduino data (possibly from the serial monitor), import it into a computation software (C++, Python, MATLAB, Excel, etc.), and send the result back to Arduino. I want the whole process to be automated, without any human involved.

Is there any tutorial or resources that is recommended?

Thank you very much for all inputs!

you can quite easily use python to listen/speak to the Serial port where you Arduino is connected

I gave an example of back and forth communication in this post

You might be able to do this using the PLX v2 or dataStreamer macros.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.