9 Replies Latest reply on Oct 18, 2012 11:14 AM by philip.nielsen

    Count pulses AND Integrate pulse time over specified window of time

    callen.gordon

      I am using the "Frequency Measurement" example for the PSoC3 and would like to modify the overall output to be the number of pulse counts (when voltage crosses a threshold) over a specific period of time (e.g. 1 sec). Finally I would like to progress to outputting the total time of these pulses (integrate time when pulse is high) for a defined period of time (e.g. 1 sec). I have attached the file I am working from currently.  The value displayed on the LCD readout of "pulse count/sec" is not providing an accurate reading - based on wave generator/Oscope results.

         
            Thank you in advance for you help.