Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit ADXL375: Examples, Pinouts, and Specs

Image of Adafruit ADXL375
Cirkit Designer LogoDesign with Adafruit ADXL375 in Cirkit Designer

Introduction

The Adafruit ADXL375 (Manufacturer Part ID: 5374) is a high-performance 3-axis accelerometer with a digital output. It is designed for low power consumption and high sensitivity, making it ideal for motion detection, orientation sensing, and impact monitoring. This accelerometer is capable of measuring acceleration up to ±200g, making it suitable for applications requiring high dynamic range and precision.

Explore Projects Built with Adafruit ADXL375

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO with Adafruit ADXL345 Accelerometer Data Logger
Image of ADXL345: A project utilizing Adafruit ADXL375 in a practical application
This circuit connects an Arduino UNO microcontroller with an Adafruit ADXL345 accelerometer sensor. The Arduino powers the sensor, communicates with it via I2C (using pins A4 and A5 for SDA and SCL respectively), and runs a program to read and output the acceleration data in three axes. The purpose of the circuit is to measure acceleration and provide real-time data for analysis or further processing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO and ADXL345 Accelerometer Data Logger
Image of Accelerometer ADXL345 Circuit Diagram: A project utilizing Adafruit ADXL375 in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an Adafruit ADXL345 accelerometer for motion detection, powered by two parallel-connected 18650 Li-ion batteries. The accelerometer communicates with the Arduino over I2C, and the system is designed for further code development to utilize the motion sensing capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Leonardo and ADXL345 Accelerometer-Based Motion Detection System
Image of mini project: A project utilizing Adafruit ADXL375 in a practical application
This circuit interfaces an ADXL345 accelerometer with an Arduino Leonardo via I2C communication. The Arduino provides power and ground to the accelerometer and reads acceleration data through the SDA and SCL lines.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano and ADXL345 Accelerometer Interface
Image of Interfacing ADXL345 with Nano: A project utilizing Adafruit ADXL375 in a practical application
This circuit features an Arduino Nano interfaced with an ADXL345 accelerometer for measuring acceleration. The Arduino provides power and I2C communication to the accelerometer, enabling it to capture and process motion-related data.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit ADXL375

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ADXL345: A project utilizing Adafruit ADXL375 in a practical application
Arduino UNO with Adafruit ADXL345 Accelerometer Data Logger
This circuit connects an Arduino UNO microcontroller with an Adafruit ADXL345 accelerometer sensor. The Arduino powers the sensor, communicates with it via I2C (using pins A4 and A5 for SDA and SCL respectively), and runs a program to read and output the acceleration data in three axes. The purpose of the circuit is to measure acceleration and provide real-time data for analysis or further processing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Accelerometer ADXL345 Circuit Diagram: A project utilizing Adafruit ADXL375 in a practical application
Arduino UNO and ADXL345 Accelerometer Data Logger
This circuit features an Arduino UNO microcontroller interfaced with an Adafruit ADXL345 accelerometer for motion detection, powered by two parallel-connected 18650 Li-ion batteries. The accelerometer communicates with the Arduino over I2C, and the system is designed for further code development to utilize the motion sensing capabilities.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of mini project: A project utilizing Adafruit ADXL375 in a practical application
Arduino Leonardo and ADXL345 Accelerometer-Based Motion Detection System
This circuit interfaces an ADXL345 accelerometer with an Arduino Leonardo via I2C communication. The Arduino provides power and ground to the accelerometer and reads acceleration data through the SDA and SCL lines.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Interfacing ADXL345 with Nano: A project utilizing Adafruit ADXL375 in a practical application
Arduino Nano and ADXL345 Accelerometer Interface
This circuit features an Arduino Nano interfaced with an ADXL345 accelerometer for measuring acceleration. The Arduino provides power and I2C communication to the accelerometer, enabling it to capture and process motion-related data.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Impact and shock detection
  • Motion tracking in sports equipment
  • Vibration monitoring in industrial systems
  • Orientation sensing in robotics and drones
  • Wearable devices and fitness trackers

Technical Specifications

The following table outlines the key technical details of the Adafruit ADXL375:

Parameter Value
Supply Voltage (VDD) 2.0V to 3.6V
Operating Current 140 µA (typical)
Measurement Range ±200g
Output Type Digital (SPI/I²C)
Sensitivity 49 mg/LSB
Data Rate 0.1 Hz to 3200 Hz
Operating Temperature -40°C to +85°C
Communication Protocols SPI (3- or 4-wire), I²C

Pin Configuration and Descriptions

The Adafruit ADXL375 breakout board has the following pinout:

Pin Name Description
VIN Power supply input (2.0V to 3.6V). Connect to 3.3V or 5V power source.
GND Ground connection.
SDA I²C data line. Used for communication in I²C mode.
SCL I²C clock line. Used for communication in I²C mode.
SDO/ALT SPI data output (SDO) or I²C address select (ALT).
CS Chip Select for SPI communication. Pull low to enable SPI.
INT1 Interrupt 1 output. Configurable for various interrupt events.
INT2 Interrupt 2 output. Configurable for various interrupt events.

Usage Instructions

Connecting the ADXL375 to an Arduino UNO

To use the Adafruit ADXL375 with an Arduino UNO, follow these steps:

  1. Wiring:

    • Connect the VIN pin of the ADXL375 to the 3.3V or 5V pin on the Arduino.
    • Connect the GND pin of the ADXL375 to the GND pin on the Arduino.
    • For I²C communication:
      • Connect the SDA pin of the ADXL375 to the A4 pin on the Arduino.
      • Connect the SCL pin of the ADXL375 to the A5 pin on the Arduino.
    • For SPI communication:
      • Connect the CS pin of the ADXL375 to a digital pin on the Arduino (e.g., D10).
      • Connect the SDO/ALT pin to D12 (MISO).
      • Connect the SDA pin to D11 (MOSI).
      • Connect the SCL pin to D13 (SCK).
  2. Install Required Libraries:

    • Install the Adafruit Unified Sensor library and the Adafruit ADXL375 library from the Arduino Library Manager.
  3. Example Code: Below is an example of how to read acceleration data using I²C communication:

    // Include necessary libraries
    #include <Wire.h>
    #include <Adafruit_Sensor.h>
    #include <Adafruit_ADXL375.h>
    
    // Create an ADXL375 object
    Adafruit_ADXL375 accel = Adafruit_ADXL375();
    
    void setup() {
      Serial.begin(9600); // Initialize serial communication
      while (!Serial) {
        delay(10); // Wait for the serial monitor to open
      }
    
      // Initialize the ADXL375
      if (!accel.begin()) {
        Serial.println("Failed to find ADXL375 chip!");
        while (1) {
          delay(10); // Halt execution if initialization fails
        }
      }
      Serial.println("ADXL375 initialized successfully!");
    
      // Set the range to ±200g
      accel.setRange(ADXL375_RANGE_200_G);
      Serial.print("Range set to: ");
      Serial.print(200);
      Serial.println(" g");
    }
    
    void loop() {
      // Read acceleration data
      sensors_event_t event;
      accel.getEvent(&event);
    
      // Print acceleration values
      Serial.print("X: ");
      Serial.print(event.acceleration.x);
      Serial.print(" m/s^2, Y: ");
      Serial.print(event.acceleration.y);
      Serial.print(" m/s^2, Z: ");
      Serial.print(event.acceleration.z);
      Serial.println(" m/s^2");
    
      delay(500); // Delay for readability
    }
    

Important Considerations

  • Power Supply: Ensure the input voltage is within the specified range (2.0V to 3.6V). Using a voltage regulator is recommended if your power source exceeds this range.
  • Pull-Up Resistors: For I²C communication, ensure pull-up resistors (typically 4.7kΩ) are present on the SDA and SCL lines.
  • Interrupts: Configure the INT1 and INT2 pins for specific events, such as free-fall detection or activity monitoring, using the library functions.

Troubleshooting and FAQs

Common Issues

  1. The ADXL375 is not detected by the Arduino:

    • Ensure the wiring is correct and matches the selected communication protocol (I²C or SPI).
    • Verify that the correct I²C address (default: 0x53) is being used in the code.
    • Check for loose connections or damaged wires.
  2. Incorrect or unstable acceleration readings:

    • Ensure the ADXL375 is securely mounted to avoid vibrations or movement affecting the readings.
    • Verify that the range is correctly set to ±200g in the code.
  3. Interrupts are not triggering:

    • Confirm that the INT1 and INT2 pins are properly connected to the Arduino.
    • Check the interrupt configuration in the code and ensure it matches the desired event.

Tips for Troubleshooting

  • Use a multimeter to verify power and ground connections.
  • Test the ADXL375 with the Adafruit example sketches to confirm basic functionality.
  • If using SPI, ensure the correct SPI mode (Mode 3) is configured in the code.

By following this documentation, you should be able to successfully integrate and use the Adafruit ADXL375 in your projects.