Rotary Encoder

Demonstration circuit for rotary encoder, connected to NI myRIO MXP.
In this project, students will learn the principles of operation of encoders, circuitry requirements for operation and debounce, and interfacing techniques for measuring rotational position. Students complete activities to build the interface circuit and use myRIO and LabVIEW to translate quadrature waveforms to rotational position and direction. Through these activities, students follow steps to demonstrate correct operation of the rotary encoder, watch videos involving theory, and participate in a short activity after each video.
by Dr. Ed Doering | Rose-Hulman Institute of Technology


This is module 12 of 39 in the course set, NI myRIO Project Essentials Guide.


  • PDF Project Manual
  • LabVIEW Code
  • Video Tutorials (linked within Project Manual)


  • Basic LabVIEW familiarity
  • Basic circuit building

Related Resources


These labs have related concepts that can expand student experience.


Provides reconfigurable I/O that allows you to teach and implement multiple design concepts with one device.

myRIO Starter Accessory Kit

Includes sensors and components needed for basic projects. Students have the opportunity to engage in custom projects to learn sensor and actuator integration and basic programming.


An integrated development environment designed specifically for engineers and scientists.

Required Software

Download Academic Software, Learn About Software Licensing
  • myRIO Software Bundle (2013 or later)
    • LabVIEW (Requires license)
    • LabVIEW Real-Time Module (Requires license)
    • LabVIEW myRIO Toolkit

Required Hardware

Purchase Engineering Education Products
  • myRIO (enclosed) - View Specifications
  • myRIO Starter Accessory Kit
    • Kit components included in this module:
      • Rotory Encoder
      • .01μF Capacitor
      • Breadboard
      • Jumper Wires
Log in to submit a comment.