log data from arduino