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
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Upcoming Webinar: µModule Solution for Intelligent Motion Control

    Precision feedback combined with advanced sensing, control, and seamless connectivity make up the building blocks for intelligent motion control. ADI offers...

    Places

    • ADI Education Home
    • ADI Webinars
    • GMSL U
    • StudentZone (Analog Dialogue)
    • 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

    • Upcoming Webinar: Simplify High-Accuracy Instrumentation Design with Latest Precision Data Converters
    • Upcoming Webinar - Design High Performance Power Systems with Ultralow Noise Technology
    • Upcoming Webinar: µModule Solution for Intelligent Motion Control
    • Accelerating Embedded System Development with CodeFusion Studio™︎
    • Power Industrial PC Solutions for Robust Intelligent Edge Computing
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ285 about analog voltmeter expertise

      1. Quote of the week: " If you think nobody cares if you're alive, try missing a few loan payments " - unknown Source: Wikimedia 2. New quiz...

    View All

    What's Brewing

      Read the Safety in Layers: Why a Hybrid Approach Works Blog and Test Your Knowledge

      Think you understand ISO 26262 Compliance ? Test your knowledge with our quick quiz , based on the blog " Safety in Layers: Why a Hybrid Approach Works...

    View All

    Places

    • Community Help
    • 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
  • Blogs

    Highlighted Blogs

    How to Generate a Custom Profile for Optimal System Performance

    In the world of software-defined radio (SDR) and high-performance RF systems, properly configuring transceivers is essential for achieving optimal system...

     

    Can AI Unlock the Future for Condition-Based Monitoring at the Edge?

    In an era when equipment and energy costs are rising, industries are under increasing pressure to optimize their operations and reduce expenses. One effective...

    Latest Blogs

    • What Makes Field Bus Communication Unique
    • An Interesting Power Supply Monitoring Example from a Functional Safety Standard
    • Breaking the Barriers – Why Buildings Need DAS for Cellular Connectivity: Part 1
    • Safety in Layers: Why a Hybrid Approach Works
    • What Are the 3 Essential RF Modulation Techniques You Need to Know?
    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
    • Internet of Things (IoT)
    • 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
    • Security Solutions
    • Sensor Interfaces
    • SmartMesh
  • Partners

    Partner Forums

    • Boston Engineering
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.

    Partner Libraries

    • Calian, Advanced Technologies Library
    • Clockworks Signal Processing Library
    • Colorado Engineering Inc. (DBA CAES AT&E) Library
    • Epiq Solutions Library
    • Fidus Library
    • VadaTech Library
    • Vanteon Library
    • X-Microwave Library
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
  • More
  • 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

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Sign Up Now
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

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

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2024 Analog Devices, Inc. All Rights Reserved