Ah, so the noise is high frequency (from the signal's viewpoint) - that clarifies things. For minimum phase distortion a Bessel filter might be best (for IIR). A FIR filter will be linear phase of course, but with a lot more latency.
If your sample rate is only 30Hz there's no need to worry about efficiency, the T4 is vastly more powerful than required for the task. There are sites out there that can generate a digital filter to a specification and generate C code (*). Just...
Thank you for your help and prompt reply, MarkT.
And sure, happy to elaborate on filter choice - any input is more than welcome since I'm a filtering rookie.
I didn't want to lose the DC offset with a high pass filter, and the signal I'm...
Hi everyone,
New member here (apologies in advance if my post doesn't follow the group etiquette).
I'm using the Teensy 4.0 to read data from a sensor via I2C. My code is a slight variation of the sensor company's code; please find that code...