Go Down

### Topic: 100K resistors in place of 20K resistors in this DAC??? HELP PLEASE!!!! (Read 5503 times)previous topic - next topic

#### TECH GEEK

Could I swap the 20K resistors for 100K resistors without affecting the output value in any way?

As always... Thanks for posting!!!

#### RuggedCircuits

#1
##### Jun 15, 2011, 12:24 am
I don't think that's going to work.

Sounds like you have 10k resistors and 100k resistors but no 20k's? You could:

a) put two 10k's in series to get your 20k's
b) Use 100k's instead of 20k's and 50k's (100k's in parallel) instead of 10k's.

etc.

--
The Ruggeduino: compatible with Arduino UNO, 24V operation, all I/O's fused and protected

#### TECH GEEK

#2
##### Jun 15, 2011, 12:54 am
only own 30*(10Ks) and 30*(100Ks)
also own have 20*(10Ks)
also own have 100*(510ohms)
also own have 200*(470ohms)
also own have 200*(100ohms)
also own have 100*(180ohms)

I (think) I have the parts to make, at max, a 10-bit DAC.
However my project requires, at minimum, a 12-bit DAC, with a 16-bit DAC being the best possibility...
My project also needs to be consistent, in the sense that the way the resistors are arranged need to be uniform
As always... Thanks for posting!!!

#### RoyK

#3
##### Jun 15, 2011, 01:23 am
The circuit requires the resistors to be in the ratio of R & 2R thus 10k and 20k.
And if you carry it out to higher precision the resistors need to be more precise.

#### Senso

#4
##### Jun 15, 2011, 01:56 am
Its impossible to do that using standart resistor, you need resistors with tolerances of parts per milion, not 5% ones, getting 8 bits is as good as it can get using un-matched components, and even that is difficult.

#### TECH GEEK

#5
##### Jun 15, 2011, 02:05 am
i'm not talking tolerances just that the way it is set up is uniform...
ie. that each of the 20k and/or 10k values are replaced with the same setup per replaced resistor
As always... Thanks for posting!!!

#### Grumpy_Mike

#6
##### Jun 15, 2011, 10:27 am
Quote
that each of the 20k and/or 10k values are replaced with the same setup per replaced resistor

I don't understand that can you rephrase it.

While the resistance tolerance and absolute value is not so important what is important is that all the resistors have as close to the same value as possible. If this is only 1% then you can only get 1% from the whole thing. As 8 bits gives you 256 levels this is about 0.4% or better you need to match the parts to.

#### TECH GEEK

#7
##### Jun 16, 2011, 06:59 pm
@mike

at this point it no longer matters,
the only things that matter now are:

• That it works similarly to the schematic above

• It has a 12-bit to 16-bit resolution

• it uses only the resistor that i listed that i own(see below)

own 30*(10Ks)
also own 30*(100Ks)
also own 20*(10Ks)
also own 100*(510ohms)
also own 200*(470ohms)
also own 200*(100ohms)
also own 100*(180ohms)

also can i control a 74HC595 using SPI
As always... Thanks for posting!!!

#### Grumpy_Mike

#8
##### Jun 16, 2011, 08:23 pm
Quote
It has a 12-bit to 16-bit resolution

Sorry you will not get anywhere close to this.

#### TECH GEEK

#9
##### Jun 16, 2011, 08:25 pm
why not the schematic is 8bit res?
As always... Thanks for posting!!!

#### Grumpy_Mike

#10
##### Jun 16, 2011, 08:43 pm
So how is it going to give you 12 bit resolution? I said you will struggle to get 8 bit resolution.

#### TECH GEEK

#11
##### Jun 16, 2011, 08:48 pm
i ment that i did not have enough 10k resistors. need 38 minimum, have < 30.
i just want to know if i can use other values than 10k and 20k like 1k and 510ohms
As always... Thanks for posting!!!

#### Grumpy_Mike

#12
##### Jun 16, 2011, 08:51 pm
I would use the 470R for the R and two of them in series for the 2R.

#### TECH GEEK

#13
##### Jun 16, 2011, 08:52 pm
ok sound good.
also will the 595 work with SPI?
As always... Thanks for posting!!!

#### Grumpy_Mike

#14
##### Jun 16, 2011, 11:37 pm
Quote
will the 595 work with SPI?

Yes but you will have to pulse the load line yourself after.

Go Up