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
Accel 2
click
2
3
4. Essential features
Accel 2 click,
with its embedded state
machines, is especially suited for designing
motion control user interfaces. It allows
you to implement gesture recognition.
User-defined programs can distinguish
movement patterns like shake and double
shake, face up and face down, turn and
double turn, and activate an interrupt upon
their execution. An integrated FIFO buffer,
with multiple operating modes, enables
you to optimize between performance and
power consumption.
Turn the board upside down so that
the 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.
1. Introduction
Accel 2 click
carries
ST’s LIS3DSH IC,
a
low-power factory-calibrated three-axis
accelerometer which embeds a FIFO buffer
and two programmable state machines.
The board communicates with the target
board MCU through either SPI (CS#, SCK,
SDO, SDI) or I2C (SCL, SDA) interfaces. It
also has an interrupt pin (INT) which can
be programmed to respond to user defined
movement patterns.
3. Plugging the board in
Once you have soldered the headers your
board is ready to be placed into the 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 the
pins are aligned correctly,
push the board all the way
into the socket.
click
www.mikroe.com
Accel 2 click manual
ver 1.00
BOARD
™
0100000079133
5. Schematic
8. Code examples
Once you have done all the necessary
preparations, it’s time to get your click board
™
up and running. We have provided examples
for mikroC
™
, mikroBasic
™
and mikroPascal
™
compilers on our
Libstock
website. Just
download them and you are ready to start.
VCC-3.3
R4
100K
13
12
11
10
9
CS#
SCK
SDO
SDI
VCC-3.3
R3
10K
SPI
I2C
J3
SPI
I2C
J1
SPI
I2C
J2
ADD1
ADD0
J4
R2
10K
SCK
SCK/SCL
SCL
SDI
SDI/SDA
SDA
SDO
SDO/ADD
VCC-3.3
VCC-3.3
16
15
14
C1
100nF
C2
100nF
U1
LIS3DSH
VCC-3.3
R1
2K2
GND
RES
VDD
SCK/SCL
SDA/SDI
SEL/SDO
CS
1
2
3
4
5
VDDIO
NC
NC
SCL/SPC
GND
GND
GND
INT1/DRDY
RES
INT2
INT
AN
RST
CS
SCK
MISO
MOSI
+3.3V
GND
PWM
INT
TX
RX
SCL
SDA
+5V
GND
.com
9. Support
MikroElektronika offers
free tech support
(www.mikroe.com/support)
until the end of
the product’s lifetime, so if something goes
wrong, we’re ready and willing to help!
INT
SCL
SDA
LD1
VCC-3.3
R5
10K
SDI/SDA
SDO/ADD
CS#
6
7
8
6. Dimensions
25.4 mm / 1000 mils
7. SMD jumpers
mm
LENGTH
WIDTH
HEIGHT*
* without headers
10. Disclaimer
MikroElektronika assumes no responsibility
or liability for any errors or inaccuracies
that may appear in the present document.
mils
1125
1000
130
Accel 2 click
features two sets of jumpers.
The three SEL. COMM. jumpers are for
switching between SPI and I
2
C interfaces
(soldered in I
2
C by default). I
2
C ADD is for
specifying the I2C address.
28.6
25.4
3.3
Specification and information contained in
the present schematic are subject to change
at any time without notice.
Copyright © 2015 MikroElektronika.
All rights reserved.
28.6 mm / 1125 mils