Re: Wiring a rotary encoder
Why re-invent the wheel, if using photo devices anything over around 100p.rev requires a Moiré effect reading head.
Also if just measuring RPM, you don't need a quadrature encoder unless you have positioning and direction in mind.
.What do you intend doing with the signal?
Also you need a system that can read the sensor without interrupt in a constant manner.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.