Hi guys,
this is my first post here and I am sorry if this will be kind of noob question.
So I have next problem. When I am testing my Ax in DACx PINs at digitalWrite(pin, HIGH/LOW) or analogWrite(pin, 0/255), I get too high/low values. I measured output voltage with oscilloscope with one COM to Arduino GND and A probe to xx PIN.
at A0-11 I get aprox. 70-90mV at digitalWrite(pin, LOW) or analogWrite(pin, 0) and aprox. 3200mV at digitalWrite(pin, HIGH) or analogWrite(pin, 255)
at DAC0-1 I get aprox. 550mV at digitalWrite(pin, LOW) or analogWrite(pin, 0) and aprox. 2750mV at digitalWrite(pin, HIGH) or analogWrite(pin, 255)
Interesting thing is that PWM pins 2-13 works OK and digitalWrite(pin, LOW) or analogWrite(pin, 0) gives aprox. 10mV while digitalWrite(pin, HIGH) or analogWrite(pin, 255) gives aprox 3300mV.
What could be source of this problem. Is my Arduino damaged? I tested PINs because my application was not working as it should be. I am reading FSR through inst amp. After short time output from inst amp rise on aprox 2.2V. I also have high power led (1,5W), and if I stop supplying this led, then inst amp output doesn't rise.