# Title: Proximity 3 Click Board™ ## Description: The Proximity 3 Click Board™ is an intelligent proximity and light sensing device, which features the VCNL4200 sensor from Vishay - high sensitivity long distance proximity sensor (PS), ambient light sensor (ALS) and 940 nm IRED, all in one small package. With its smart sensing and light conditioning properties, the Proximity 3 click can be used in a wide range of applications: adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on. How Does The Proximity 3 Click Board™ Work? The Proximity 3 Click Board™ uses the VCNL4200 sensor, which combines matched 940 nm IR emitter and a photodiode for proximity measurement and ambient light sensing. VCNL4200 offers programmable measurement by utilizing the advanced signal processing techniques, allowing the sensor to operate in various conditions. Communication with the microcontroller is done via the I2C interface so that the host controller can set the measurement parameters and request results back from the sensor. Both low and high threshold values for the measured property can also be set via the I2C so that the interrupts can be generated every time the threshold value is exceeded. This allows for the reduced need of the sensor polling, which can result in better power management. With MikroElektronika library functions, setting up the registers is really easy and the tedious task of initializing the sensor is taken care of with a few simple function calls. More information about the sensor's registers and addresses can be found in the VCNL4200 datasheet. The Filtron™ technology used in the ALS, allows the sensor to match the ambient light spectral sensitivity to human eye response and it's immune to fluorescent light flicker. This ensures the accuracy of the measurements. The maximum detection range is selectable (197 / 393 / 786 / 1573 lux) with highest sensitivity 0.003 lux / step. The proximity sensor uses advanced ambient and background light cancellation schemes, so it is fairly immune to interferences that might occur in this case. This allows for a quite precise proximity detection. The sensor can work either in 12-bit or 16-bit mode, selectable by I2C command. The click's range is up to 1.5m. VCNL4200 input voltage is 3V3, while the separate 5V supply rail is used to supply power for the IR emitter pulses, generated by the small external P-channel MOSFET (Q1). This way, the power dissipation of the IRED drive is displaced from the chip, and the high-current IRED drive pulses are isolated from the sensitive integrated circuit sections, connected to the 3V3 rail. Specifications Type Proximity Applications adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on. On-board modules VCNL4200 sensor from Vishay - high sensitivity long distance proximity sensor Key Features high sensitivity long distance proximity sensor (PS), ambient light sensor (ALS) and 940 nm IRED Interface I2C Compatibility mikroBUS Click board size S (28.6 x 25.4 mm) Input Voltage 3.3V,5V Pinout diagram This table shows how the pinout on the Proximity 3 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 TX 14 NC NC 4 SCK RX 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 +5V Power supply Ground GND 8 GND GND 9 GND Ground Proximity 3 click maximum ratings Description Min Typ Max Unit Supply voltage 2.5 3.3 3.6 V Supply voltage for IRED 3.8 5.0 5.5 V Operation temperature range -40 +85 °C Supply current 350 µA IRED driving current 800 mA Full ALS counts 65535 steps Full PS counts 4095/65535 steps I2C clock (std mode / fast mode) 10/10 100/400 kHz Measurement distance 0 1.5 m Onboard settings and indicators Label Name Default Description PWR Power LED - Power LED indicates that the click is powered on ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, MikroE, Proximity, Sensor, Vishay Semiconductor Opto Division ## Price range: 14.0 - 14.0 GBP ## Link: https://thedebugstore.com/products/proximity-3-click-board-mikroe-2801-uk ## Compare-at price range: 20.0 - 20.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Vishay Sensors Device Support: Development Boards and Tools](https://thedebugstore.com/a/llms/collections/devices-vishay-sensors) - [Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/sensor-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Proximity Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/proximity-sensor-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-2801, Available: yes, Inventory: 1 ## Metafields - full_description:

The Proximity 3 Click Board™ is an intelligent proximity and light sensing device, which features the VCNL4200 sensor from Vishay - high sensitivity long distance proximity sensor (PS), ambient light sensor (ALS) and 940 nm IRED, all in one small package.

With its smart sensing and light conditioning properties, the Proximity 3 click can be used in a wide range of applications: adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on. 

How Does The Proximity 3 Click Board™ Work?

The Proximity 3 Click Board™ uses the VCNL4200 sensor, which combines matched 940 nm IR emitter and a photodiode for proximity measurement and ambient light sensing. VCNL4200 offers programmable measurement by utilizing the advanced signal processing techniques, allowing the sensor to operate in various conditions. Communication with the microcontroller is done via the I2C interface so that the host controller can set the measurement parameters and request results back from the sensor.


Both low and high threshold values for the measured property can also be set via the I2C so that the interrupts can be generated every time the threshold value is exceeded. This allows for the reduced need of the sensor polling, which can result in better power management. With MikroElektronika library functions, setting up the registers is really easy and the tedious task of initializing the sensor is taken care of with a few simple function calls. More information about the sensor's registers and addresses can be found in the VCNL4200 datasheet.

The Filtron™ technology used in the ALS, allows the sensor to match the ambient light spectral sensitivity to human eye response and it's immune to fluorescent light flicker. This ensures the accuracy of the measurements. The maximum detection range is selectable (197 / 393 / 786 / 1573 lux) with highest sensitivity 0.003 lux / step. 

The proximity sensor uses advanced ambient and background light cancellation schemes, so it is fairly immune to interferences that might occur in this case. This allows for a quite precise proximity detection. The sensor can work either in 12-bit or 16-bit mode, selectable by I2C command. The click's range is up to 1.5m.

VCNL4200 input voltage is 3V3, while the separate 5V supply rail is used to supply power for the IR emitter pulses, generated by the small external P-channel MOSFET (Q1). This way, the power dissipation of the IRED drive is displaced from the chip, and the high-current IRED drive pulses are isolated from the sensitive integrated circuit sections, connected to the 3V3 rail.

Specifications

Type Proximity
Applications adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on.
On-board modules VCNL4200 sensor from Vishay - high sensitivity long distance proximity sensor
Key Features high sensitivity long distance proximity sensor (PS), ambient light sensor (ALS) and 940 nm IRED
Interface I2C
Compatibility mikroBUS
Click board size S (28.6 x 25.4 mm)
Input Voltage 3.3V,5V


Pinout diagram

This table shows how the pinout on the Proximity 3 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 TX 14 NC
NC 4 SCK RX 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 +5V Power supply
Ground GND 8 GND GND 9 GND Ground

Proximity 3 click maximum ratings

Description Min Typ Max Unit
Supply voltage 2.5 3.3 3.6 V
Supply voltage for IRED 3.8 5.0 5.5 V
Operation temperature range -40 +85 °C
Supply current 350 µA
IRED driving current 800 mA
Full ALS counts 65535 steps
Full PS counts 4095/65535 steps
I2C clock (std mode / fast mode) 10/10 100/400 kHz
Measurement distance 0 1.5 m

Onboard settings and indicators

Label Name Default  Description
PWR Power LED - Power LED indicates that the click is powered on

 

- description_tag: The Proximity 3 Click Board™ is an intelligent proximity and light sensing device, which features the VCNL4200sensor from Vishay. Available from Debug Store UK. - title_tag: MikroE Proximity 3 Click Board™ (MIKROE-2801) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Proximity 3 Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 14.96 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 16.9048 - amazon_fr_currency: EUR - amazon_fr_price: 16.9048 - amazon_es_currency: EUR - amazon_es_price: 16.9048 - amazon_nl_currency: EUR - amazon_nl_price: 16.9048 - amazon_it_currency: EUR - amazon_it_price: 16.9048 - amazon_se_curency: SEK - amazon_se_price: 170.544 - amazon_product_id: 8606018711727 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Proximity 3 Click Board™ is an intelligent proximity and light sensing device, which features the VCNL4200sensor from Vishay - high sensitivity long distance proximity sensor (PS), an ambient light sensor (ALS) and 940 nm IRED, all in one small package. With its smart sensing and light conditioning properties, the Proximity 3 Click Board™ can be used in a wide range of applications: adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on. - amazon_long_description:

The Proximity 3 Click Board™ is an intelligent proximity and light sensing device, which features the VCNL4200 sensor from Vishay - high sensitivity long distance proximity sensor (PS), an ambient light sensor (ALS) and 940 nm IRED, all in one small package.With its smart sensing and light conditioning properties, the Proximity 3 Click can be used in a wide range of applications: adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on.

How the Proximity 3 Click Works

The Proximity 3 Click uses the VCNL4200 sensor, which combines matched 940 nm IR emitter and a photo-diode for proximity measurement and ambient light sensing. VCNL4200 offers programmable measurement by utilising the advanced signal processing techniques, allowing the sensor to operate in various conditions. Communication with the microcontroller is done via the I2C interface so that the host controller can set the measurement parameters and request results back from the sensor.

Proximity Click Board™ - Features.

Both low and high threshold values for the measured property can also be set via the I2C so that the interrupts can be generated every time the threshold value is exceeded. This allows for the reduced need of the sensor polling, which can result in better power management. With MikroElektronika library functions, setting up the registers is really easy and the tedious task of initializing the sensor is taken care of with a few simple function calls. More information about the sensor's registers and addresses can be found in the VCNL4200 datasheet.

The Filtron' technology used in the ALS, allows the sensor to match the ambient light spectral sensitivity to human eye response and it's immune to fluorescent light flicker. This ensures the accuracy of the measurements. The maximum detection range is selectable (197 / 393 / 786 / 1573 lux) with highest sensitivity 0.003 lux / step. The proximity sensor uses advanced ambient and background light cancellation schemes, so it is fairly immune to interferences that might occur in this case. This allows for a quite precise proximity detection. The sensor can work either in 12-bit or 16-bit mode, selectable by I2C command. The Click Board™s range is up to 1.5m.

VCNL4200 input voltage is 3V3, while the separate 5V supply rail is used to supply power for the IR emitter pulses, generated by the small external P-channel MOSFET (Q1). This way, the power dissipation of the IRED drive is displaced from the chip, and the high-current IRED drive pulses are isolated from the sensitive integrated circuit sections, connected to the 3V3 rail.

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-proximity-3-click-board.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-2801 - backorder_label: If no stock shown above, check availability - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- google_product_category: 222 - examples:

We provide a demo application for the Proximity 3 Click Board™ on our LibStock page, developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards with minimal change to the code depending on the microcontroller used.

Library Description

This library contains a set of functions, necessary to work with the Proximity 3 Click Board™.

Key functions

uint16_t prox3_readALS()  - Reads value from ALS register

uint16_t prox3_readPS()  - Reads value from PS register

uint16_t prox3_getDistance()  - Calculating distance

uint16_t prox3_getIlluminance()  - Calculating illuminance

Example Description

This is a simple demonstration of sensor functionality, where the user can read the distance and illuminance data from Proximity 3 click. Distance and illuminance values are sent via UART.

The application is composed of three sections:

void applicationTask()
{
// DISTANCE READ AND CONVERT VALUE TO STRING
    resultPS = prox3_getDistance();
    IntToStr( resultPS, txt1 );
    
// WRITES INFORMATION TO UART
    UART1_Write_Text( "Proximity: ~ " );
    UART1_Write_Text( txt1 );
    UART1_Write_Text( " cmrn" );
    
// AMBIENT LIGHT READ AND CONVERT VALUE TO STRING
    resultALS = prox3_getIlluminance();
    IntToStr( resultALS, txt2 );

// WRITES INFORMATION TO UART
    UART1_Write_Text( "Ambient Light: " );
    UART1_Write_Text( txt2 );
    UART1_Write_Text( " luxrn" );
    
    Delay_ms(1000);
}

The full application code, and ready to use projects can be found on our LibStock page.

Other mikroE Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need 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.

- attachments: [{"download_file":[{"download_file":"Proximity 3 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Vishay VCNL4200 Light Sensor Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-2801 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Vishay Semiconductor Opto Division - device_type: VCNL4200 - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545969853"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"paragraph","children":[{"type":"text","value":"The"},{"type":"text","value":" Proximity 3 Click Board™","bold":true,"italic":true},{"type":"text","value":" is an intelligent proximity and light sensing device, which features the VCNL4200 sensor from Vishay - high sensitivity long distance proximity sensor (PS), ambient light sensor (ALS) and 940 nm IRED, all in one small package."},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":"With its smart sensing and light conditioning properties, the Proximity 3 click can be used in a wide range of applications: adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on. "}]},{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Proximity 3 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Proximity 3 Click Board™","bold":true},{"type":"text","value":" uses the VCNL4200 sensor, which combines matched 940 nm IR emitter and a photodiode for proximity measurement and ambient light sensing. VCNL4200 offers programmable measurement by utilizing the advanced signal processing techniques, allowing the sensor to operate in various conditions. Communication with the microcontroller is done via the I2C interface so that the host controller can set the measurement parameters and request results back from the sensor."},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":"Both low and high threshold values for the measured property can also be set via the I2C so that the interrupts can be generated every time the threshold value is exceeded. This allows for the reduced need of the sensor polling, which can result in better power management. With MikroElektronika library functions, setting up the registers is really easy and the tedious task of initializing the sensor is taken care of with a few simple function calls. More information about the sensor's registers and addresses can be found in the VCNL4200 datasheet."}]},{"type":"paragraph","children":[{"type":"text","value":"The Filtron™ technology used in the ALS, allows the sensor to match the ambient light spectral sensitivity to human eye response and it's immune to fluorescent light flicker. This ensures the accuracy of the measurements. The maximum detection range is selectable (197 / 393 / 786 / 1573 lux) with highest sensitivity 0.003 lux / step. "},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":"The proximity sensor uses advanced ambient and background light cancellation schemes, so it is fairly immune to interferences that might occur in this case. This allows for a quite precise proximity detection. The sensor can work either in 12-bit or 16-bit mode, selectable by I2C command. The click's range is up to 1.5m."},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":"VCNL4200 input voltage is 3V3, while the separate 5V supply rail is used to supply power for the IR emitter pulses, generated by the small external P-channel MOSFET (Q1). This way, the power dissipation of the IRED drive is displaced from the chip, and the high-current IRED drive pulses are isolated from the sensitive integrated circuit sections, connected to the 3V3 rail."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Specifications"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nProximity\nApplications\nadjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on.\nOn-board modules\nVCNL4200 sensor from Vishay - high sensitivity long distance proximity sensor\nKey Features\nhigh sensitivity long distance proximity sensor (PS), ambient light sensor (ALS) and 940 nm IRED\nInterface\nI2C\nCompatibility\nmikroBUS\nClick board size\nS (28.6 x 25.4 mm)\nInput Voltage\n3.3V,5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":""},{"type":"text","value":"Pinout diagram"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on the "},{"type":"text","value":"Proximity 3 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nNC\nNC\n2\nRST\nINT\n15\nINT\nInterrupt output\nNC\n3\nCS\nTX\n14\nNC\nNC\n4\nSCK\nRX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nSCL\nI2C clock\nNC\n6\nMOSI\nSDA\n11\nSDA\nI2C data\nPower supply\n+3.3V\n7\n3.3V\n5V\n10\n+5V\nPower supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Proximity 3 click maximum ratings"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply voltage\n2.5\n3.3\n3.6\nV\nSupply voltage for IRED\n3.8\n5.0\n5.5\nV\nOperation temperature range\n-40\n+85\n°C\nSupply current\n350\nµA\nIRED driving current\n800\nmA\nFull ALS counts\n65535\nsteps\nFull PS counts\n4095/65535\nsteps\nI2C clock (std mode / fast mode)\n10/10\n100/400\nkHz\nMeasurement distance\n0\n1.5\nm"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Onboard settings and indicators"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\n Description\nPWR\nPower LED\n-\nPower LED indicates that the click is powered on"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The Proximity 3 Click Board™ is an intelligent proximity and light sensing device, which features the VCNL4200 sensor from Vishay - high sensitivity long-distance proximity sensor (PS), an ambient light sensor (ALS) and 940 nm IRED, all in one small package. With its smart sensing and light conditioning properties, the Proximity 3 Click Board™ can be used in a wide range of applications: adjusting the brightness of the TFT screen depending on ambient light, turning off the TFT background light if it is covered, very accurate lux meters, reliable security sensors and so on.