LEADS icon indicating copy to clipboard operation
LEADS copied to clipboard

Implement a Hardware Low Pass Filter

Open ATATC opened this issue 1 year ago • 2 comments

image

Function

Input

A PWM analog input

Output

The average voltage of the PWM input

ATATC avatar Mar 29 '24 22:03 ATATC

@ATATC can you point me to the codeset instruction where you are generating the input to the LPF? Are you sure it is a PWM signal? The signal you are showing on the diagram is not a PWM signal. Anyway, assuming it is a PWM signal, a single pole RC (passive) LPF should suffice.

qmascarenhas avatar Mar 29 '24 23:03 qmascarenhas

That blog seems to be what we want. I did not really look into the diagram.

This is how we control the motor: https://gpiozero.readthedocs.io/en/stable/api_output.html#motor

ATATC avatar Mar 29 '24 23:03 ATATC