Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Fast-Track Certification: Leveraging IC Safety App Notes for Functional Safety Designs

    Stop guessing, start certifying. Learn how to use IC safety application notes to streamline your FMEDA and meet IEC 61508 and ISO 13849 standards with...

    Places

    • ADI Academy
    • ADI Webinars
    • EZ Blogs
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Other Products Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library
  • Community Hub

    Challenge Yourself!

      New KCC's Quiz AQQ298 about an interlaced square and triangle puzzle

      1. Quote of the month: " Behind every great man is a woman rolling her eyes " - Jim Carrey 2. New quiz AQQ298 about an interlaced square and triangle...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card!

      Important: Read the blog first . The quiz questions are all based on the content from the blog: ISO 26262 Essentials: Ensuring Confidence in Your Software...

    View All

    Places

    • Community Help
    • Analog Dialogue Quiz
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • ContentZone

    Visit ContentZone

    Search content by industry or technology.
    • Blogs
    • Technical Articles
    • Tutorials
    • Videos
    • Webinars
    Your ADI content all in one place.
    View ContentZone

    The Latest Read

    A Systematic Checklist for RF Transceiver Testing

    RF transceiver bring-up is the initial process of powering, configuring, and verifying a transceiver on new hardware to ensure basic functionality and...

    New Release

    Signal Chain Designer: DC Error Simulation
    Signal Chain Designer: DC Error Simulation

    This video covers the DC error calculation capabilities of Signal Chain Designer. DC error is unique in that often requires calibration and has so many...

    Recent Technical Insights

    Latest Technical Article from Analog.com
    Phase Sync in Digital Phased Arrays Through Direct RF SamplingPart 1: The Basics

    This article presents a methodology to synchronize multiple modular circuit boards, equipped with high speed data converters, to build a concept of a scalable...

EngineerZone
EngineerZone
Sensors
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Sensors
Sensors
Documents ADXL345 user-selectable g range and data rate
  • Q&A
  • FAQs/ Docs
  • Members
  • Tags
  • Cancel
  • Documents
  • +AD22100: FAQ
  • +AD22151G: FAQ
  • +AD580: FAQ
  • +AD581SH: FAQ
  • +AD584: FAQ
  • +AD590: FAQ
  • +AD590JF: FAQ
  • +AD590S: FAQ
  • +AD592C: FAQ
  • +AD5940: FAQ
  • AD594: FAQ
  • +AD595: FAQ
  • +AD595AQ: FAQ
  • +AD597: FAQ
  • +ad7414: FAQ
  • +AD8495: FAQ
  • +ADAS1000: FAQ
  • +ADIS16003: FAQ
  • +ADIS16006: FAQ
  • +ADIS16201: FAQ
  • +ADIS16203: FAQ
  • +ADIS16209: FAQ
  • +ADIS16210: FAQ
  • +ADIS16223: FAQ
  • +ADIS16227: FAQ
  • +ADIS16228: FAQ
  • +ADIS16229: FAQ
  • +ADIS16240: FAQ
  • +ADIS16255: FAQ
  • +ADIS16265: FAQ
  • +ADIS16305: FAQ
  • +ADT70: FAQ
  • +ADT7310: FAQ
  • +ADT7320: FAQ
  • +ADT7410: FAQ
  • +ADT7411: FAQ
  • +ADT7420: FAQ
  • +ADT7422: FAQ
  • +ADT7460: FAQ
  • +ADT7461: FAQ
  • +adt7470: FAQ
  • +ADUCM355: FAQ
  • +ADXL00125: FAQ
  • +ADXL103: FAQ
  • +ADXL193: FAQ
  • +ADXL202: FAQ
  • +ADXL203: FAQ
  • +ADXL206: FAQ
  • +ADXL210: FAQ
  • +ADXL213: FAQ
  • +ADXL278: FAQ
  • +ADXL312: FAQ
  • +ADXL313: FAQ
  • +ADXL320: FAQ
  • +ADXL321: FAQ
  • +ADXL322: FAQ
  • +ADXL326: FAQ
  • +ADXL327: FAQ
  • +ADXL330: FAQ
  • +ADXL335: FAQ
  • +ADXL337: FAQ
  • -ADXL345: FAQ
    • ADXL345 - resonance frequency
    • ADXL345 EMC Tests for the ADXL345 at higher frequencies available?
    • ADXL345 ESD protection requirement
    • ADXL345 internal filter
    • ADXL345 Magnetic Interferance?
    • ADXL345 over range shock recovery time
    • ADXL345 performance in electro magnetic fields
    • ADXL345 power consumption
    • ADXL345 range configuration
    • ADXL345 turn off Vs, while keeping Vddio powered, is this possible?
    • ADXL345 user-selectable g range and data rate
    • ADXL345 vary in performance
    • ADXL345 with Microcontroller
    • ADXL345: Datasheet Error
    • ADXL345: How to calibrate
    • ADXL345z and ADXL346Z Weight in Grams
    • ADXL345Z-DB: Real-Time Evaluation/Change Settings
    • Calculate speed by integrating acceleration
    • Cross Axis Sensitivity when measuring different acceleration ranges on different axes
    • Debug ADXL345/ADXL346 Development Board
    • Do we have Linux drivers for our ADXL devices?
    • Does the ADXL345 support reflow soldering?
    • Improve resolution of accelerometers with lower ODR and oversampling
    • Linux Drivers for Accelerometers.
  • +ADXL346: FAQ
  • +ADXL350: FAQ
  • +ADXL362: FAQ
  • +ADXL363: FAQ
  • +ADXL372: FAQ
  • +ADXL375: FAQ
  • +ADXL377: FAQ
  • +ADXL78: FAQ
  • +ADXRS150: FAQ
  • +ADXRS290: FAQ
  • +ADXRS300: FAQ
  • +ADXRS401: FAQ
  • +ADXRS453: FAQ
  • +ADXRS610: FAQ
  • +ADXRS614: FAQ
  • +ADXRS623: FAQ
  • +ADXRS646: FAQ
  • +ADXRS652: FAQ
  • +ADXRS800: FAQ
  • +DS1921G-F5#: FAQ
  • +DS1921G: FAQ
  • +DS1921H-F5#: FAQ
  • +DS1922E-F5#: FAQ
  • DS1922E: FAQ
  • +DS1922L-F5#: FAQ
  • +DS1923-F5#: FAQ
  • +DS1923-F5+: FAQ
  • +DS1925L-F5#: FAQ
  • +DS600: FAQ
  • +EVAL-ADXL313-SDP: FAQ
  • LM26: FAQ
  • +LTC298x Family FAQs
  • MAX30001CTI+: FAQ
  • +MAX30001CTI+T: FAQ
  • +MAX30001CWV+: FAQ
  • +MAX30001EVSYS#: FAQ
  • +MAX30001GCWV+: FAQ
  • +MAX30001GEVKIT#: FAQ
  • +MAX30001_TI+_A1: FAQ
  • +MAX30002CTI+: FAQ
  • MAX30003: FAQ
  • +MAX30003CC/D+: FAQ
  • MAX30003CTI+: FAQ
  • +MAX30003CTI+T: FAQ
  • +MAX30003WING#: FAQ
  • +MAX30009: FAQ
  • +MAX30131CWA+: FAQ
  • +MAX30134CWA+: FAQ
  • +MAX30134EVSYS#: FAQ
  • MAX30205: FAQ
  • +MAX30205EVKIT#: FAQ
  • +MAX30205EVSYS#: FAQ
  • +MAX30205MTA+T: FAQ
  • MAX30208CLB+: FAQ
  • +MAX30208CLB+_T1: FAQ
  • +MAX30208_LB+_A1: FAQ
  • MAX35101: FAQ
  • +MAX35101EHJ+: FAQ
  • MAX35102: FAQ
  • +MAX35102ETJ+: FAQ
  • +MAX35103EHJ+: FAQ
  • +MAX35103EVKIT#: FAQ
  • MAX35103EVKIT: FAQ
  • MAX35104ETL+: FAQ
  • +MAX35104ETL+T: FAQ
  • +MAX35104EVKIT2#: FAQ
  • +MAX6510HAUT+: FAQ
  • +MAX6517: FAQ
  • MAX6607: FAQ
  • +MAX6675ISA+: FAQ
  • MAX6675ISA: FAQ
  • +MAX86160: FAQ
  • +MAX9924UAUB+: FAQ
  • +MAX9925: FAQ
  • +Temperature sensor: FAQ
  • +TMP01: FAQ
  • +TMP35: FAQ

ADXL345 user-selectable g range and data rate

Question

1. The accelerometer comes with user-selectable g ranges, e.g. +/- 2g, +/- 4g.
How do I go about changing from the default range, +/- 2g to say +/- 16g?

2. How do I change the output data rate from the default 100Hz?

Answer

1. How to set the different ranges of ADXL345 is described in page 27 of the
datasheet rev c. In Table 21 "g Range Setting" you find the settings.

Proposal:
You’ve found the definitions in the .h file. You can follow the format of the
other register writes to write this one as well.

buffer[0] = XL345_DATA_FORMAT; /* Set register address */
buffer[1] = XL345_RANGE_2G; /* Set value */
xl345Write(2,buffer); /* Write register */

put these 3 lines where you want this configured; a good place to start is just
before the Tap Configuration section.

2. The datarate is changed when changing the value of BW_RATE. In table 7 and 8
date code vs. output datarate is listed. More details regard register BW_RATE
are shown in table 19 of datasheet.

Tags: 2FRV1909 accelerometers Sensors and MEMS mems inertial sensors adxl345
  • Share
  • History
  • Cancel
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved