- Joined
- Jan 22, 2008
- Messages
- 52,434
- Helped
- 14,752
- Reputation
- 29,786
- Reaction score
- 14,106
- Trophy points
- 1,393
- Location
- Bochum, Germany
- Activity points
- 298,163
You have to consider all application parameters, there's no simple answer.Ok now what do you think is simpler in terms of implementation constructing a programmable amplifier (for extremely variable gains) or interfacing an external ADC with the dsPIC?
As long as the standard built-in ADCs of recent processors with 10 or 12-bit resolutions serve your purposes, I would try with these.
Programmable gain might be just an analog switch attached to the resistor network around a signal conditioning OP which is used anyway.
- - - Updated - - -
I'm not sure if you really thought things over.I guess I mis-wrote my quetion. What I mean is that the sampled values at the external ADC when digitally transmitted to the dspic, can the value be greater than 5V?
Meaning if my signal has an amplitude of 7V and it was sampled in the ADC then transmitted digitally to the dspic, what is the sample value at the amplitude will it still be 7V?
Can I reconstruct my signal back from the samples? As I can with MATLAB?
You get a digital code from an ADC, which represents a digital number. But it also corresponds to an anlog input voltage. You don't see from digital value if it means 50 mV, 5V or 500 V. There's a scaling of the digital values that must be known.