transfer data throug serial port