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

    Maximize Your Power Regulator: Key Considerations for Thermal Performance

    Power regulators with integrated switches deliver a compact, efficient way to supply power. Yet as modern circuits drive toward ever-higher power densities...

    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
    • A 16T/16R X-Band Direct Sampling Phased Array Subsystem using Apollo MxFE
    • Power Management Fundamentals II Session 5: Deeper Look into Power Protection
    • Power Management Fundamentals II Session 4: Isolated Converters Explained
    • Maximize Your Power Regulator: Key Considerations for Thermal Performance
    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

    Understanding Voltage Domain Isolation in Field-Bus Systems

    By Christopher Nunes In the world of industrial communication, mastering voltage domain isolation is the key to building safer, smarter systems. Last...

     

    Ethernet-APL’s Impact on Functional, Intrinsic, and Cyber Safety

    Power limitations have always plagued process sensors, whether because of intrinsic safety requirements (safety achieved through power limitation) or because...

    Latest Blogs

    • Balancing Enhanced Radar Resolution with FPGA-Based Pulse Compression
    • ​​ISO 26262 Essentials: Ensuring Confidence in Your Software Tools ​
    • Step-by-Step: Implementing a Complete DSP Chain for Signal Analysis
    • Galvanic Isolation in SMPS: Ensuring Safety and Protection: Part 1 of 4
    • Mature, Not Old! The Longevity of 4 – 20 mA
    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
Temperature Sensors
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Temperature Sensors
Temperature Sensors
Documents ADXL345 user-selectable g range and data rate
  • Forums
  • 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 temperature 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

©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