R-2R ladder

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
Hi.
I will need to convert 4 digitals bits to analog input.
Have read about R-2R Ladder. and i came with a couple of questions.
1. Do i need a driver or gate, or can i just use the output to my MCU 16F1509 analog input ?
2. What value will the output be , how small steps. ?

Will use 10k and 20k
 

Attachments

Last edited by a moderator:

crutschow

Joined Mar 14, 2008
34,408
1. You can run the output directly to the MCU input.
2. The maximum output will be about 93.7% of the digital input voltage.
The theoretical step size is 1/15 of the maximum output.

What is generating the digital input?
 

Thread Starter

FroceMaster

Joined Jan 28, 2012
702
Thats for selecting some numbers 0-9 and a-f depending of 4 bits . Reason to use digital input is to save inputs on 16F1509. This way i could use 3 inputs instead of 10 for selecting up to 999. It will be by jumpers or a rotary switch or something. Not desided yet.
 
Top