Skip to product information
1 of 3

Mikroelektronika d.o.o.

Proximity 8 Click Board

Proximity 8 Click Board

Close-range Proximity Detector
SKU: MIKROE-3439
Regular price
£13.40 inc VAT
£11.20 exc VAT
Regular price £16.00 GBP Sale price
£13.40 inc VAT
£11.20 exc VAT
Sale Sold out
Shipping calculated at checkout.
If no stock shown above, check availability
View full details

Overview

The Proximity 8 Click Board™ is a close-range proximity sensing Click Board™, equipped with the VCNL36687S, a very accurate and power-efficient proximity sensor (PS) with VCSEL. A Vertical-Cavity Surface-Emitting Laser (VCSEL) is used in conjunction with the advanced analog and digital front-end circuits, which allow minimal power consumption and simplified operation. The sensor can be triggered by a single command over the I2C interface. An advanced interrupt engine allows reliable MCU interrupt triggering, featuring the programmable persistence which helps to avoid false reporting.

The Proximity 8 Click Board™ can detect objects regardless of their color, thanks to the VCSEL that emits a light beam with the wavelength of 940nm. This makes it also immune to a red glow. The current through the VCSEL can be programmed by the user, allowing yet another aspect of controlling the power consumption, which is already about 10x less than other similar sensors. These features make Proximity 8 a perfect solution for the development of battery-operated and mobile applications, IoT applications, and similar applications that require low power consumption and reliable PS detection in close range.

How Does The Proximity 8 Click Board™  Work?

The Proximity 8 Click Board™  is based around the VCNL36687S, a proximity sensor with VCSEL in a single package, with the I2C Interface, from Vishay. This is a proximity sensor aimed towards portable, mobile and IoT applications, where close proximity detection is required. A good example might be a display activation in the close proximity of an operator. The sensor itself has an advanced analog and digital frontend circuits, which make it easy working with the sensor: it can be set to trigger a PS detection by a single operation over the I2C. The rest of the time, it will stay in the standby mode, saving the power that way.

The VCNL36687S features a 12-bit ADC, therefore the output data is in 12-bit format. There are two registers that are used to hold the output result. Besides the four Most Significant Bits (MSBs), the PS data output high-byte register contains another bit that indicates that the device entered the sunlight protection mode.

The operation of the VCNL36687S can be configured by writing to a set of CONFIG registers. There are four config registers, which are used to set the PS sampling period, interrupt persistence value, smart persistence, interrupt, operating mode, etc. The comprehensive list of all the registers and their function is given within the VCNL36687S datasheet. However, Proximity 8 click supports a mikroSDK compatible library, which contains a set of functions used to simplify and accelerate the development.

There are two pairs of threshold registers, used to trigger an interrupt when the measurement exceeds their values. These registers contain two 12-bit values, which represent the boundaries of the detection window. Each time one of these values is exceeded, an interrupt will be generated, and the INT pin will be asserted to a LOW logic level. The interrupt flag bit indicates the condition that caused an interrupt. The interrupt persistence can be set, preventing false triggering: the INT pin will be asserted only after a number of consecutive measurements that exceed either of the threshold values. This pin is routed to the mikroBUS™ INT pin, and it is normally pulled up by a resistor.

Another feature of the VCNL36687S sensor is the Logic Output mode: close proximity of an object will trigger an interrupt (a logic LOW level on the INT pin). When the object moves away, the INT pin will be de-asserted (a logic HIGH level on the INT pin). The difference between this mode and the other modes is that the user does not have to read the status bit to clear the interrupt and de-assert the INT pin. It will be controlled automatically by the low/high threshold values.

To improve the reliability of the detection, the VCNL36687S employs a smart cancelation scheme. It uses the value stored within the register to subtract it from the output measurement, reducing the crosstalk phenomenon. A sunlight mode allows the device to be used even when exposed to sunlight.

The VCNL36687S is operated by 1.8V, therefore a voltage regulator IC had to be used. The logic section of the VCNL36687S allows it to be operated at 3.3V directly, so no logic level translation is required if the Click board™ is used with MCUs that use 3.3V logic levels. However, if operated by an MCU that uses 5V for logic levels, a proper logic level voltage translation is required.

Specifications

Type Proximity
Applications It is a perfect solution for the development of battery-operated and mobile applications, IoT applications, and similar applications that require low power consumption and reliable PS detection in close range.
On-board modules VCNL36687S, a proximity sensor with VCSEL in a single package, with the I2C Interface, from Vishay.
Key Features Very low power consumption reached by using advanced analog and digital frontends. VCSEL onboard allows red glow immunity, intelligent crosstalk cancelation, fast PS response, programmable interrupt engine which allows extremely useful Logic Output mode, etc.
Interface I2C
Compatibility mikroBUS
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V

Pinout diagram

This table shows how the pinout on the Proximity 8 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Pin Notes
NC 1 AN PWM 16 NC
NC 2 RST INT 15 INT Interrupt output
NC 3 CS RX 14 NC
NC 4 SCK TX 13 NC
NC 5 MISO SCL 12 SCL I2C Clock
NC 6 MOSI SDA 11 SDA I2C Data
Power Supply 3.3V 7 3.3V 5V 10 NC
Ground GND 8 GND GND 9 GND Ground

Onboard settings and indicators

Label Name Default  Description
PWR PWR - Power indication LED

 

Frequently Asked Questions

Have a Question?

Be the first to ask a question about this.

Ask a Question

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)