Demonstration circuit for photointerrupter, connected to NI myRIO NXP.
In this project, students will learn the principle operations of a photointerupter, the circuitry required for operation, and interfacing techniques to sense when the light path between the emitter and detector is blocked. Students complete activities to build the interface circuit, and use myRIO and LabVIEW to collect data and translate it into position and speed measurements. Through these activities, students will follow steps to demonstrate correct operation of the photointerruptor, 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 13 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.


An integrated development environment designed specifically for engineers and scientists.

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.

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:
      • Photointerrupter
      • 470Ω Resistor
      • Breadboard
      • Jumper Wires
Log in to submit a comment.