Digital to analog converter

A digital to analog converter (DAC) converts a digital signal to an analog voltage. Each digit of the binary input adds a voltage to the analog output if the digit is equal to 1. The voltage of each input is twice as much as the previous one.