How do i collect pulse frequency at under 1 pulse/sec?
KERBS
Posts: 26
The project I am working on involves·receiving pulses from a slowly rotating shaft and converting the frequency of incomming pulses to real world units.· I have a hall effect sensor monitoring shaft rotation and the shaft will turn from 20rpm to· 150rpm.
So pulse output will be from 1 pulse/ 3 seconds to just over 2pulses/second.· The code for the stamp will also be counting accumulating pulses and out putting information to a LCD. I would like to have the LCD updated at least every 2 seconds.· does anyone have any Ideas or tricks to collect incomming pulse rate at very low frequencies.· I've tried "pulsin", but I can only get it to work down to about 5 pulses/sec. Under that and it drops out. "Count" slows everything down dramaticly.·
So pulse output will be from 1 pulse/ 3 seconds to just over 2pulses/second.· The code for the stamp will also be counting accumulating pulses and out putting information to a LCD. I would like to have the LCD updated at least every 2 seconds.· does anyone have any Ideas or tricks to collect incomming pulse rate at very low frequencies.· I've tried "pulsin", but I can only get it to work down to about 5 pulses/sec. Under that and it drops out. "Count" slows everything down dramaticly.·
Comments
Regards,
Al Williams
AWC
Easy RS232 Prototyping
http://www.awce.com/rs1.htm
·