Arduino portion of the serial communication