In electronics , a demultiplexer ( or demux ) is a device taking a single input signal and selecting one of many data-output-lines , which is connected to the single input . On the other end , a demultiplexer ( or demux ) is a device taking a single input signal and selecting one of many data-output-lines , which is connected to the single input .