Proximity 14 Click-Platine
Proximity 14 Click-Platine
Der Näherungssensor 14 Click Board™ ist eine kompakte Zusatzplatine, die eine Lösung zur Näherungserkennung im Nahbereich enthält. Diese Platine verfügt über den VCNL36825T, einen vollständig integrierten Näherungssensor von Vishay Semiconductors. Sie kombiniert einen Hochleistungs-VCSEL (Vertical-Cavity Surface-Emitting Laser) und eine Fotodiode für Näherungsmessung und Signalverarbeitungs-IC in einem einzigen Gehäuse mit einem 12-Bit-ADC. Sie bietet Näherungserkennung in Anwendungen mit sehr geringem Platzbedarf über ihre standardmäßige serielle digitale I2C-Busschnittstelle und verfügt über eine programmierbare Interruptfunktion.
Mit einer Reichweite von bis zu 20 cm (7,9 Zoll) vereinfacht der VCNL36825T den Einsatz in Verbraucher- und Industrieanwendungen erheblich, da keine mechanischen Barrieren erforderlich sind, um den Sender optisch vom Detektor zu isolieren.
How The Proximity 14 Click Board™ Work?
The Proximity 14 Click Board™ as its foundation uses the VCNL36825T, a new fully integrated proximity sensor designed to increase efficiency and performance in consumer and industrial applications from Vishay Semiconductors. Featuring a vertical-cavity surface-emitting laser (VCSEL), the VCNL36825T combines a photodiode, signal processing IC, and 12-bit ADC in a compact SMD package, with a small 1.6mm light hole. With a range of 20cm, it also provides collision detection and features low power consumption down to 6.63µA to increase efficiency in these applications.
The VCNL36825T simplifies the use and design-in of a proximity sensor as no mechanical barriers are required to isolate the emitter from the detector optically. The proximity sensor uses intelligent cancellation to eliminate cross-talk, while a smart-persistence scheme ensures accurate sensing and faster response time. The VCSEL wavelength peaks at 940nm and has no visible "red-tail".
The Proximity 14 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Standard Mode operation with a clock frequency up to 100kHz and Fast Mode up to 400kHz. It also features an intelligent interrupt function that enables the sensor to work independently until a predefined proximity event or threshold occurs. It then sets an interrupt that requires the MCU to awaken, which reduces power consumption by eliminating polling communication traffic between the sensor and MCU.
The Proximity 14 Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
Specifications
Type | Proximity |
Applications | Can be used for consumer and industrial applications because no mechanical barriers are required to isolate the emitter from the detector optically |
On-board modules | VCNL36825T - fully integrated proximity sensor from Vishay Semiconductors |
Key Features | Low power consumption, high precision, integrated proximity sensor with vertical-cavity surface-emitting laser, I2C configurable, interrupt feature, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
Pinout diagram
This table shows how the pinout on the Proximity 14 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 | |
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 |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
Proximity 14 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Operating Range | - | - | 200 | mm |
Proximity Resolution | - | 12 | - | bits |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the Proximity 14 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe Github account.
Library Description
This library contains API for the Proximity 14 Click Board™ driver.
Key Functions
proximity14_cfg_setup
- Config Object Initialization function.proximity14_init
- Initialization function.proximity14_default_cfg
- Click the Default Configuration function.
Example Description
This example showcases the ability of the device to read proximity values. It can be configured to detect objects up to 20cm of distance.
The application is composed of three sections :
void application_task ( void ) { uint16_t temp_data = 0; proximity14_generic_read( &proximity14, PROXIMITY14_REG_DATA, &temp_data ); log_printf( &logger, " > Data: %urn", temp_data ); Delay_ms( 100 ); }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe Github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Proximity14
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The Proximity 14 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the Proximity 14 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe Github account.
Library Description
This library contains API for the Proximity 14 Click Board™ driver.
Key Functions
proximity14_cfg_setup
- Config Object Initialization function.proximity14_init
- Initialization function.proximity14_default_cfg
- Click the Default Configuration function.
Example Description
This example showcases the ability of the device to read proximity values. It can be configured to detect objects up to 20cm of distance.
The application is composed of three sections :
void application_task ( void ) { uint16_t temp_data = 0; proximity14_generic_read( &proximity14, PROXIMITY14_REG_DATA, &temp_data ); log_printf( &logger, " > Data: %urn", temp_data ); Delay_ms( 100 ); }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe Github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Proximity14
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
The Proximity 14 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Proximity 14 Click-Platine
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.