analog sampling frequency
I'm trying to figure out if I would be able to sample analog input at the frequency around 40-50 sps.
I've modified the Android Sample amp (latest available version) to increase the sampling frequency.
I have observed that even on the 20Hz I'm getting dropout values from ADC (as ADC value, not referenced). I have went to max and decreased the GPIO_SAMPLE_PERIOD to 1 (ms) and started to acquire periodic pattern in measurements - see attached image. My current work-around is to make a mean of those values to form a single measurement. As a result I'm getting the measurements with a mean period of 60 ms (16.4 Hz).
I'm curious if this 4-values sequence is related to the ADC going through conversion and I'm reading some intermediate values. Or is it related to BT transmission?
Offline logging of ADC data might also be an option.
API version is 2+
HW revision 0.2
This discussion has been closed.