Quote:
Originally Posted by fb39ca4
A standard encoder might not be able to handle a wheel spinning that fast.
|
How fast is "that fast"? The OP did not say what speed they are running their shooter at.
A "standard" US Digital E4P 250CPR encoder, if setup properly
*, should be able to easily handle speeds up to 5000 rpm.
Quote:
|
What we used was a photoswitch from the 2011 KoP to count the spokes on the wheel.
|
If the spokes are not wide enough, that detector will have difficulty keeping up at high speeds.
* connect only Channel A. Leave Channel B disconnected. Instantiate it as an up/down counter in the Counter class, and set it to count up only. Set the FPGA sample averaging ring buffer to 125. Use the getPeriod() method in the counter class, and compute rpm = 60/(250*period). See attachment.