This sketch defines two variables: lowerThreshold and upperThreshold. These variables signify our thresholds. S (Signal) pin: is an analog output that can be connected to among the analog inputs with your Arduino. Since these sensors feeling raising stress with depth and because the precise gravities of liquids are diverse, the https://controltechme.com/ultrasonic-level-sensor/