analog input to serial converter