The Si1143 Proximity Sensor uses infrared (IR) light to detect objects within its field of view. Using integrated detectors for IR and visible light, the device can measure levels of ambient IR and visible light as well as the amount of light reflected back from each of three onboard IR light emitting diodes (LEDs). A simple I2C communication interface allows easy integration with any microcontroller. Light amplitude measurements can be processed by the application code to determine the approximate position of an object in front of the sensor and/or its relative distance from the sensor. To recognize “swipe” gestures, the application can monitor whether an object (for example, a user’s hand) passes across the field of view in a particular direction or pattern.