Getting Wheel RPM

Now that build season is complete it is time for some fine tuning of things. What I would like to do is use some sort of encoder (any suggestions would be much appreciated) and use it to consistently run our shooting wheels at a set rpm. I am fairly certain a DigitalInput object would be used to do this, however, I have no experience with either the sensor or the programming. Any suggestions or sample code would be much appreciated. Thanks in advance for the help.

There are literally hundreds of recent posts here on CD about this very topic. Try doing a little searching and reading, then come back here with specific questions.

Here are some search words:

shooter encoder Hall effect speed control bang-bang photosensor