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