Level detectors and calibrations