23  Accelerometer Spec Case Study

23.1 Learning Objectives

By the end of this chapter, you will be able to:

  • Analyze real-world datasheets: Walk through all sections of an accelerometer specification sheet
  • Interpret electrical specifications: Understand voltage, current, and ratiometric output calculations
  • Read performance metrics: Evaluate sensitivity, noise density, and bandwidth specifications

Key Concepts

  • Sensitivity: The output signal change per unit of measured quantity; for the ADXL345, sensitivity is typically 256 LSB/g at ±2g range — more LSBs per g means finer resolution
  • Noise Density: The measurement noise floor expressed as noise per root-hertz; lower noise density enables measuring smaller accelerations but requires lower bandwidth to achieve acceptable SNR
  • ODR (Output Data Rate): The rate at which the accelerometer samples and outputs data; higher ODR enables faster motion detection but consumes more power
  • FIFO Buffer: On-chip first-in-first-out memory that buffers samples until the host reads them; enables the accelerometer to collect data while the MCU is in deep sleep
  • Activity/Inactivity Detection: Hardware interrupt triggers based on acceleration thresholds; allows the MCU to sleep and wake only on motion events
  • SPI vs I2C Interface: Both are supported by ADXL345; SPI offers higher speed (5 MHz vs 400 kHz) and better noise immunity; I2C requires fewer pins
  • g-Range Selection: Choosing between ±2g, ±4g, ±8g, ±16g trades resolution for range; ±2g gives maximum resolution for detecting small motions like step counting
In 60 Seconds

This accelerometer case study walks through a real ADXL345 datasheet to demonstrate how to extract the four critical specifications for any MEMS sensor — sensitivity, noise density, bandwidth, and power modes — and map them to application requirements in a wearable IoT step counter.

  • Understand mechanical specifications: Package dimensions, pin configurations, and mounting requirements
  • Apply timing and temperature specs: Account for startup time and temperature drift in designs

Design methodology gives you a structured, proven process for creating IoT systems from initial concept to finished product. Think of it like following a recipe when cooking a complex meal – the methodology tells you what to do first, how to handle each step, and how to bring everything together into a successful final result.

“Time to read a REAL datasheet – for an accelerometer!” said Sammy the Sensor. “An accelerometer measures acceleration, which includes gravity, tilting, vibration, and motion. Your phone uses one to know which way is up and to count your steps!”

Max the Microcontroller walked through the key sections: “First, we check the supply voltage – this one needs 3.3 volts. Then sensitivity – how many millivolts per g of acceleration. Then noise density – how much random jitter the readings have. The quieter the sensor, the smaller the movements it can detect.”

“Do not skip the temperature section,” warned Lila the LED. “This accelerometer’s sensitivity changes by 0.02% per degree Celsius. That sounds tiny, but in an outdoor device that goes from minus 20 to plus 50 degrees, that drift adds up!” Bella the Battery pointed to the current consumption: “Typical is 350 microamps in measurement mode but only 3 microamps in standby. That is over a 100x difference! Proper sleep mode management makes or breaks battery life.”

23.2 Prerequisites

Before diving into this chapter, you should be familiar with:

23.3 Case Study: Accelerometer Specification Sheet

Let’s examine a real-world example: the +/-2g Tri-axis Analog Accelerometer specification sheet. We’ll walk through each section of the datasheet systematically, learning how to extract critical design information and make informed component selection decisions. This case study demonstrates the practical application of specification sheet reading skills to a commonly-used IoT sensor.

23.3.1 Product Description

Accelerometer product overview page from datasheet showing device description, key features including plus or minus 2g measurement range, analog voltage output, three-axis sensing capability, and typical applications such as tilt detection, motion sensing, and vibration monitoring for the tri-axis analog accelerometer
Figure 23.1: Product Overview

Key Information:

  • Product Name: Tri-axis Analog Accelerometer
  • Measurement Range: +/-2g (where g = 9.81 m/s^2)
  • Output Type: Analog voltage (ratiometric to supply voltage)
  • Axes: X, Y, Z (three-dimensional acceleration measurement)

23.3.2 Electrical Characteristics

The electrical characteristics section defines power requirements and output behavior—critical information for circuit design and microcontroller interface planning. Understanding these specifications ensures proper voltage regulation, adequate power budgeting, and correct ADC configuration.

Electrical specifications table from accelerometer datasheet displaying supply voltage range of 2.2 to 3.6 volts, typical current consumption of 350 microamps during operation, ratiometric output voltage centered at Vdd divided by 2, and sensitivity specification of 800 millivolts per g at 3.0 volt supply with minimum and maximum tolerance ranges
Figure 23.2: Electrical Specifications

Critical Parameters:

Parameter Value Meaning
Supply Voltage (Vdd) 2.2V - 3.6V Operating voltage range
Supply Current 350 uA (typical) Current consumption during operation (see Energy Management for battery life calculations)
Output Voltage Vdd/2 +/- sensitivity x acceleration Centered at half supply voltage
Sensitivity 800 mV/g (typical @ 3.0V) Output change per g of acceleration

Example Calculation:

If Vdd = 3.0V and measuring +1g on X-axis:
Vout_x = (3.0V / 2) + (0.8 V/g x 1g)
       = 1.5V + 0.8V
       = 2.3V
Interactive Calculator: Accelerometer Output Voltage

Calculate the expected analog output voltage for any acceleration and supply voltage combination.

Try adjusting the supply voltage and acceleration to see how the output voltage changes. Notice how the output is centered at Vdd/2 (zero-g offset) and scales proportionally with both acceleration and sensitivity.

Interactive Calculator: ADC Resolution Analysis

Determine the measurement resolution when pairing the accelerometer with an ADC.

This calculator shows how ADC bit depth and accelerometer range combine to determine your effective measurement resolution. For most IoT applications, aim for at least 10× resolution margin above your minimum detectable signal.

23.3.3 Performance Specifications

Performance specifications determine whether the sensor meets your application requirements. These parameters define measurement capabilities, precision limits, and dynamic response characteristics. Pay close attention to the trade-offs between range, sensitivity, and noise—they directly impact your ability to detect the acceleration changes relevant to your use case.

Performance characteristics section displaying plus or minus 2g measurement range spanning 19.62 meters per second squared total acceleration, 800 millivolts per g sensitivity at 3.0 volt supply, 150 microg per root Hz noise density specification, 1600 Hz bandwidth for maximum measurable frequency, and additional performance metrics including zero-g offset and cross-axis sensitivity for the three-axis accelerometer
Figure 23.3: Performance Characteristics

Key Performance Metrics:

  1. Measurement Range: +/-2g
    • Maximum measurable acceleration: 2 x 9.81 m/s^2 = 19.62 m/s^2
    • Suitable for: Human motion, orientation sensing, gentle impacts
  2. Sensitivity: 800 mV/g @ Vdd = 3.0V
    • Higher sensitivity = better resolution for small accelerations
    • Lower range devices typically have higher sensitivity
  3. Noise Density: ~150 ug/sqrt(Hz)
    • Lower noise = better precision
    • Impacts minimum detectable acceleration
  4. Bandwidth: 1600 Hz (typical)
    • Maximum frequency of acceleration changes that can be measured
    • Important for vibration monitoring, impact detection
Interactive Calculator: Noise Floor and Bandwidth

Calculate the RMS noise floor based on bandwidth settings.

Lower bandwidth reduces noise floor, improving sensitivity for slowly-varying signals like tilt. Higher bandwidth is needed for dynamic events like vibration or impact detection. Adjust bandwidth to match your application’s frequency content.

23.3.4 Mechanical Specifications

Mechanical specifications guide PCB layout and physical integration. Package dimensions affect board space allocation, while axis orientation markings ensure correct installation for consistent measurements across production units. Small package size is advantageous for space-constrained wearables and IoT devices.

Mechanical specifications displaying LGA-16 Land Grid Array package with 3 millimeter by 3 millimeter by 1 millimeter dimensions, pin layout diagram showing 16 pins arranged in a grid pattern with power, ground, X Y Z axis outputs, self-test pin and no-connection pins clearly labeled, surface mount footprint dimensions, and axis orientation markings for correct PCB installation
Figure 23.4: Mechanical Characteristics

Package Information:

  • Package Type: LGA-16 (Land Grid Array, 16 pins)
  • Dimensions: 3mm x 3mm x 1mm
  • Weight: ~50 mg
  • Mounting: Surface mount (SMD)

Axis Orientation:

  • X, Y, Z axes clearly marked on package
  • Important for correct installation and interpretation

23.3.5 Timing Diagrams

Timing specifications define temporal behavior during power-up and acceleration events. The turn-on time determines how long your firmware must wait after power application before taking valid measurements. Response time affects applications requiring fast event detection, such as impact monitoring or gesture recognition.

Timing diagram and specifications displaying power-up sequence from zero volts to stable Vdd, typical turn-on time of 2 milliseconds from power application to valid output voltage, output response time showing how quickly the analog output tracks changes in acceleration, and settling time characteristics critical for applications requiring fast response such as impact detection or airbag deployment systems
Figure 23.5: Timing Specifications

Start-up and Response:

  • Turn-on Time: Time from power-up to valid output (~2ms typical)
  • Response Time: How quickly output changes with acceleration
  • Important for applications requiring fast response (e.g., airbag deployment)

23.3.6 Temperature Characteristics

Temperature characteristics displaying operating temperature range from minus 40 degrees Celsius to plus 85 degrees Celsius spanning 125 degree total range, sensitivity temperature coefficient of plus or minus 0.02 percent per degree Celsius indicating how measurement gain varies with temperature, and zero-g offset temperature coefficient of plus or minus 0.5 millig per degree Celsius showing baseline drift requiring calibration or compensation for precision applications across wide temperature swings
Figure 23.6: Temperature Specs

Temperature Dependency:

  • Operating Range: -40C to +85C
  • Sensitivity Temperature Coefficient: +/-0.02% / C
  • Zero-g Offset Temperature Coefficient: +/-0.5 mg / C

Impact on Design:

Temperature change: 25C to 85C = 60C difference
Zero-g offset drift: 60C x 0.5 mg/C = 30 mg error
Interactive Calculator: Temperature Drift Analysis

Estimate the impact of temperature changes on accelerometer accuracy.

For outdoor deployments experiencing wide temperature swings, this drift can significantly impact measurement accuracy. Consider temperature compensation or selecting sensors with lower temperature coefficients for precision applications.

23.3.7 Application Circuit

The application circuit section provides a manufacturer-recommended reference design—often the fastest path from datasheet to working prototype. Study this schematic carefully: it incorporates design best practices that address noise, stability, and signal integrity issues discovered during the manufacturer’s own testing.

Recommended application circuit schematic displaying accelerometer with 0.1 microfarad ceramic decoupling capacitor placed close to Vdd pin for high-frequency noise filtering, additional 1 microfarad bulk capacitor for low-frequency supply stability, power supply connections from regulated 3.0 or 3.3 volt source, optional RC low-pass filters on X Y Z analog outputs for anti-aliasing before ADC conversion, and proper grounding techniques with single-point ground connection to minimize noise pickup
Figure 23.7: Application Circuit

Supporting Components:

  • Decoupling Capacitors: 0.1uF near Vdd pin (noise filtering)
  • Output Capacitors: Optional filtering on outputs
  • Pull-up/Pull-down: Depending on interface requirements

23.3.8 Pin Configuration

Pin configuration diagram for LGA-16 package showing top view of 4-by-4 pin grid with Vdd power supply pins, GND ground reference pins, X_OUT Y_OUT Z_OUT analog acceleration output pins providing ratiometric voltage signals, ST self-test pin for applying internal electrostatic force to verify sensor functionality, and NC no-connection pins that should be left unconnected on the PCB, with pin numbering convention and axis orientation markings to ensure correct installation alignment
Figure 23.8: Pin Layout

Pin Functions:

  • Vdd: Power supply input
  • GND: Ground reference
  • X_OUT, Y_OUT, Z_OUT: Analog acceleration outputs
  • ST: Self-test pin (applies internal force to verify operation)
  • NC: No connection

23.3.9 Ordering Information

Ordering information table displaying part number naming convention and available variations including measurement ranges of plus or minus 2g, 4g, 8g, and 16g for different application sensitivity requirements, interface options of analog output, I2C digital, and SPI digital for different microcontroller compatibility, and package types of LGA Land Grid Array, QFN Quad Flat No-lead, and DIP Dual Inline Package for various PCB assembly methods and prototyping needs
Figure 23.9: Ordering Info

Part Number Variations:

  • Different ranges: +/-2g, +/-4g, +/-8g, +/-16g
  • Different interfaces: Analog, I2C, SPI
  • Different packages: LGA, QFN, DIP

23.3.10 Recommended Operating Conditions

Recommended operating conditions and absolute maximum ratings table displaying supply voltage range of 2.2 to 3.6 volts for normal operation with absolute maximum ratings of minus 0.3 to 4.0 volts beyond which permanent damage may occur, storage temperature range of minus 40 to plus 125 degrees Celsius for non-operating conditions, ESD electrostatic discharge sensitivity rating of 2 kilovolts using Human Body Model indicating moderate protection requiring proper handling procedures, and additional specifications for maximum acceleration shock, soldering temperature profile limits, and moisture sensitivity level for reliable long-term operation
Figure 23.10: Operating Conditions

Critical Operating Parameters:

  • Supply Voltage Range: 2.2V - 3.6V (absolute max: -0.3V to 4.0V)
  • Storage Temperature: -40C to +125C
  • ESD Sensitivity: 2kV HBM (Human Body Model)

23.4 Key Specification Parameters

Now that we’ve walked through all sections of the accelerometer datasheet, let’s synthesize the key parameter categories that apply to virtually all sensor datasheets. Understanding these five categories provides a mental framework for rapidly extracting critical design information from any component specification.

Mind map diagram showing five critical specification categories in datasheets: electrical parameters including supply voltage and current consumption, performance metrics covering measurement capabilities and accuracy, timing characteristics defining response and sampling rates, mechanical specifications for physical integration, and environmental limits for operating and storage conditions essential for reliable IoT sensor deployment

Mind map diagram
Figure 23.11: Mind map showing five critical specification categories in datasheets: electrical parameters including supply voltage and current consumption, performance metrics covering measurement capabilities and accuracy, timing characteristics defining response and sampling rates, mechanical specifications for physical integration, and environmental limits for operating and storage conditions essential for reliable IoT sensor deployment.

This flow variant shows which datasheet sections to focus on at different phases of your IoT project, from initial feasibility through production.

Data diagram showing datasheet by phase
Figure 23.12: Different datasheet sections matter most at different project phases - don’t read the whole datasheet upfront, focus on what you need for your current phase.

23.4.1 Choosing the Right Accelerometer: Range vs Application

Selecting the wrong measurement range is the most common accelerometer specification mistake—and one of the most expensive to fix after PCB fabrication. The range-sensitivity trade-off means there’s no universal “best” accelerometer; the optimal choice depends entirely on your application’s acceleration profile. The following table maps real IoT applications to their optimal range, with the consequences of choosing incorrectly:

Application Typical Acceleration Optimal Range Wrong Range Consequence
Tilt/orientation sensing 0-1g (gravity only) +/-2g +/-16g 8x less sensitivity; cannot detect 1-degree tilt changes
Pedometer/step counting 0.5-2g +/-4g +/-2g Clips during running (>2g impacts), miscounts vigorous steps
Vehicle crash detection 5-50g +/-16g or +/-200g +/-2g Sensor saturates instantly; no useful data recorded
Vibration monitoring (industrial) 0.01-5g +/-8g +/-2g Clips on machine startup transients; misses impact events
Drone flight control 0-4g (maneuvers) +/-8g +/-2g Saturates during aggressive turns; IMU loses attitude estimate

Real cost of the wrong range: A wearable fitness company selected a +/-2g accelerometer for their running watch because it had the highest sensitivity (800 mV/g). During field testing, they discovered that heel-strike impact during running reaches 3-5g, saturating the sensor and causing step count errors of 15-20%. Switching to a +/-4g sensor (400 mV/g sensitivity) resolved the issue but required a PCB respin ($8,000) and 6-week delay. The datasheet had the answer in the “Application Notes” section – but the team only read the first page.

23.4.2 Understanding Measurement Range

Range Selection Criteria:

Accelerometer measurement range selection decision tree showing the trade-off between sensitivity and range where small range sensors like plus-minus 2g offer 800 millivolts per g for gentle motion and large range plus-minus 16g sensors provide 100 millivolts per g for impact monitoring

Accelerometer range selection criteria
Figure 23.13: Sensor measurement range selection decision tree showing trade-off between sensitivity and range for accelerometers: small range sensors like plus-minus 2g offer 800mV per g high sensitivity ideal for gentle motion detection, while large range plus-minus 16g sensors provide 100mV per g lower sensitivity suitable for impact and vibration monitoring applications.

Trade-off Relationship:

Larger Range -> Lower Sensitivity -> Lower Resolution
Smaller Range -> Higher Sensitivity -> Higher Resolution

23.4.3 Understanding Accuracy vs Precision

Understanding the distinction between accuracy and precision is critical when interpreting datasheet specifications. Accuracy describes how close measurements are to the true value, while precision describes repeatability. A sensor can be precise (consistent readings) but inaccurate (systematic offset), requiring calibration. For a deeper exploration of these concepts, see Sensor Fundamentals and Types.

Visual comparison of accuracy versus precision using target analogy with four scenarios: high accuracy high precision shows tight cluster at target center representing ideal sensor performance, low accuracy high precision shows tight cluster offset from target indicating systematic calibration error, high accuracy low precision shows scattered readings around target indicating random noise, and low accuracy low precision shows worst case with scattered offset readings

Graph diagram
Figure 23.14: Visual comparison of accuracy versus precision using target analogy with four scenarios: high accuracy high precision shows tight cluster at target center representing ideal sensor performance, low accuracy high precision shows tight cluster offset from target indicating systematic calibration error, high accuracy low precision shows scattered readings around target indicating random noise, and low accuracy low precision shows worst case with scattered offset readings.

23.5 Summary

Key Takeaways from the Accelerometer Case Study:

  1. Electrical characteristics define power requirements and output behavior
    • Supply voltage range determines compatibility
    • Ratiometric output simplifies ADC integration
    • Current consumption impacts battery life
  2. Performance specifications determine measurement capability
    • Range and sensitivity trade-off (larger range = lower sensitivity)
    • Noise density limits minimum detectable signal
    • Bandwidth determines frequency response
  3. Mechanical specifications affect physical integration
    • Package type and dimensions for PCB layout
    • Axis orientation for correct measurement direction
    • Pin configuration for circuit design
  4. Temperature characteristics require compensation
    • Sensitivity and offset drift with temperature
    • Operating range must cover deployment environment
    • Factory or runtime calibration may be needed
  5. Application circuits show recommended implementation
    • Decoupling capacitors for noise filtering
    • Reference designs accelerate development

23.6 Knowledge Check

You need to detect when a wearable device is moving vs stationary to trigger GPS sampling (save battery). The ADXL345 accelerometer specs: - Range: ±2g - Sensitivity: 256 LSB/g (at 10-bit resolution) - Noise density: 150 µg/√Hz - Bandwidth: 100 Hz

Step 1 - Calculate resolution per LSB: Full-scale range: 4g (±2g) = 4g / 2^10 levels = 4g / 1024 = 3.9 mg per LSB

Step 2 - Calculate RMS noise: Noise = Noise density × √Bandwidth = 150 µg/√Hz × √100 Hz = 150 × 10 = 1,500 µg = 1.5 mg RMS

Step 3 - Determine minimum detectable motion: For reliable detection (SNR ≥ 3:1), minimum acceleration = 3 × 1.5 mg = 4.5 mg

Step 4 - Apply to walking detection:

  • Walking generates ~50-150 mg vibration
  • Standing still: <5 mg (environmental vibration)
  • Detection threshold: 10 mg (2× noise floor for margin)
  • Result: 10 mg threshold easily distinguishes walking (50-150 mg) from stationary (<5 mg) ✓

Step 5 - Verify with calculations: At 10 mg threshold: - Walking SNR: 50 mg / 1.5 mg = 33:1 (excellent detection) - False positive rate: <0.1% (noise rarely exceeds 3× RMS)

This analysis determined that a $2 ADXL345 meets requirements, avoiding over-specifying to a $12 low-noise IMU.

Application Typical Acceleration Optimal Range Wrong Choice Impact Example Sensor
Tilt sensing 0-1g (gravity) ±2g ±16g: 8× less sensitivity, can’t detect 1° tilt ADXL345 ±2g
Pedometer 0.5-3g (walking/running) ±4g or ±8g ±2g: Clips during running (>2g heel strike) MPU6050 ±4g
Vibration monitoring 0.01-10g (machinery) ±8g or ±16g ±2g: Saturates on impacts, misses transients ADXL354 ±8g
Crash detection 10-100g (vehicle impact) ±50g to ±200g ±16g: Clips instantly, no useful data ADXL377 ±200g
Seismic monitoring 0.001-0.1g (earth tremors) ±2g with ultra-low noise ±8g: Noise floor exceeds signal ADXL355 ±2g

Selection criteria:

  1. Identify max expected acceleration (add 50% safety margin)
  2. Check if noise floor (µg/√Hz) allows detection of min acceleration
  3. Calculate resolution: smaller range = finer granularity
  4. Verify bandwidth: vibration needs 1-10 kHz, tilt needs 1-10 Hz

Trade-off formula: Resolution (mg/LSB) = Full-scale range / 2^bits Smaller range → better resolution BUT higher clip risk

Best For Your Project:

  • Detect 5° tilt changes → ±2g (87 mg per 5° = easily detectable with 4 mg/LSB resolution)
  • Count running steps → ±4g (won’t clip on 3g heel strikes, 2 mg/LSB resolution sufficient)
  • Monitor motor vibration → ±8g (10g transients won’t saturate, 4 mg/LSB acceptable)
Common Mistake: Ignoring Temperature Drift in Outdoor Deployments

What they do wrong: Engineers see “Zero-g offset temperature coefficient: ±0.5 mg/°C” in the datasheet and think, “That’s tiny, I can ignore it.”

Why it fails: Temperature changes accumulate. An outdoor sensor experiences -20°C (winter night) to +50°C (summer day) = 70°C swing.

Actual drift calculation:

  • Temperature coefficient: 0.5 mg/°C
  • Temperature range: 70°C
  • Total offset drift: 70°C × 0.5 mg/°C = 35 mg

For a tilt sensor measuring gravity (1,000 mg), 35 mg error = 3.5% = 2° angle error. If you’re detecting 5° tilts, this is huge!

Real-world example: A construction site tilt monitor used ADXL345 (±2g, no temperature compensation) to detect unsafe scaffolding angles (>10° alarm). In summer, sensors false-alarmed at 8° due to +30 mg temperature offset. In winter, they failed to alarm at 12° due to -30 mg offset. Result: 47 false alarms and 3 missed dangerous tilts in 6 months.

Correct approach:

  1. Option A - Calibrate: Measure temperature with onboard sensor, apply compensation:

    Corrected_accel = Raw_accel - (T_offset_coeff × (T_current - T_calibration))
  2. Option B - Select better sensor: ADXL355 has 0.01 mg/°C (50× better) for critical applications

  3. Option C - Factory calibration: Measure offset at -20°C and +50°C, store coefficients in EEPROM

Cost comparison:

  • ADXL345 ($2) + software compensation = Total $2 (requires temp sensor already present)
  • ADXL355 ($15) with inherent stability = Total $15 (no compensation needed)

For 1,000 units: software fix saves $13,000. For safety-critical: pay $15 for better sensor.

23.7 How It Works

An accelerometer measures acceleration forces using a micro-machined proof mass suspended by springs. When the sensor experiences acceleration, the proof mass deflects proportionally, changing the capacitance between fixed and movable electrodes. This capacitance change is converted to voltage by internal circuitry, then digitized by an ADC for I2C/SPI output or presented as analog voltage. The sensitivity specification (e.g., 800 mV/g) defines the voltage change per unit of acceleration, while the measurement range (±2g, ±16g) determines maximum detectable acceleration before saturation. For practical applications of accelerometers in IoT systems, see Motion Sensing Applications.

23.8 Concept Check

Question 1: An accelerometer has ±2g range with 256 LSB/g sensitivity at 10-bit resolution. What’s the resolution per LSB?

Show Answer Full-scale range: 4g (±2g) = 4g / 2^10 levels = 4g / 1024 = 3.9 mg per LSB. This is the minimum detectable acceleration change.

Question 2: Noise density is listed as 150 µg/√Hz at 100 Hz bandwidth. What’s the RMS noise?

Show Answer RMS Noise = 150 µg/√Hz × √100 Hz = 150 × 10 = 1,500 µg = 1.5 mg. For reliable detection, minimum signal should be 3× RMS = 4.5 mg.

23.9 Concept Relationships

Prerequisites:

Builds Toward:

Complements:

  • Motion Sensing Applications - Practical accelerometer use cases
  • Energy Management - Power modes and duty cycling

23.10 See Also

Common Pitfalls

Choosing ±16g range for a step counter application that only sees ±2g during normal walking wastes resolution. The ADXL345 at ±16g has 4× lower resolution (7.8 mg/LSB) than at ±2g (3.9 mg/LSB). Always select the smallest g-range that covers your application’s maximum expected acceleration with margin.

Without the FIFO, the MCU must wake up and read the ADXL345 at the full ODR (e.g., 100 Hz = every 10 ms). Enabling the FIFO lets the MCU sleep for 320 ms (32 samples × 10 ms), dramatically extending battery life. Always use the FIFO when the MCU is duty-cycling.

In I2C mode, the ADXL345 CS pin must be tied high (not left floating). Leaving it floating allows it to toggle on power-up, potentially starting the device in SPI mode. Always explicitly tie CS high for I2C-only designs.

The ADXL345 has a built-in self-test mode that applies an electrostatic force to the MEMS element. Running self-test at power-on detects dead or mechanically damaged sensors. Always include self-test in your firmware’s startup validation sequence.

23.11 What’s Next

Now that you understand how to read accelerometer datasheets in detail, continue to Sensor Selection Process to learn how to systematically compare multiple components and make optimal selection decisions for your IoT projects.

Related Chapters:

If you want to… Read this
Learn systematic sensor comparison methodology Sensor Selection Process
Apply selection to automotive safety systems Automotive Applications
Review foundational datasheet reading skills Spec Sheet Fundamentals
Learn to simulate sensors before hardware purchase Simulating Hardware Programming
Understand testing and validation strategies Testing and Validation
Previous Current Next
Spec Sheet Fundamentals Accelerometer Case Study Sensor Selection