Proximity (GP2Y0A21YK ) distance Sensor with Arduino

The IR (Infra Red) proximity sensor or distance sensor has two elements one is IR emitter…