Im trying to build a basic current sensor with a diffamp. My probleme is the signal is PWM through my shunt resistor. About 22V peak. What must i do with my diffamp to have an continous output signal between say 0 - 5 V? Thanks in advance