# Adafruit ADXL375

## Overview

![ADXL375](https://cdn-shop.adafruit.com/970x728/5374-05.jpg )

Hey rocket man (_burnin' out your fuse out there alone_) ever wonder how fast you're rocketing? The **Adafruit ADXL375 High G Accelerometer** is an epic +-200g 3-axis accelerometer may be able to tell the answer.

You read that right, this accelerometer can sense up to **200 g's of force** in three axes of measurements (X Y Z) and&nbsp;has&nbsp;pins that can be used either as I2C or SPI digital interfacing for easy integration into any fast project. Built-in motion detection features make shock detection easy to implement. There are two interrupt pins, and you can map any of the interrupts independently to either of them. Incredible! Not surprisingly, we couldn't say "no" to a breakout for this sensor.

![]( )

The ADXL375 looks and acts nearly identically in specifications to its little sisters, the ADXL345 and ADXL343. Those are only +-16g max, and have adjustable ranges. This sensor acts and looks the same, except that you cannot change the range, and it's fixed at 200g. Otherwise, existing library code will 'just work', so if you happen to be using something other than Arduino or CircuitPython, the port is pretty easy and code written for the '345/'343 will likely work on the '375 with just a scaling adjustment.

![ADXL345](https://cdn-shop.adafruit.com/970x728/5374-09.jpg )

As with all Adafruit breakouts, we've done the work to make this handy accelerometer super easy to use. We've put it on a breakout board with the required support circuitry and connectors to make it easy to work with. Since I2C is supported, we've added&nbsp;[SparkFun Qwiic](https://www.sparkfun.com/qwiic)&nbsp;compatible&nbsp;[**STEMMA QT**](https://learn.adafruit.com/introducing-adafruit-stemma-qt)&nbsp;JST SH connectors that allow you to get going&nbsp; **without needing to solder.** &nbsp;Just use a&nbsp;[STEMMA QT adapter cable](https://www.adafruit.com/product/4209), plug it into your favorite microcontroller or Blinka supported SBC and you're ready to rock! A [QT Cable is not included, but we have a variety in the shop](https://www.adafruit.com/?q=stemma+qt+cable&sort=BestMatch).&nbsp;

![ADXL345](https://cdn-shop.adafruit.com/970x728/5374-06.jpg )

We've got both [Arduino (C/C++)](https://github.com/adafruit/Adafruit_ADXL375)and [CircuitPython (Python 3) libraries](https://github.com/adafruit/Adafruit_CircuitPython_ADXL34x) available so you can use it with any microcontroller like[Arduino, ESP8266, Metro, etc](https://learn.adafruit.com/adxl343-breakout-learning-guide/arduino) or with [Raspberry Pi or other Linux computers](https://learn.adafruit.com/adxl343-breakout-learning-guide/circuitpython) thanks to Blinka (our CircuitPython library support helper).

Each order comes with a fully tested and assembled breakout and some header for soldering to a PCB or breadboard. It comes with a 9 pin 0.1" standard piece of header in case you want to use it with a breadboard or perfboard. It includes four 2.5mm (0.1") mounting holes for easy attachment. You'll be up and running in under 5 minutes!

# Adafruit ADXL375

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/108/847/medium800/adafruit_products_ADXL375_pinouts.jpg?1644445468)

The default I2C address for this board is **0x53**.

## Power Pins

The sensor on the breakout requires between a 2.0V and 3.6V, but it can be easily used with most microcontrollers from an Arduino to a Feather or something else.

- **VIN** - This is the power pin. To power the board, give it the same power as the logic level of your microcontroller - i.e. for a 5V micro like Arduino, use 5V, or for a 3V micro like a Feather, use 3V.
- **3Vo** - This is the 3.3V output from the voltage regulator. You can grab up to 100mA from this if you like.
- **GND** - This is common ground for power and logic.

## I2C Logic Pins

- **SCL** - I2C clock pin, connect to your microcontroller's I2C clock line. This pin is level shifted so you can use 3-5V logic, and there's a **10K pullup** on this pin.
- **SDA** -I2C data pin, connect to your microcontroller's I2C data line. This pin is level shifted so you can use 3-5V logic, and there's a **10K pullup** on this pin.
- **CS** - This is the **C** hip **S** elect pin. It is tied to 3V by default to enable I2C mode.
- [**STEMMA QT**](https://learn.adafruit.com/introducing-adafruit-stemma-qt) **-** These connectors allow you to connect to development boards with **STEMMA QT** connectors, or to other things, with [various associated accessories](https://www.adafruit.com/category/619).

## SPI Logic Pins

- **SCL** - This is the **S** PI **Cl** oc **k** pin. It's an input to the chip.
- **SDA** - This is the **S** erial **Da** ta In / **M** icrocontroller **O** ut **S** ensor **I** n pin. It is for data sent from your microcontroller to the accelerometer.
- **SDO** - This is the **S** erial **D** ata **O** ut / **M** icrocontroller **I** n **S** ensor **O** ut pin. It is for data sent from the accelerometer to your microcontroller.
- **CS** - This is the **C** hip **S** elect pin. When in SPI mode, it is controlled by the SPI bus. Drop this pin low to start a SPI transaction. It's an input to the chip.

## Other Pins

- **INT / I2** - These are the two interrupt pins. You can configure the interrupt to trigger on multiple things such as threshold detection, shock detection and data ready. You can map any of the interrupts independently to each pin.

## On LED Jumper

- **LED jumper** - On the back of the board is a jumper for the power LED. If you wish to disable the power LED, simply cut the trace on this jumper.

# Adafruit ADXL375

## Python & CircuitPython

It's easy to use the **Adafruit**  **ADXL375** with Python or CircuitPython, and the [Adafruit CircuitPython ADXL37x](https://github.com/adafruit/Adafruit_CircuitPython_ADXL37x) module. This module allows you to easily write Python code that reads the acceleration and more from the sensor.

You can use this sensor with any CircuitPython microcontroller board or with a computer that has GPIO and Python [thanks to Adafruit\_Blinka, our CircuitPython-for-Python compatibility library](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).

## CircuitPython Microcontroller Wiring

First wire up a ADXL375 to your board exactly as shown below. Here's an example of wiring a Feather M4 to the sensor with I2C using one of the handy [**STEMMA QT**](https://learn.adafruit.com/introducing-adafruit-stemma-qt) connectors:

- **Board 3V** &nbsp;to&nbsp;**sensor VIN (red wire)**
- **Board GND** &nbsp;to&nbsp;**sensor GND (black wire)**
- **Board SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire)**
- **Board SDA** &nbsp;to&nbsp;**sensor SDA (blue wire)**

![adafruit_products_ADXL375_Feather_STEMMA_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/927/medium640/adafruit_products_ADXL375_Feather_STEMMA_bb.jpg?1644616217)

You can also use the standard **0.100" pitch** headers to wire it up on a breadboard:

- **Board 3V** &nbsp;to&nbsp;**sensor VIN (red wire)**
- **Board GND** &nbsp;to&nbsp;**sensor GND (black wire)**
- **Board SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire)**
- **Board SDA** &nbsp;to&nbsp;**sensor SDA (blue wire)**

![adafruit_products_ADXL375_Feather_breadboard_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/928/medium640/adafruit_products_ADXL375_Feather_breadboard_bb.jpg?1644616239)

## Python Computer Wiring

Since there's _dozens_ of Linux computers/boards you can use, we will show wiring for Raspberry Pi. For other platforms, [please visit the guide for CircuitPython on Linux to see whether your platform is supported](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).&nbsp;

Here's the Raspberry Pi wired to the sensor using I2C and a [**STEMMA QT**](https://learn.adafruit.com/introducing-adafruit-stemma-qt) connector:

- **Pi 3V** &nbsp;to&nbsp;**sensor VIN (red wire)**
- **Pi GND** &nbsp;to&nbsp;**sensor GND (black wire)**
- **Pi SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire)**
- **Pi SDA** &nbsp;to&nbsp;**sensor SDA (blue wire)**

![adafruit_products_ADXL375_RasPi_STEMMA_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/939/medium640/adafruit_products_ADXL375_RasPi_STEMMA_bb.jpg?1644618006)

Finally here is an example of how to wire up a Raspberry Pi to the sensor using a solderless breadboard:

- **Pi 3V** &nbsp;to&nbsp;**sensor VIN (red wire)**
- **Pi GND** &nbsp;to&nbsp;**sensor GND (black wire)**
- **Pi SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire)**
- **Pi SDA** &nbsp;to&nbsp;**sensor SDA (blue wire)**

![adafruit_products_ADXL375_RasPi_breadboard_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/940/medium640/adafruit_products_ADXL375_RasPi_breadboard_bb.jpg?1644618039)

## Python Installation of ADXL37x Library

You'll need to install the **Adafruit\_Blinka** library that provides the CircuitPython support in Python. This may also require enabling I2C on your platform and verifying you are running Python 3.&nbsp;[Since each platform is a little different, and Linux changes often, please visit the CircuitPython on Linux guide to get your computer ready](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux)!

Once that's done, from your command line run the following command:

- `pip3 install adafruit-circuitpython-adxl37x`

If your default Python is version 3, you may need to run `pip` instead. Make sure you aren't trying to use CircuitPython on Python 2.x, it isn't supported!

## CircuitPython Usage

To use with CircuitPython, you need to first install the ADXL37x library, and its dependencies, into the **lib** folder on your **CIRCUITPY** drive. Then you need to update **code.py** with the example script.

Thankfully, we can do this in one go. In the example below, click the **Download Project Bundle** button below to download the necessary libraries and the **code.py** file in a zip file. Extract the contents of the zip file, and copy the **entire**  **lib**  **folder** and the **code.py** file to your **CIRCUITPY** drive.

Your **CIRCUITPY/lib** folder should contain the following folder and file:

- **adafruit\_bus\_device/**
- **adafruit\_adxl34x.mpy**
- **adafruit\_adxl37x.mpy**

![CIRCUITPY](https://adafruit.github.io/Adafruit_CircuitPython_Bundle/adxl37x_adxl37x_simpletest.py.png)

## Python Usage

Once you have the library `pip3` installed on your computer, copy or download the following example to your computer, and run the following, replacing **code.py** with whatever you named the file:

`python3 code.py`

## Example Code
https://github.com/adafruit/Adafruit_CircuitPython_ADXL37x/blob/main/examples/adxl37x_simpletest.py

 **If running CircuitPython:** Once everything is saved to the **CIRCUITPY** drive, [connect to the serial console](https://learn.adafruit.com/welcome-to-circuitpython/kattni-connecting-to-the-serial-console) to see the data printed out!

**If running Python:** The console output will appear wherever you are running Python.

![](https://cdn-learn.adafruit.com/assets/assets/000/109/743/medium800/adafruit_products_ADXL375_CP_serial.png?1647460900)

Try moving the breakout to see the values change! Acceleration is in **m/s<sup>2</sup>**

First you import the necessary modules and libraries. Then you instantiate the sensor on I2C.

Then you're ready to read data from the sensor. Inside the loop, you check the acceleration every 0.2 seconds.

That's all there is to using the ADXL375 with CircuitPython!

# Adafruit ADXL375

## Python Docs

# Adafruit ADXL375

## Arduino

Using the ADXL375 with Arduino involves wiring up the sensor to your Arduino-compatible microcontroller, installing the [Adafruit ADXL375](https://github.com/adafruit/Adafruit_ADXL375) library and running the provided example code.

## Wiring

Wire as shown for a **5V** board like an Uno. If you are using a **3V** board, like an Adafruit Feather, wire the board's 3V pin to the ADXL374 VIN.

Here is an Adafruit Metro wired up to the ADXL375 using the STEMMA QT connector:

- **Board 5V** to **sensor** **VIN (red wire)**  
- **Board GND** to **sensor** **GND (black wire)**  
- **Board SCL** to **sensor** **SCL (yellow wire)**  
- **Board SDA** to **sensor** **SDA (blue wire)**  

![adafruit_products_ADXL375_Arduino_STEMMA_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/941/medium640/adafruit_products_ADXL375_Arduino_STEMMA_bb.jpg?1644619324)

Here is an Adafruit Metro wired up using a solderless breadboard:

- **Board 5V** to **sensor** **VIN (red wire)**  
- **Board GND** to **sensor** **GND (black wire)**  
- **Board SCL** to **sensor** **SCL (yellow wire)**  
- **Board SDA** to **sensor** **SDA (blue wire)**

![adafruit_products_ADXL375_Arduino_breadboard_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/942/medium640/adafruit_products_ADXL375_Arduino_breadboard_bb.jpg?1644619410)

## Library Installation

You can install the **ADXL375** library for Arduino using the Library Manager in the Arduino IDE.

![](https://cdn-learn.adafruit.com/assets/assets/000/108/943/medium800/adafruit_products_Arduino_Open_Library_Manager.png?1644619452)

Click the&nbsp; **Manage Libraries ...** menu item, search for **ADXL375** ,&nbsp;and select the **Adafruit ADXL375** library:

![](https://cdn-learn.adafruit.com/assets/assets/000/108/968/medium800/adafruit_products_ADXL375_Arduino_lib_install.png?1644854801)

When asked about dependencies, click "Install all".

![](https://cdn-learn.adafruit.com/assets/assets/000/108/969/medium800/adafruit_products_ADXL375_arduino_dependencies.png?1644854811)

## Load Example

Open up **File**  **-\> Examples -\> Adafruit ADXL375 -\> sensortest** and upload to your Arduino wired to the sensor.

https://github.com/adafruit/Adafruit_ADXL375/blob/master/examples/sensortest/sensortest.ino

Upload the sketch to your board and open up the Serial Monitor ( **Tools -\> Serial Monitor** ) at 115200 baud. You should see the the values from the senor being printed out.

![](https://cdn-learn.adafruit.com/assets/assets/000/108/970/medium800/adafruit_products_ADXL375_Arduino_serial_output.png?1644854838)

# Adafruit ADXL375

## Arduino Docs

# Adafruit ADXL375

## Downloads

## Files:

- [ADXL375 Datasheet](https://cdn-learn.adafruit.com/assets/assets/000/108/851/original/ADXL375.PDF?1644452301)
- [EagleCAD PCB Files on GitHub](https://github.com/adafruit/Adafruit_ADXL375_PCB)
- [Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20ADXL375.fzpz)

# Schematic and Fab Print for ADXL375
![](https://cdn-learn.adafruit.com/assets/assets/000/108/853/medium800/adafruit_products_ADXL375_sch.png?1644515359)

![](https://cdn-learn.adafruit.com/assets/assets/000/108/854/medium800/adafruit_products_ADXL375_fab_print.png?1644515368)


## Primary Products

### ADXL375 - High G Accelerometer (+-200g) with I2C and SPI

[ADXL375 - High G Accelerometer (+-200g) with I2C and SPI](https://www.adafruit.com/product/5374)
Hey rocket man (_burnin' out your fuse out there alone_) ever wonder how fast you're rocketing? The **Adafruit ADXL375 High G Accelerometer** is an epic +-200g 3-axis accelerometer may be able to tell the answer.

You read that right, this accelerometer can...

Out of Stock
[Buy Now](https://www.adafruit.com/product/5374)
[Related Guides to the Product](https://learn.adafruit.com/products/5374/guides)

## Featured Products

### STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long](https://www.adafruit.com/product/4399)
This 4-wire cable is&nbsp;50mm / 1.9" long and fitted with JST SH female 4-pin connectors on both ends. Compared with the chunkier JST PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4399)
[Related Guides to the Product](https://learn.adafruit.com/products/4399/guides)
### JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic

[JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic](https://www.adafruit.com/product/4398)
This cable will make it super easy to use our plug-and-play STEMMA QT boards with boards like Circuit Playground. On one end you get a Qwiic / STEMMA QT connector (technically known as a JST SH 4-pin plug)&nbsp; into 4 individual wires with grippy alligator clips. We're carrying these to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4398)
[Related Guides to the Product](https://learn.adafruit.com/products/4398/guides)
### STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 200mm Long](https://www.adafruit.com/product/4401)
This 4-wire cable is a little over 200mm / 7.8" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4401)
[Related Guides to the Product](https://learn.adafruit.com/products/4401/guides)
### STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable

[STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable](https://www.adafruit.com/product/4209)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium Dupont male headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4209)
[Related Guides to the Product](https://learn.adafruit.com/products/4209/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)

## Related Guides

- [Adafruit H3LIS331 and LIS331 High-g 3-Axis Accelerometers](https://learn.adafruit.com/adafruit-h3lis331-and-lis331hh-high-g-3-axis-accelerometers.md)
- [CircuitPython Webcam with OV2640](https://learn.adafruit.com/circuitpython-webcam-with-ov2640.md)
- [ScoutMakes FM Radio Kit](https://learn.adafruit.com/scoutmakes-fm-radio-kit.md)
- [Adafruit LTC4316 I2C Address Translator](https://learn.adafruit.com/adafruit-ltc4316-i2c-address-translator.md)
- [Adafruit DPI Display Kippah](https://learn.adafruit.com/adafruit-dpi-display-kippah-ttl-tft.md)
- [CircuitPython Libraries and Jupyter Notebook on any Computer with MCP2221](https://learn.adafruit.com/jupyter-on-any-computer-with-circuitpython-libraries-and-mcp2221.md)
- [Adafruit 2.2" PiTFT HAT - 320x240 Display](https://learn.adafruit.com/adafruit-2-2-pitft-hat-320-240-primary-display-for-raspberry-pi.md)
- [Quickstart IoT - Raspberry Pi Pico RP2040 with WiFi ](https://learn.adafruit.com/quickstart-rp2040-pico-with-wifi-and-circuitpython.md)
- [FunHouse Mail Slot Detector](https://learn.adafruit.com/funhouse-mail-slot-detector.md)
- [Adafruit seesaw](https://learn.adafruit.com/adafruit-seesaw-atsamd09-breakout.md)
- [CPU Temperature Logging with CircuitPython](https://learn.adafruit.com/cpu-temperature-logging-with-circuit-python.md)
- [Improve Your Code with Pylint and Black](https://learn.adafruit.com/improve-your-code-with-pylint.md)
- [LED Noodle Holiday Tree](https://learn.adafruit.com/led-noodle-tree.md)
- [Glowy Message Crown](https://learn.adafruit.com/glowy-message-crown.md)
- [Adafruit NeoRGB Stemma](https://learn.adafruit.com/adafruit-neorgb-stemma.md)
