Project 7.23—A Homemade Optical Encoder For Motor Speed Measurement

Optical encoders are used as sensors in motor speed and position control applications. There are several types of optical sensors available, such as incremental sensors, absolute sensors, and linear sensors. The encoder technology is not covered in this book and interested readers can search the Internet for further information and manufacturers' datasheets.
In this project, we will look at the design of an optical sensor to measure and display the speed of a motor. In the design, a round-shaped plate is attached to the motor shaft whose speed is to be measured. Holes are made on this plate at equal distances around the corner of the plate (Figure 7.179). A light source (e.g. infrared) ...

Get PIC Microcontroller Projects in C, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.