TryUse Design Mode set to Specify cutoff frequency, with Target Cutoff Frequency (Hz) at 500. Change ADC Sampling Rate (Hz) from 2500 and watch the attenuation.
ObserveThe default design shows 500.0 Hz cutoff, R=10.0k and C=0.032uF. At the initial sampling rate, attenuation at Nyquist is -8.6 dB.
ExplainADC Sampling Rate (Hz) is halved to find Nyquist; its ratio to the cutoff sets the attenuation through the single-pole RC response.
Technical boundaries. The response assumes an ideal first-order RC low-pass. Cutoff mode fixes resistance at 10000 ohms and solves for capacitance; the calculation includes neither component tolerances nor source and load impedances.
NoteRC Anti-Aliasing Calculator
Design a passive RC low-pass filter for anti-aliasing. Enter the desired cutoff frequency or component values to calculate the filter response.
viewof filterMode = Inputs.radio(["Specify cutoff frequency","Specify R and C values"], {value:"Specify cutoff frequency",label:"Design Mode"})viewof filterCutoff = Inputs.range([1,50000], {value:500,step:1,label:"Target Cutoff Frequency (Hz)",disabled: filterMode !=="Specify cutoff frequency"})viewof filterR = Inputs.range([100,100000], {value:10000,step:100,label:"Resistance R (ohms)",disabled: filterMode ==="Specify cutoff frequency"})viewof filterC = Inputs.range([0.0001,100], {value:0.033,step:0.001,label:"Capacitance C (uF)",disabled: filterMode ==="Specify cutoff frequency"})viewof filterSamplingRate = Inputs.range([10,100000], {value:2500,step:10,label:"ADC Sampling Rate (Hz)"})