We are independent & ad-supported. We may earn a commission for purchases made through our links.

Advertiser Disclosure

Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.

How We Make Money

We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently from our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What is a Rotary Encoder?

By Dorothy Distefano
Updated Feb 27, 2024
Our promise to you
WiseGEEK is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At WiseGEEK, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

A rotary encoder, also referred to as a shaft encoder, is a sensor that generates an electrical signal in response to a rotational movement. This signal is used to determine or control the speed or position of a mechanical device. A rotary encoder is mounted on a cylindrical shaft and is often used in combination with mechanical conversion devices, such as linear slides and rack and pinions, to measure linear movement. Rotary encoders are used on a wide variety of precision equipment that requires close control of position or speed, including medical devices, robotics, assembly machines, and testing equipment, among others.

There are two main types of rotary encoder. An incremental encoder generates a series of pulses, or counts, as it rotates. Its output is measured in pulses per revolution, and these pulses are used to measure speed or keep track of position. An absolute encoder generates an output signal that is in digital bits, with each bit corresponding to a known position. As a result, an absolute encoder can be used directly to indicate actual position.

The primary components of a rotary encoder are the disk, sensor, and electronics. The disk contains a pattern of fine lines on its surface or external teeth machined on the outside diameter. A sensor is mounted in close proximity to the disc, and reads the lines or teeth. The electronics consist of an output device that receives the signal from the sensor and converts it into a usable signal that provides speed and position feedback. The disk, sensor, and electronics are all mounted inside a housing, with a single cable extending out of the housing that electrically connects the encoder to other devices.

A rotary encoder can use either optical or magnetic-sensing technology. An optical encoder uses a light emitting diode that shines light through a thin glass disk with a pattern of fine lines on its surface. The light passes through the glass disk and a photo-detector receives the signal and produces an electrical output. A magnetic encoder uses a magneto-resistive sensor that can detect changes in the magnetic field as the patterned disk rotates. These changes correspond to the different angular positions as the disk moves.

Rotary encoders are available in many sizes, with different levels of resolution, and with special features such as indicator lights, custom disks, and improved electronics. Selecting the right encoder for a particular application depends primarily on the speed of rotation, measurement accuracy required, and use environment. A rotary encoder with optical sensing is most often used in applications where high operating speeds and resolution are required. An encoder with magnetic sensing is more resistant to environmental factors like dust, moisture, vibration, and mechanical shock, and is typically used for more rugged applications.

WiseGEEK is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Discussion Comments

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGEEK, in your inbox

Our latest articles, guides, and more, delivered daily.