2021-05-26 02:28 AM
Hello, I have read in the "application notes" that :
can you elaborate please? does that mean we can make so the readings will be without the 1g add-up, and (theoretically) in rest we will get x=0 y=0 z=0 ?
Thank you
2021-05-27 07:52 AM
Hi @Msaga.1 ,
yes, with the High Pass filter you can cut the continuous earth gravity and see only the vibrations you apply on the sensor.
the readings in a rest state should be 0, but environmental noise will always keep that value different from 0.
It is to be noted that stable accelerations are not detected when the HP filter is enabled.
hope this clarifies the application note.
Niccolò
2021-05-31 02:28 AM
@niccolo.ruffini HI , thank you , can you reference me to how to disable the DC component?
2021-05-31 07:05 AM
Hi @Msaga.1 ,
to disable the DC component, you need to enable the HP filter.
this is done using the BW_FILT[1:0] bits and FDS bit in CTRL6 (25h) as stated in the datasheet on page 21.
FDS = 1 for HP filter and you can choose the cut frequency through BW_FILT.
hope this helps
Niccolò
2021-05-31 09:07 AM
Hi @niccolo.ruffini , thank you. But now I dont understand - any activation of the HP filter will disable the DC component? ie - if I activate the HP filter without choosing the cut frequency, is the DC component is disabled?
and what do you mean by "choose the cut frequency".
2021-06-01 04:20 AM
Hi @Msaga.1 ,
yes, every HP filter cuts the DC component.
I suggest to check what the cutoff frequency is, to choose the right one for your goal.
as the datasheet explains, you can choose the cutoff frequency with the BW_FILT[1:0] bits
Niccolò
2021-06-01 06:57 AM
Hi @niccolo.ruffini
If I disable the DC component, will it affect the orientation bit? (if all will be 0 on rest, how will I know the orientation?)
and will it affect any other data we get from the accelorometer?
2021-06-03 02:42 AM
Hi @Msaga.1 ,
the HP filter should have effect before the signal, as per the filter diagram in the datasheet.
so you can't know the orientation with the HP filter enabled.
you can try to check on your device, maybe I'm forgetting something and you can find it out yourself.
hope this helps
Niccolò