The OP posted a lot of code that has nothing to do with sampling and buffering the data from the ADC. It doesn't provide us with the algorithm for the median filters or tell us anything about the characteristics of the...
You could use the two DAC outputs of the T3.6 to generate a sine wave with controllable frequency and amplitude in the range from 0.1 to 50Hz. You would have to convert the DAC output to a zero-centered AC waveform...
I spent a couple of months last fall working with a FLIR camera interfaced to a T4.1. I learned a lot about using the CMOS Sensor Interface (CSI) and the Pixel Processing Pipeline (PXP). At about $3500 retail, the...
It also bothers me that the ADS1256 data sheet says that the maximum sample rate is 30KHz. Running any ADC right at the limits on the data sheet bothers me. Do You really need a 24-bit ADC for your application? Is...
I believe there's a minor problem in the first line of the setup function:
pinMode(analogReadPin, INPUT);
If you're expecting good results with analog inputs, you should set up the pin with:
...