I am building an Arduino course for my students, and I could not find a tutorial on taking readings from an ultrasonic sensor. I wanted a simple tutorial which shows students how to get information from an ultrasonic sensor, and do something with it. So I decided to make one.
The project simply takes a reading from the ultrasonic sensor and then displays the measurement on a LCD. The code is very simple as its purpose is for explanation.