This sketch defines two variables: lowerThreshold and upperThreshold. These variables stand for our thresholds. S (Signal) pin: is definitely an analog output that could be linked to one of the analog inputs on your own Arduino. The requirement for Digital sign processing circuitry can be used to create the ultrasonic https://controltechme.com/ultrasonic-level-sensor/