Universal Arduino interface for serial communication