Pages: [1] 2   Go Down
Author Topic: 100K resistors in place of 20K resistors in this DAC??? HELP PLEASE!!!!  (Read 1385 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

As always... Thanks for posting!!!

0
Offline Offline
Faraday Member
**
Karma: 16
Posts: 2857
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 
Logged

As always... Thanks for posting!!!

0
Offline Offline
Sr. Member
****
Karma: 4
Posts: 329
KC4MM
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33283
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@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
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33283
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It has a 12-bit to 16-bit resolution
Sorry you will not get anywhere close to this.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

why not the schematic is 8bit res?
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33283
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So how is it going to give you 12 bit resolution? I said you will struggle to get 8 bit resolution.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33283
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I would use the 470R for the R and two of them in series for the 2R.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok sound good.
also will the 595 work with SPI?
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33283
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
will the 595 work with SPI?
Yes but you will have to pulse the load line yourself after.
Logged

Pages: [1] 2   Go Up
Jump to: