I use arduino to read a sensor (Antenna) value. we measure from a oscilloscope that antenna values. we got that the maximum value or peak value is some what 200 mV. But the analog read value gives 1023 read as peak. when i give 5 v to the that pin then it gives 1023 also. what is the problem. Can you help me?
Here i attached the arduino readings and the screen shot of the oscilloscope.
I use arduino to read a sensor (Antenna) value. we measure from a oscilloscope that antenna values. we got that the maximum value or peak value is some what 200 mV. But the analog read value gives 1023 read as peak. when i give 5 v to the that pin then it gives 1023 also. what is the problem. Can you help me?
Here i attached the arduino readings and the screen shot of the oscilloscope.
Achira:
...
this signal is 50 Hz.
as peak. when i give 5 v to the that pin then it gives 1023 also. what is the problem. Can you help me?
Here i attached the arduino readings and the screen shot of the oscilloscope.
You are misunderstanding what you are measuring w/ the o'scope.
You are simply measuring the power-line 50Hz inducement into the open wire connected to a probe with a 1 megaOhm typical AC/DC impedance.
W/Arduino, the AC hum inducement will be based upon the ADC characteristic DC impedance of approx 100 megaOhm. But, Atmel indicates that a DC impedance of 10 kiloOhm is desired for accurate ADC measurements:
(23.6.1) Page 257 states: "The ADC is optimized for analog signals with an output impedance of approximately 10 k? or less. If such a source is used, the sampling time will be negligible. "
Then there is the whole issue that on the Arduino, you can only measure positive voltage, so the input signal must " ride" a bias voltage to allow the +/- nature of the AC to be DC offset.
So, in American lingo, you are comparing Apples to Oranges.