Vernier Software and Technology - Celebrating 35 years
Vernier Software & Technology

PID Ping Pong Ball Levitation

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


Levitation is a process in which an object is suspended against gravity by a physical force. Many methods can be used as the levitating medium, including magnetic repulsion, viscous liquids, sound waves, and air currents. In this Project, we will use an air stream provided by a fan to provide the levitating force on a ping-pong ball. Controlling the ping-pong ball is not easy, so it requires a good control system, which you can build using LabVIEW.


In this Project, you will build a device to levitate a ping-pong ball in a long vertical tube using the force of air. You will use a small DC fan powered by a Vernier Power Amplifier to provide the lift force for the ping-pong ball. The fan should be secured to the bottom of the tube in such a way that there is an air-tight seal between the sides of the fan and the tube, but that the top and bottom of the fan are open to provide air intake and exhaust. Your LabVIEW program should allow the user to control the speed of the fan (the lift force on the ball) from the front panel via a voltage control to the fan motor. When program execution ends, the fan should automatically turn off.

Sensors and Equipment

This project features the following Vernier sensors and equipment.

Additional Requirements

You will also need

Standards Correlations

No standards correlations for this experiment.

Project 12 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