0

I'm trying to make a system that can take multiple sensor inputs from an Arduino connected through USB to a Raspberry Pi.

Is it possible to differentiate the different sensor inputs on the Pi so Serial.readline() can still be used? If not how else can I read the inputs on the Pi?

2

That is completely under your control.

Personally I would start each sensor message from the Arduino to the Pi with an identifier identifying the sensor.

  • So lets say i need all of the inputs at the same time, is there another way to differentiate it? – user71694 Aug 14 '17 at 20:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.