This video explores the programming stacks provided to explore how the Ultrasonic Sensor can be used from the Robot Trainer Unit
https://education.lego.com/en-us/lessons/ev3-robot-trainer/2-objects-and-obstacles#lesson-plan
https://sites.google.com/view/lego-ev3-classroom-bootcamp/