Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • RF and Microwave
    • Video
    • Power Management
    • Precision ADCs
    • FPGA Reference Designs
    • Linux Software Drivers

    Product Forums

    • Amplifiers
    • Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • A2B
    • 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 and 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

    Designing for Silence: EMC Testing and Reduction for Digital Isolators and DC-DC Converters

    Join us for an in-depth webinar where we dive into the world of EMC testing applied to ADI’s digital isolators. We''ll walk through the test setups, standards...

    Places

    • ADI Academy
    • ADI Webinars
    • 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
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Power Management Fundamentals II Session 6: Key Layout Considerations for Power
    • Power Management Fundamentals II Session 5: Deeper Look into Power Protection
    • Power Management Fundamentals II Session 4: Isolated Converters Explained
    • Designing for Silence: EMC Testing and Reduction for Digital Isolators and DC-DC Converters
    • Maximize Workflow: Analog Devices eShop New Upload Tools
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ294 about a digital phase splitter design

      1. Quote of the month: "I've learned that people will forget what you said, people will forget what you did, but people will never forget how you made...

    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: Let's Take a Field-Bus Trip Your field-bus engines...

    View All

    Places

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

    Resources

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

    Highlighted Blogs

    Turning up the Noise: .NOISE Simulations in LTspice: Part 1 of 3

    Noise simulations are a crucial aspect of circuit design, allowing engineers to understand and mitigate the impact of noise on their circuits. There are...

     

    The ABCs of SerDes

    SerDes has revolutionized how we transport data at gigabit speeds with low pin count and has become the backbone of modern-day communication. GMSL is ADI...

    Latest Blogs

    • A Designer’s Guide to Isolated Transceiver Architectures
    • Understanding Safe Failure Fraction: Can There Be Multiple Values?
    • Powering the Future: Multiphase Buck-Boost Innovation for Telecom: Part 3 of 3
    • Freedom from Interference: Control of Mixed ASIL Criticalities
    • High-Tech Pro and Crafty Creator: Meet Iulia, Our Inspiring Super User!
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Sensor Interfaces
    • SmartMesh
EngineerZone
EngineerZone
MEMS Inertial Sensors
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
MEMS Inertial Sensors
MEMS Inertial Sensors
Documents ADXL345 user-selectable g range and data rate
  • Forums
  • Files
  • FAQs/ Docs
  • Members
  • Tags
  • Cancel
  • +Documents
  • +3-D Model/STEP: FAQ
  • +AD22282-A-R2: FAQ
  • +ADIS16000: FAQ
  • +ADIS16003 MTBF: FAQ
  • +ADIS16006: FAQ
  • +ADIS16201: FAQ
  • +ADIS16203: FAQ
  • +ADIS16204: FAQ
  • +ADIS16209: FAQ
  • +ADIS16210: FAQ
  • +ADIS16223: FAQ
  • +ADIS16227: FAQ
  • +ADIS16228: FAQ
  • +ADIS16229: FAQ
  • +ADIS16240: FAQ
  • +ADIS16255: FAQ
  • +ADIS16355: FAQ
  • +ADIS16364: FAQ
  • +ADIS16365: FAQ
  • +ADIS16375: FAQ
  • +ADIS16385: FAQ
  • +ADIS16400: FAQ
  • +ADIS16405: FAQ
  • +ADIS16407: FAQ
  • +ADIS16445: FAQ
  • +ADIS16448: FAQ
  • +ADIS16460: FAQ
  • +ADIS16475: FAQ
  • +ADIS16477: FAQ
  • +ADIS1647x: FAQ
  • +ADIS16480: FAQ
  • +ADISUSB: FAQ
  • +ADXL001: FAQ
  • +ADXL203: FAQ
  • +ADIS16300: FAQ
  • +ADIS16485: FAQ
  • +ADIS16488: FAQ
  • +ADIS16488A: FAQ
  • +ADIS16490: FAQ
  • +ADIS16495: FAQ
  • +ADIS16497: FAQ
  • +ADXL103: FAQ
  • +ADXL150: FAQ
  • +ADxL193: FAQ
  • +ADXL202: FAQ
  • +ADXL206: FAQ
  • +ADXL210: FAQ
  • +ADXL210E: FAQ
  • +ADXL213: FAQ
  • +ADxL230: FAQ
  • +ADXL278: FAQ
  • +ADXL312: FAQ
  • +ADXL313: FAQ
  • +ADXL320: FAQ
  • +ADXL321: FAQ
  • +ADXL322: FAQ
  • +ADXL327: FAQ
  • +ADXL335: FAQ
  • +ADXL337: FAQ
  • -ADXL345: FAQ
    • 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: 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.
    • ADXL345 - resonance frequency
  • +AD22290: FAQ
  • +ADIS16003: FAQ
  • +ADIS16133: FAQ
  • +ADIS16135: FAQ
  • +ADIS16265: FAQ
  • +ADIS16305: FAQ
  • +ADXL326: FAQ
  • +ADXL350: FAQ
  • +ADXL362: 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
  • +ADIS16136: FAQ
  • +ADIS16137: FAQ
  • +ADIS16266: FAQ
  • +ADIS16334: FAQ
  • +ADIS16362 Evaluation Tool: FAQ
  • +ADIS16364 Evaluation Tool: FAQ
  • +ADIS16367: FAQ
  • +ADIS163xx: FAQ
  • +ADIS16489: FAQ
  • +ADIS1648x: FAQ
  • +ADXL346: FAQ
  • +ADXL363: FAQ
  • +EVAL-ADIS: FAQ
  • +EVAL-ADIS2: FAQ
  • +Filtering Functions: FAQ
  • +General: FAQ
  • +Gyroscope: FAQ
  • +Hard & Soft Iron Correction: FAQ
  • +ISEB USB: FAQ
  • +IMU: FAQ
  • +MEMS: FAQ
  • +Slip Ring Interface: FAQ
  • +SPI Troubleshooting: FAQ
  • +TEMP_OUT Variation: FAQ
  • +Test Procedures: FAQ
  • +AD590: FAQ
  • +AD5940: FAQ
  • +AD5941: FAQ
  • +AD8495: FAQ
  • +AD8497: FAQ
  • +ADUCM355: FAQ
  • +ADXL343: FAQ
  • +ADXL357: FAQ
  • +ADXL367: FAQ
  • +CN0429: FAQ
  • DS1922E: FAQ
  • +DS1922L: FAQ
  • +DS1922T: FAQ
  • +DS1923: FAQ
  • +EVAL-ADXL312-SDP: FAQ
  • +MAX30001: FAQ
  • +MAX30003: FAQ
  • +MAX30003CTI+: FAQ
  • +MAX30003WING: FAQ
  • +MAX30009EVKIT: FAQ
  • +MAX30134EVSYS: FAQ
  • +MAX9621: FAQ
  • +TMP01: FAQ

ADXL345 user-selectable g range and data rate

Q 

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?

 

A 

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: adxl345
  • Share
  • History
  • More
  • 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

©2025 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

©2025 Analog Devices, Inc. All Rights Reserved