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?
1 Answer 1
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.
answered Aug 12, 2017 at 7:04
-
So lets say i need all of the inputs at the same time, is there another way to differentiate it?user71694– user716942017年08月14日 20:46:13 +00:00Commented Aug 14, 2017 at 20:46