R-2R ladder + current to voltage converter
Current divides by 1/2 in every node of the R-2R ladder -> is added at input of inverting amplifier. Scaling of output voltage possible with R_F (feedback resistor of amp).
V_ref = 8V
D = digital value
switch for LSB -> right
switch for MSB -> left
input for each bit is either V_ref (logic 1) or 0V (logic 0) -> adjust binary number with switches
V_out = -D/16 * V_ref