×

SparkFun will be closed Nov. 28th and Nov. 29th in observance of Thanksgiving. Any orders qualifying for same day shipping placed after 2:00 p.m. MST on Wednesday, Nov 27th will be processed on Monday, Dec 1st. Wishing you a safe and happy holiday weekend from all of us at SparkFun!

MIKROE Proximity 5 Click

Proximity 5 Click is a very accurate and reliable proximity sensing (PS) and ambient light sensing (ALS) device, equipped with the state-of-the-art PS and ALS sensor. The signal processing and conditioning section, three IR LED drivers, and the low noise analog front end with the PS and ALS photo-sensitive elements, are all integrated into the sensor IC, ensuring very accurate and reliable readings, while reducing the workload of the host MCU. The proprietary Filtron™ technology provides near-human eye light spectrum sensitivity and top-class background light cancellation scheme for the ALS section, additionally reducing the workload of the MCU. Finally, the programmable interrupt engine reduces the MCU workload, even more, saving the host MCU of constant polling of the sensor for data.

Another interesting feature of the Proximity 5 Click is the ability to detect gestures. It is possible to trigger an interrupt every time a gesture cycle ( one measurement per IRED) has completed. This allows measurements to be picked up with the correct timing and allows for the development of an accurate gesture algorithm. Rich with features, this Click board™ can be used for a range of different applications which rely on the accurate and reliable close proximity and ambient light sensing, such as the proximity activated surveillance systems, equipment lid closing, screen backlight adjustments, lux meters, and by utilizing gesture detection, it can be used for various types of simple HID interfaces.

Proximity 5 Click features the VCNL4035X01 J, a fully integrated proximity and ambient light sensor with I2C interface and the interrupt function for gesture applications, from Vishay Semiconductors. This sensor features very advanced 16bit Ambient Light Sensor (ALS) which makes use of the proprietary Filtron™ technology, providing spectral response sensitivity near to human eye. The ALS sensor also effectively cancels out infrared light, has immunity to the flickering of fluorescent light sources and has a programmable detection range, with the resolution of up to 0.004 lux per count.

The Proximity Sensing (PS) section of the VCNL4035X01 J IC implements several solutions for the improved proximity detection of objects of any color. It relies on detection of the reflected IR light from the emitting LEDs. Features such as the immunity to a red glow, intelligent crosstalk phenomenon reduction, smart persistence scheme, programmable IR LED current, and selectable sampling resolution, help in achieving a reliable and accurate proximity detection. The processed readings of the ALS and PS sections can be fetched from the respective registers via the I2C interface. The I2C bus lines are routed to the respective mikroBUS™ I2C pins: SCL is the I2C clock and SDA is the I2C data line.

The VCNL4035X01 J sensor IC integrates three independent LED drivers, which can drive the external IR LEDs with up to 200mA, allowing a wide range of external IR LEDs to be used. Proximity 5 Click uses the VSMY2850RG LEDs, 850nm IR LEDs with lenses, from Vishay. These IR LEDs are operating within the wavelength range which is recommended by the sensor manufacturer. The IR LEDs can be driven by the variable duty cycle, which affects the total power consumption, as well as the PS response time.

The VCNL4035X01 J sensor IC is powered by the 3.3V rail from the mikroBUS™ directly. However, since it uses the I2C communication protocol, it is possible to choose the voltage for the I2C pull-up resistors between 3.3V and 5V. This is accomplished by moving the SMD jumper labeled as VCCIO SEL to the appropriate position. This jumper allows communication with both 3.3V and 5V MCUs.

Proximity 5 Click offers programmable interrupt engine. The INT pin is routed to the mikroBUS™ INT pin and it is pulled up by the onboard resistor. When asserted, it is driven to a LOW logic level. The interrupt can be programmed for a wide range of events for both ALS and PS sections: ALS threshold window with two 16bit values for the upper and lower threshold levels, ALS Persistence which affects the integration time before an interrupt is triggered. The PS section offers similar interrupt sources, with the addition of the object detection which triggers an interrupt if the object is detected and PS Active Force mode. This last mode is used when more conservative power consumption is required, as it allows one reading to be made, before reverting back to the standby mode. When the interrupt event occurs, a flag is set in the status register.

To detect a gesture, the Gesture Enable bit has to be set, and the sensor has to be configured to work in the PS Active Force mode. When a trigger bit for the reading is set, all three LEDs will be sequentially triggered. The result will be flagged by the gesture data ready flag and the data can be read from the appropriate register. Also, the interrupt line can be asserted if set so.

The provided library offers functions used to read the data and configure the Proximity 5 Click in an easy way. The provided example application demonstrates using these functions. It can be used as a reference for a custom design.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • Supply Voltage: Min. 2.5V, Typ. 3.3V, Max. 3.6V
  • Ambient Light Range: Min. 0.004 lx, Max. 4192 lx
  • Operation Temperature Range: Min. -40°C, Max. +105°C
  • Supply Current: 300 µA
  • IRED Driving Current: 200mA
  • Full ALS Counts: 65535 steps
  • Full PS Counts: 4096/65535 steps
  • I2C Clock (std mode / fast mode): Min. 10/10 kHz, Max. 10/400 kHz
  • Measurement Distance: Min. 0cm, Max. 50cm

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.