Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4662 Datasheet(PDF) 31 Page - STMicroelectronics

Part # AN4662
Description  This document describes the low-voltage 3-axis digital output linear MEMS accelerometer provided
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4662 Datasheet(HTML) 31 Page - STMicroelectronics

Back Button AN4662 Datasheet HTML 27Page - STMicroelectronics AN4662 Datasheet HTML 28Page - STMicroelectronics AN4662 Datasheet HTML 29Page - STMicroelectronics AN4662 Datasheet HTML 30Page - STMicroelectronics AN4662 Datasheet HTML 31Page - STMicroelectronics AN4662 Datasheet HTML 32Page - STMicroelectronics AN4662 Datasheet HTML 33Page - STMicroelectronics AN4662 Datasheet HTML 34Page - STMicroelectronics AN4662 Datasheet HTML 35Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 43 page
background image
AN4662
6D/4D orientation detection
7
6D/4D orientation detection
The LIS2HH12 provides advanced capability to detect the orientation of the device in
space, enabling easy implementation of an energy-saving procedure and automatic image
rotation for handheld devices.
7.1
6D orientation detection
Allows generating an Interrupt signal when one face of the device is stable in a known
direction (almost flat): six orientations of the device in space can be detected. The 6D
orientation direction function can be enabled through the AOI and 6D bits of the
IG_CFG1(2) register, in detail ZHIE, ZLIE, YHIE, YLIE, XHIE and XLIE must be set to “1” in
order to generate the interrupt in all the six possible directions. The 6D interrupt is asserted
when only one axis exceeds the selected threshold and the accelerations measured from
other two axes are lower than the threshold, while the interrupt is deasserted when more
than one axis measures acceleration that exceeds the selected threshold.
When configured for 6D function, the ZH, ZL, YH, YL, XH, and XL bits of IG_SRC1(2) give
information about the device orientation indicating which face is almost flat and in which
direction (i.e. face up or face down). Only one of the six LSB of IG_SRC1(2) could be set to
“1” when 6D detection is enabled: ZH or ZL or YH or YL or XH or XL.
In more detail:
•
ZH (YH, XH) is equal to “1” when the face perpendicular to the Z(Y,X) axis is almost
flat and the acceleration measured on the Z(Y,X) axis is positive and in the module
bigger than the threshold.
•
ZL (YL, XL) is equal to “1” when the face perpendicular to the Z(Y,X) axis is almost flat
and the acceleration measured on the Z(Y,X) axis is negative and in the module
bigger than the threshold.
There are two possible configurations for the 6D function:
•
6D movement recognition: In this configuration the interrupt is generated when the
device moves from a direction (known or unknown) to a different known direction. The
interrupt signal is active only for 1/ODR [s] then it is automatically deasserted. This
function is activated by setting the AOI-bit = 0 and 6D-bit = 1 in IG_CFG1(2) register.
IG_CFG1(2) register must be set to 0x7F in order to generate the 6D movement
interrupt in all six directions.
•
6D position recognition: In this configuration the interrupt is generated when the
device is stable in one of the six known positions; the interrupt remains active as long
as the position is maintained. This function is activated by setting the AOI-bit = 1 and
•
6D-bit = 1 in IG_CFG1(2) register. IG_CFG1(2) register must be set to 0xFF in order
to generate the interrupt in all six positions.
Referring to Figure 15: "6D movement vs. 6D position interrupt", the 6D movement line
shows the behavior of the interrupt when the device is configured for 6D movement
recognition on the X and Y positive axis (IG_CFG1(2) = 0x4A), while the 6D position line
shows the behavior of the interrupt when the device is configured for 6D position
recognition on the X and Y positive axis (IG_CFG1(2) = 0xCAh).
Referring to Figure 16: "6D recognized positions", the device has been configured for 6D
position function on the X, Y, and Z axis. Table 25: "IG_SRC1(2) register in 6D position"
shows the content of the IG_SRC1(2) register for each position.
DocID027579 Rev 1
31/43



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com