[TECH] Pulse sensor filtering

View: New views
1 Messages — Rating Filter:   Alert me  

[TECH] Pulse sensor filtering

by enkitec :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    I'm measuring liquid volume using a flow sensor that outputs pulses
from 1Hz to 16Hz.
    The uP measures the time between pulses and do a 32 sample majority
filter. This type of filter gives me two different time constants, one
when the frequency is rising and another when it is falling.
    I need one reading every second.

    Is there any better way of filtering those samples?
    How the filtering would have to be done with these type of signals?

    Thanks.
    Mark Jordan

--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist