H-Bridge and Geared Motor

Demonstration circuit for H-bridge and geared motor connected to NI myRIO MXP.
This project introduces students to H-Bridges and the operation, interface theory, and features of a DC motor and rotory encoder. Students complete an activity to build an interface circuit and use LabVIEW and myRIO to drive the DC motor, and observe the change in position in the encoder. Through these activities, students follow steps to demonstrate correct operation of the DC motor and 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 lab 34 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


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

myRIO Mechatronics Accessory Kit

Includes motors, sensors, and resources for teaching and implementing mechatronics concepts.


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

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 Mechatronics Kit
    • Kit components included in this module:
      • Geared motor
      • Jumper wires
  • H-bridge (PmodHB5)
Log in to submit a comment.