2. Soldering the headers
Before using your click
™
board, make sure
to solder 1x8 male headers to both left
and right side of the board. Two 1x8 male
headers are included with the board in
the package.
1
3
4. Essential features
Proximity click
™
with it’s
VCNL4010
IC
combines an infrared emitter and PIN
photodiode for proximity measurement with
a range of up to 20cm. It can also be used
as ambient light sensor. The
VCNL4010
has
a 16bit resolution which ensures excellent
cross talk immunity. All these features make
this board ideal for consumer and industrial
applications, mobile phones, digital camera,
tablet PC application and many more.
Proximity
click
2
1. Introduction
Turn the board upside down so that
bottom side is facing you upwards.
Place shorter pins of the header into the
appropriate soldering pads.
Turn the board upward again. Make sure
to align the headers so that they are
perpendicular to the board, then solder the
pins carefully.
Proximity click
™
is an accessory board in
mikroBUS
™
form factor. It’s a compact and
easy solution for adding proximity sensor
to your design. It features
VCNL4010
proximity and ambient light sensor.
Proximity click
™
communicates with the
target board microcontroller via
mikroBUS
™
I
2
C (SDA, SCL) and INT lines. The board is
designed to use 3.3V power supply and
3.3V or 5V I/O voltage levels. LED diode
(GREEN) indicates the presence of power
supply.
3. Plugging the board in
Once you have soldered the headers your
board is ready to be placed into desired
mikroBUS
™
socket. Make sure to align the
cut in the lower-right part of the board
with the markings on the silkscreen at
the mikroBUS
™
socket. If all of the pins are
aligned correctly, push the board all
the way into the socket.
click
www.mikroe.com
Proximity click Manual
ver. 1.00
BOARD
0 100000 024300
5. Proximity click
™
Board Schematic
6. SMD Jumpers
There is one zero-ohm SMD jumper
J1
used to
J1
VCC-3.3
VCC
12
VCC-5
select whether 3.3V or 5V I/O voltage level is
used. Jumper
J1
is soldered in 3.3V position by
default.
VCC
VCC
R2
4K7
SDA
SCL
R3
4K7
1
2
3
4
5
U1
VCNL4010
GND
VCC-3.3
11
10
9
8
7
R4
10
INT
GND
IR-A
IR-C
IR-C
SDA
SCL
NC
NC
NC
NC
VDD
AN
RST
CS
SCK
MISO
MOSI
+3.3V
GND
E1
10uF
PWM
INT
TX
RX
SCL
SDA
+5V
GND
INT
SCL
SDA
7. Code Examples
Once you have done all the necessary
preparations, it’s time to get your click
™
board up and running. We have provided
the examples for mikroC
™
, mikroBasic
™
and
mikroPascal
™
compilers on our
Libstock
website. Just download them and you are
ready to start.
VCC
10K
INT
13
R5
6
C3
100nF
.com
VCC
C1
22uF
VCC
C2
100nF
VCC
R1
2K2
LD1
8. Support
MikroElektronika offers
Free Tech Support
(www.mikroe.com/esupport)
until the end
of product lifetime, so if something goes
wrong, we are ready and willing to help!
MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document.
Specification and information contained in the present schematic are subject to change at any time without notice. Copyright © 2013 MikroElektronika. All rights reserved.