Ultrasonic Sensor
Last Updated: 8/1/18
Teaching Standards:
In this module we will wire up an ultrasonic sensor and attach it to our Raspberry
Pi. Using the ultrasonic sensor we will measure the distance an object is away from
the sensor. The distance of the object will periodically print to the screen. This
module can be especially useful for obstacle detection.

The presentation material and the code can be downloaded at
Contact Us
College of Engineering and Physical Sciences
Engineering Education and Research Building (EERB)
- Room 401
- 1000 E. University Ave
- Laramie, WY 82071
- Dept. 3295
- Email: enginfo@uwyo.edu
- Phone: (307) 766-4253
The University of Wyoming has earned its Research Level 1 (R1) status from the Carnegie Classification of Institutions of Higher Education, placing Wyoming's only four-year university with the top research universities in the United States.
