read temperature data from the serial port