Accept and parse output from the serial port from an Arduino into the raspberry pi. For efficiency sake use a byte stream and not full strings.