Run the Proximity Workbench
Run the Proximity Workbench
animation
sensors
Run it: Before you read echo time as distance, switch the Light and Proximity Sensing Workbench to Proximity mode. Set an object distance and an air temperature and watch the speed of sound (v = 331.3 + 0.606 x T) and the round-trip echo time update together, so a warmer day visibly shortens the echo for the same distance. Then move the detect and release thresholds and toggle hysteresis to see the dead band absorb chatter as an object approaches the stop line.