This is the circuit diagram of car parking guard based IR sensor to detect the distance between car bumper and…