Hi, not sure if this is the right board but I think it is so let's go for it.
Basically I have a raspberry pi (3) and two Arduino's. The Arduino's are currently each connected with an USB cable (so the arduino's are getting power from the raspberry pi). A Java program runs on the pi using the RXTX library to drive both arduino's and this works perfectly (after some tweaking here and there).
However, at some point I'm going to need a direct connection from one of the Arduino's to the pi to measure an audio signal (a bit like a digital oscilloscope). I know one has to be careful when doing that kind of direct connection due to power issues but is this also the case if the arduino's are powered (through USB) directly from the pi anyway? What's the easiest way to set this up?
Additionally how would I read out such a signal directly from java? What kind of library can I use for that?
Thanks for any advice.