Proximity sensor is a distance sensor that fetect objects without any physical contact. In this app the sensor output is represented by one and zero. When sensor detect any object it'll transfer '1' to arduino otherwise it'll send '0' to arduino. Using combinations of one and zero we can control every thing we want from transducers to home appliances.