×

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 6 Click

Proximity 6 Click is a versatile proximity detection device on a Click board™. It can detect a foreign object distanced up to 20cm. The Click board™ features a detection sensor IC that can trigger a threshold based interrupts, which makes this Click board™ capable of detecting even simple gesture movements. The advanced onboard IC sensor features LED driver section, a light sensor with the integrated analog front end (AFE), 14 bit analog to digital converter (ADC), and digital engine for processing and aggregation of the measurement result, which simplifies the firmware development. The ambient light cancellation includes both digital and optical filtering, resulting in increased detection reliability.

With its high sensitivity and signal to noise ratio, this Click board™ is ideally suited for a range of applications that rely on accurate and reliable proximity detection. It can be used for proximity activated surveillance systems, equipment lid closing, object proximity detection, simple gesture activated HID interface, and other similar applications which rely on an accurate object proximity detection.

The main sensor IC on the Click board™ is the ADUX1020, a photometric sensor for the gesture and proximity detection, from Analog Devices. Among other sections, this IC contains a LED driver, used to drive an externally connected LED, which provides feedback for the ADUX1020 sensory sections. Therefore, the LED should be chosen so that its spectrum matches the spectral sensitivity of the on-chip light sensor. For this reason, the Click board™ is equipped with the narrow beam LED from OSRAM with its spectral response characteristic peaking at 860nm, which is a perfect choice for this application.

The proximity detection consists of sending a pulse to the LED while measuring the response of the reflected light. Each data sample is constructed from the sum of a configurable number of individual pulses. There can be up to 64 such pulses. Additional intersample averaging can be applied to these values for the improved noise reduction, and the results are stored in the FIFO buffer, from where the MCU can read them via the standard I2C interface. Most of the parameters are user configurable, such as the sampling frequency, a number of pulses, averaging parameters and more. More in-depth information about the registers can be found in the ADUX1020 datasheet.

Aimed towards the low consumption market, the ADUX1020 uses a rather low voltage range, between 1.7V and 1.9V. Since the most of the MCUs use either 3.3V or 5V, the Click board™ has to be equipped with the supporting circuitry, which is used to convert the MCU signal levels to levels acceptable for the ADUX1020 IC. This supporting circuitry consists of a small LDO that provides 1.8V for the proper ADUX1020 IC operation, as well as the bidirectional I2C voltage level translator IC (PCA9306), and a single bit, dual voltage level translator IC (SN74LVC1T45), used for proper conversion of the logic voltage levels. These level shifting ICs are supplied with the referent 1.8V from the LDO from one side, and selectable VCC voltage from the other side. VCC voltage can be selected between 3.3V and 5V, by using the SMD jumper labeled as VCC SEL. This allows both 3.3V and 5V MCUs to be interfaced with the ADUX1020 IC.

Proximity 6 Click offers an interrupt output pin that can be used to trigger an interrupt on the host MCU. The ADUX1020 IC interrupt engine allows several interrupt sources, which can be used to trigger a state change on the INT pin. These sources include configurable FIFO buffer threshold, two pairs of proximity detection interrupts (proximity OFF and proximity ON), sample interrupts, and even a watchdog interrupt. The INT pin itself is highly configurable. For example, it can be set to be either active HIGH or active LOW, or it can be set to output the internal clock of the ADUX1020 IC. When asserted, this pin triggers an MCU interrupt, informing it that the configured interrupt event has occurred. The MCU can then read the desired register output, not having to poll it constantly, which saves both MCU cycles and power. The INT pin is routed via the level shifting IC to the mikroBUS™ INT pin.

As already mentioned, detailed information on the ADUX1020 IC registers can be found in the datasheet. However, MikroElektronika provides a library that contains functions compatible with the MikroElektronika compilers, which can be used for simplified programming of the Proximity 6 Click. The library also contains an example application, which demonstrates its use. This example application can be used as a reference for custom designs.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V or 5V

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.