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
For Beginners: Accelerometer Spec Case Study
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.
Sensor Squad: Dissecting a Real Datasheet!
“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
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.
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.
Show code
viewof vdd_calc = Inputs.range([2.2,3.6], {step:0.1,value:3.0,label:"Supply Voltage (Vdd):",format: v =>`${v.toFixed(1)} V`})viewof accel_calc = Inputs.range([-2,2], {step:0.1,value:1.0,label:"Acceleration:",format: a =>`${a.toFixed(1)} g`})viewof sensitivity_calc = Inputs.range([600,1000], {step:10,value:800,label:"Sensitivity:",format: s =>`${s} mV/g`})
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.
Show code
viewof adc_bits = Inputs.range([8,16], {step:1,value:12,label:"ADC Resolution:",format: b =>`${b} bits (${Math.pow(2, b)} levels)`})viewof accel_range = Inputs.select([2,4,8,16], {value:2,label:"Accelerometer Range:",format: r =>`±${r}g`})viewof adc_vref = Inputs.range([2.5,5.0], {step:0.1,value:3.3,label:"ADC Reference Voltage:",format: v =>`${v.toFixed(1)} V`})
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.
Figure 23.3: Performance Characteristics
Key Performance Metrics:
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
Sensitivity: 800 mV/g @ Vdd = 3.0V
Higher sensitivity = better resolution for small accelerations
Lower range devices typically have higher sensitivity
Noise Density: ~150 ug/sqrt(Hz)
Lower noise = better precision
Impacts minimum detectable acceleration
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.
Show code
viewof noise_density = Inputs.range([50,300], {step:10,value:150,label:"Noise Density:",format: n =>`${n} µg/√Hz`})viewof bandwidth_hz = Inputs.select([10,50,100,400,800,1600], {value:100,label:"Bandwidth:",format: b =>`${b} Hz`})
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.
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.
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
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.
Show code
viewof temp_ref = Inputs.range([-40,85], {step:5,value:25,label:"Reference Temperature:",format: t =>`${t}°C`})viewof temp_operating = Inputs.range([-40,85], {step:5,value:85,label:"Operating Temperature:",format: t =>`${t}°C`})viewof temp_coeff_sensitivity = Inputs.range([0.01,0.05], {step:0.005,value:0.02,label:"Sensitivity Temp Coefficient:",format: c =>`±${(c *100).toFixed(2)}%/°C`})viewof temp_coeff_offset = Inputs.range([0.1,1.0], {step:0.1,value:0.5,label:"Offset Temp Coefficient:",format: c =>`±${c.toFixed(1)} mg/°C`})
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.
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
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
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
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
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.
Variant View: Datasheet Reading Priority by Project Phase
This flow variant shows which datasheet sections to focus on at different phases of your IoT project, from initial feasibility through production.
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 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.
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.
Match the Accelerometer Parameter to Its Significance
Order the Accelerometer Design Integration Steps
Label the Diagram
💻 Code Challenge
23.5 Summary
Key Takeaways from the Accelerometer Case Study:
Electrical characteristics define power requirements and output behavior
Axis orientation for correct measurement direction
Pin configuration for circuit design
Temperature characteristics require compensation
Sensitivity and offset drift with temperature
Operating range must cover deployment environment
Factory or runtime calibration may be needed
Application circuits show recommended implementation
Decoupling capacitors for noise filtering
Reference designs accelerate development
23.6 Knowledge Check
Quiz: Accelerometer Spec Sheet Case Study
Worked Example: Calculating Resolution and Noise Floor for Motion Detection
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
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:
Option A - Calibrate: Measure temperature with onboard sensor, apply compensation:
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
Quick Check: Accelerometer Specifications
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.
1. Selecting g-Range Based on Maximum Measurement Capability, Not Application Need
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.
2. Not Enabling the FIFO Buffer for Battery-Powered Applications
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.
3. Connecting ADXL345 CS Pin Low for I2C Mode Without Checking Datasheet
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.
4. Ignoring Self-Test in Qualification Testing
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.