Vernier Software and Technology
Vernier Software & Technology

DC Motor Control

Figure from experiment 5 from Engineering Projects with NI LabVIEW and Vernier


Small DC motors find many uses in electronic devices and are a favorite component of engineers and hobbyists. The input voltage to a motor determines how fast it rotates, but in many projects it is important to be able to measure the speed of the motor. A tachometer is an instrument that measures the rotational speed of a motor's shaft in revolutions per minute (rpm). Tachometers are used on cars and aircraft to show the rate of rotation of the engine's crankshaft, and can be used to assist the driver in selecting the appropriate throttle and gear settings for safe driving conditions since exceeding the maximum safe operating speed on an engine can lead to overheating and engine failure. Some tachometers use lasers to measure rotational speed; others use a small generator to produce a voltage that is roughly proportional to the rotational speed. This Project uses a Photogate to determine the speed of the motor.


In this Project, you will build a tachometer to measure the rotational speed of a DC motor. First you must build a circuit to power your motor from the Vernier Digital Control Unit (DCU). Your circuit should contain a potentiometer to allow the user to control the voltage to the motor. Then you will write a LabVIEW program to determine the rotational speed in revolutions per minute (rpm) by measuring the period of a propeller mounted to the motor shaft passing through a Vernier Photogate.

Sensors and Equipment

This project features the following Vernier sensors and equipment.

Additional Requirements

You will also need

Engineering Projects with NI LabVIEW and Vernier

See other experiments from the lab book.

1Build a Temperature Sensor
2Digital Control Systems
3LED Color Mixer
4Hot Wire Anemometer
5DC Motor Control
6Light Intensity & Stepper Motors
7Servo Motors
8Analyzing the Heart with EKG
9Blood Pressure
10Strain Gage Measurements
11Propeller-Powered Pendulum
12PID Ping Pong Ball Levitation

Project 5 from Engineering Projects with NI LabVIEW and Vernier Lab Book

<i>Engineering Projects with NI LabVIEW and Vernier</i> book cover

Included in the Lab Book

Vernier lab books include word-processing files of the student instructions, essential teacher information, suggested answers, sample data and graphs, and more.

Buy the Book

Go to top