Wawa:
A scope looks at voltage, not at ratio.
A smoother scope voltage is therefore useless.Better to take a bunch of readings for averaging.
unsigned int total = 0; // reset
for (int x = 0; x < 64; x++) total += analogRead(A0);
Leo..
WAWA, How do I implement the averaging code into mine and do away with the other?
Guys! the low pass filter I got from the spec sheet on the MXP5100DP and just changed the values a little to go with the frequency I was getting on the scope from the pumps pulsing. They also suggest possibly using a rail to rail buffer.
AN1646.pdf (256 KB)