Ich habe mal den Absatz zur Bestimmung von R und C aus dem Datenblatt hereinkopiert.
Wenn Du das Signal analog abgreifst dann ist der R im letzten Satz schon mal klar mit 500k-2M.
Für C ist eine Tabelle dabei. Man sollte sie halt so groß wie möglich manchen, denn sie reduzieren das Rauschen. Mehr als 50-100Hz wird man nicht brauchen, also etwa 50nF-100nF.
Manfred
Code:
Setting the Bandwidth Using CX and CY
The ADXL202E has provisions for bandlimiting the XFILT and
YFILT pins. Capacitors must be added at these pins to implement
low-pass filtering for antialiasing and noise reduction. …
The tolerance of the internal resistor (RFILT), can vary typically as
much as ±15% of its nominal value of 32 kΩ; so the bandwidth
will vary accordingly. A minimum capacitance of 1000 pF for
C(X, Y) is required in all cases.
Table I. Filter Capacitor Selection, CX and CY Capacitor
Bandwidth Value
10 Hz 0.47 µF
50 Hz 0.10 µF
100 Hz 0.05 µF
200 Hz 0.027 µF
500 Hz 0.01 µF
5 kHz 0.001 µF
Setting the DCM Period with RSET
The period of the DCM output is set for both channels by a single
resistor from RSET to ground.
A 125 kΩ resistor will set the duty cycle repetition rate to approximately
1 kHz, or 1 ms. The device is designed to operate at duty
cycle periods between 0.5 ms and 10 ms.Table II. Resistor Values to Set T2
T2 RSET
1 ms 125 kΩ
2 ms 250 kΩ
5 ms 625 kΩ
10 ms 1.25 MΩ
Note that the RSET should always be included, even if only an
analog output is desired. Use an RSET value between 500 k;
and 2 M; when taking the output from XFILT or YFILT.
Lesezeichen