Pushbutton Switch

Demonstration circuit for pushbutton switch: schematic diagram, recommended breadboard layout, and connection to NI myRIO MXP.
In this project, students learn the essential concepts associated with a pushbutton switch and apply software-based edge detection to convert a pushbutton press into a trigger event using myRIO and LabVIEW. Through these activities, students follow steps to demonstrate correct operation of the pushbutton switch, watch videos involving theory, and participate in a short activity after each video.


This is lab 3 of 39 in the course, 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.


LabVIEW is systems engineering software for applications that require test, measurement, and control with rapid access to hardware and data insights.

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:
      • Pushbutton switch (integrated with rotary encoder)
      • Jumper Wires
      • Breadboard
Log in to submit a comment.