can't reach 5v with R2R DAC
hello. i'm testing r2r 7bit dac. problem have when write output high max voltage after dac 4,5v.
the code this:
and schematic followed
http://cdn.instructables.com/fkg/ru1u/h74326mj/fkgru1uh74326mj.medium.jpg
i measured each digital out invididually , @ 5,05v or so.
but instead of using 10k-20k used 100k-200k. don't know if problem...
thanks
the code this:
code: [select]
void setup(){
for(int = 0; < 7; i++){
pinmode(i, output);
}
}
void loop(){
for(int output = 0; output < 7; output++){
digitalwrite(output, high);
}
}and schematic followed
http://cdn.instructables.com/fkg/ru1u/h74326mj/fkgru1uh74326mj.medium.jpg
i measured each digital out invididually , @ 5,05v or so.
but instead of using 10k-20k used 100k-200k. don't know if problem...
thanks
this
output = 0; output < 7; output++
only goes 0-1-2-3-4-5-6
your schematic shows 8 inputs:
output = 0; output < 8; output++
you have 7 tho? , high see 4.5v @ top pin?
you have 200k every there 20k, , 100k everythere 10k? didnt swapped accident?
output = 0; output < 7; output++
only goes 0-1-2-3-4-5-6
your schematic shows 8 inputs:
output = 0; output < 8; output++
you have 7 tho? , high see 4.5v @ top pin?
you have 200k every there 20k, , 100k everythere 10k? didnt swapped accident?
Arduino Forum > Using Arduino > General Electronics > can't reach 5v with R2R DAC
arduino
Comments
Post a Comment