# DFRobot ADXL345

**URL:** <https://forum.core-electronics.com.au/t/dfrobot-adxl345/7275>\
**Category:** DFRobot\
**Created:** [18 February 2020 22:52 UTC](https://forum.core-electronics.com.au/t/dfrobot-adxl345/7275 "2020-02-18T22:52:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott60127](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Scott60127](https://forum.core-electronics.com.au/u/Scott60127)\
**Post date:** [18 February 2020 22:52 UTC](https://forum.core-electronics.com.au/t/dfrobot-adxl345/7275/1 "2020-02-18T22:52:40Z")

</div>

Hi, I recently purchased the Triple Axis Accelerometer ADXL345 by Dfrobot.

I have 2 questions. I would like to use this with an esp32, however the arduino drivers on the site appear to be for an older version of the arduino ide. Does anybody know if there is a way to make these compatible with the new IDE?

Also with regards to wiring it, most wiring diagrams for other ADXL345s show the GND, VCC, SDA and SDL wired up. However in the dfrobot documentation when wired to a uno they also show the CS and SDO wired to Ground and live. I wanted to know if that was in fact necessary. Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Bryce](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryce/32/3631_2.png) [@Bryce](https://forum.core-electronics.com.au/u/Bryce)\
**Post date:** [19 February 2020 04:50 UTC](https://forum.core-electronics.com.au/t/dfrobot-adxl345/7275/2 "2020-02-19T04:50:31Z")

</div>

Hey Scott,

I’m not sure about your wiring for this part as one could assume that the CS and SDO connections aren’t necessary depending on the protocol of communication that you’re using as this is capable of both I2C and SPI interactions. Below I’ve linked the product (just to ensure that we’re on the same page) and also a tutorial on setting up the Arduino IDE with the board (unsure as to whether this will solve the issue, but it may provide some insight into what’s causing it). All the best with it!

[https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide#installing-via-arduino-ide-boards-manager](https://learn.sparkfun.com/tutorials/esp32-thing-hookup-guide#installing-via-arduino-ide-boards-manager)

> **[SparkFun ESP32 Thing](https://core-electronics.com.au/sparkfun-esp32-thing.html)**
>
> The SparkFun ESP32 Thing is a comprehensive development platform for Espressif’s ESP32, their super-charged version of the popular ESP8266. Like the 8266, the ESP32 .. read more

Bryce  
Core Electronics | Support
