18.1 Digital Accelerometer
Features
- Ultralow power: as low as 23 µA in measurement mode and
- µA in standby mode at VS = 2.5 V (typical)
- Power consumption scales automatically with bandwidth
- User-selectable resolution
- Fixed 10-bit resolution
- Full resolution, where resolution increases with g range, up to 13-bit resolution at ±16 g (maintaining 4 mg/LSB scale factor in all g ranges)
- Patent pending, embedded memory management system with FIFO technology minimizes host processor load
- Single tap/double tap detection
- Activity/inactivity monitoring
- Free-fall detection
- Supply voltage range: 2.0 V to 3.6 V I/O voltage range: 1.7 V to VS
- SPI (3- and 4-wire) and I2C digital interfaces
Table 6: Block Diagram of ADXL345
- Flexible interrupt modes mappable to either interrupt pin Measurement ranges selectable via serial command Bandwidth selectable via serial command
- Wide temperature range (−40°C to +85°C)
- 10,000 g shock survival
- Pb free/RoHS compliant
- Small and thin: 3 mm × 5 mm × 1 mm LGA package
Applications
- Handsets Medical instrumentation
- Gaming and pointing devices
- Industrial instrumentation Personal navigation devices
- Hard disk drive (HDD) protection
General Description
The ADXL345 is a small, thin, ultralow power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16 g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface. The ADXL345 is well suited for mobile device applications. It measures the static acceleration of gravity in tilt-sensing applications, as well as dynamic acceleration resulting from motion or shock. Its high resolution (3.9 mg/LSB) enables measurement of inclination changes less than 1.0°. Several special sensing functions are provided. Activity and inactivity sensing detect the presence or lack of motion by comparing the acceleration on any axis with user-set thresholds. Tap sensing detects single and double taps in any direction. Freefall sensing detects if the device is falling. These functions can be mapped individually to either of two interrupt output pins. An integrated, patent pending memory management system with a 32-level first in, first out (FIFO) buffer can be used to store data to minimize host processor activity and lower overall system power consumption.
Figure 61: ADXL345
Low power modes enable intelligent motion-based power management with threshold sensing and active acceleration measurement at extremely low power dissipation. The ADXL345 is supplied in a small, thin, 3 mm × 5 mm × 1 mm, 14-lead, plastic package.
Specifications
TA = 25°C, VS = 2.5 V, VDD I/O = 1.8 V, acceleration = 0 g, CS = 10 µF tantalum, CI/O = 0.1 µF, output data rate (ODR) = 800 Hz, unless otherwise noted. All minimum and maximum specifications are guaranteed. Typical specifications are not guaranteed. Table 1.
Parameter | Test Conditions | Min | Typ1 | Max | Unit |
---|---|---|---|---|---|
SENSOR INPUT | Each axis | ||||
Measurement Range | User selectable | ±2, ±4, ±8, ±16 | g | ||
Nonlinearity | Percentage of full scale | ±0.5 | % | ||
Inter-Axis Alignment Error | ±0.1 | Degrees | |||
Cross-Axis Sensitivity2 | ±1 | % | |||
OUTPUT RESOLUTION | Each axis | ||||
All g Ranges | 10-bit resolution | 10 | Bits | ||
±2 g Range | Full resolution | 10 | Bits | ||
±4 g Range | Full resolution | 11 | Bits | ||
±8 g Range | Full resolution | 12 | Bits | ||
±16 g Range | Full resolution | 13 | Bits | ||
SENSITIVITY | Each axis | ||||
Sensitivity at XOUT, YOUT, ZOUT | All g-ranges, full resolution | 230 | 256 | 282 | LSB/g |
±2 g, 10-bit resolution | 230 | 256 | 282 | LSB/g | |
±4 g, 10-bit resolution | 115 | 128 | 141 | LSB/g | |
±8 g, 10-bit resolution | 57 | 64 | 71 | LSB/g | |
±16 g, 10-bit resolution | 29 | 32 | 35 | LSB/g | |
Sensitivity Deviation from Ideal | All g-ranges | ±1.0 | % | ||
Scale Factor at XOUT, YOUT, ZOUT | All g-ranges, full resolution | 3.5 | 3.9 | 4.3 | m_g/_LSB |
±2 g, 10-bit resolution | 3.5 | 3.9 | 4.3 | m_g/_LSB | |
±4 g, 10-bit resolution | 7.1 | 7.8 | 8.7 | m_g/_LSB | |
±8 g, 10-bit resolution | 14.1 | 15.6 | 17.5 | m_g/_LSB | |
±16 g, 10-bit resolution | 28.6 | 31.2 | 34.5 | m_g/_LSB | |
Sensitivity Change Due to Temperature | ±0.01 | %/°C | |||
0 g OFFSET | Each axis | ||||
0 g Output for XOUT, YOUT | −150 | 0 | +150 | mg | |
0 g Output for ZOUT | −250 | 0 | +250 | mg | |
0 g Output Deviation from Ideal, XOUT, YOUT | ±35 | mg | |||
0 g Output Deviation from Ideal, ZOUT | ±40 | mg | |||
0 g Offset vs. Temperature for X-, Y-Axes | ±0.4 | mg/°C | |||
0 g Offset vs. Temperature for Z-Axis | ±1.2 | mg/°C | |||
NOISE | ODR = 100 Hz for ±2 g, 10-bit resolution or all g-ranges, full resolution | 0.75 | LSB rms | ||
Z-Axis | ODR = 100 Hz for ±2 g, 10-bit resolution or all g-ranges, full resolution | 1.1 | LSB rms | ||
OUTPUT DATA RATE AND BANDWIDTH | User selectable | ||||
Output Data Rate (ODR)3, 4, 5 | 0.1 | 3200 | Hz | ||
SELF-TEST6 | 0.20 | 2.10 | g | ||
Output Change in Y-Axis | −2.10 | −0.20 | g | ||
Output Change in Z-Axis | 0.30 | 3.40 | g | ||
POWER SUPPLY | 2.0 | 2.5 | 3.6 | V | |
Interface Voltage Range (VDD I/O) | 1.7 | 1.8 | VS | V | |
Supply Current | ODR ≥ 100 Hz | 140 | µA | ||
ODR < 10 Hz | 30 | µA | |||
Standby Mode Leakage Current | 0.1 | µA | |||
Turn-On and Wake-Up Time7 | ODR = 3200 Hz | 1.4 | ms |
Table 7: Specifications of ADXL345
Parameter | Test Conditions | Min | Typ1 | Max | Unit |
---|---|---|---|---|---|
TEMPERATURE | −40 | +85 | °C | ||
WEIGHT | 30 | mg |
Table 8: Parameters of ADXL345
- The typical specifications shown are for at least 68% of the population of parts and are based on the worst case of mean ±1 σ, except for 0 g output and sensitivity, which represents the target value. For 0 g offset and sensitivity, the deviation from the ideal describes the worst case of mean ±1 σ.
- Cross-axis sensitivity is defined as coupling between any two axes.
- Bandwidth is the −3 dB frequency and is half the output data rate, bandwidth = ODR/2.
Absolute Maximum Ratings
Parameter | Rating |
---|---|
Acceleration | 10,000 g |
Any Axis, Powered | 10,000 g |
VS | −0.3 V to +3.9 V |
VDD I/O | −0.3 V to +3.9 V |
Digital Pins | −0.3 V to VDD I/O + 0.3 V or 3.9 V, whichever is less |
All Other Pins | −0.3 V to +3.9 V |
Output Short-Circuit Duration (Any Pin to Ground) | Indefinite |
Temperature Range Powered | −40°C to +105°C |
Storage | −40°C to +105°C |
- The output format for the 3200 Hz and 1600 Hz ODRs is different than the output format for the remaining ODRs. This difference is described in the Data Formatting of Upper Data Rates section.
- Output data rates below 6.25 Hz exhibit additional offset shift with increased temperature, depending on selected output data rate. Refer to the Offset Performance at Lowest Data Rates section for details.
Pin Configuration and Function Descriptions
ADXL345
TOP VIEW
(Not to Scale)
SCL/SCLK
Table 9: Pin Configuration of ADXL345
Pin Function Descriptions
Pin No. | Mnemonic | Description |
---|---|---|
1 | VDD I/O | Digital Interface Supply Voltage. |
2 | GND | This pin must be connected to ground. |
3 | RESERVED | Reserved. This pin must be connected to VS or left open. |
4 | GND | This pin must be connected to ground. |
5 | GND | This pin must be connected to ground. |
6 | VS | Supply Voltage. |
7 | CS | Chip Select. |
8 | INT1 | Interrupt 1 Output. |
9 | INT2 | Interrupt 2 Output. |
10 | NC | Not Internally Connected. |
11 | RESERVED | Reserved. This pin must be connected to ground or left open. |
12 | SDO/ALT ADDRESS | Serial Data Output (SPI 4-Wire)/Alternate I2C Address Select (I2C). |
13 | SDA/SDI/SDIO | Serial Data (I2C)/Serial Data Input (SPI 4-Wire)/Serial Data Input and Output (SPI 3-Wire). |
14 | SCL/SCLK | Serial Communications Clock. SCL is the clock for I2C, and SCLK is the clock for SPI. |