Interface ADXL345 accelerometer with NodeMCU


  • Interface an ADXL345 accelerometer with NodeMCU
  • View the output of every axis as a graph


  1. NodeMCU board (quantity: 1 no.)
  2. Micro USB cable A to B (quantity: 1 no.)
  3. Breadboard (quantity: 1 no.)
  4. ADXL345 accelerometer  (quantity: 1 no.)
  5. Adafruit Unified Sensor library
  6. Adafruit ADXL345 library
  7. Jumper wire – male to male (quantity: 4 no.)
  8. Arduino IDE on your computer

Let’s begin!

An ADXL345 is an digital accelerometer that gives the values of acceleration in three axes – X, Y and Z. It has high resolution (13-bit) measurement at up to ±16 g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface.

Several special sensing functions are provided. Activity and inactivity sensing detect the presence or lack of motion and if
the acceleration on any axis exceeds a user-set level.





Interfacing an ADXL345 accelerometer with NodeMCU


Interfacing an ADXL345 accelerometer with NodeMCU


Final Code

To copy the code, right click on view raw at the bottom of the code, click on open link in new tab and then copy the code.

There you go!


Loader Loading...
EAD Logo Taking too long?
Reload Reload document
| Open Open in new tab
April 22, 2020

13 responses on "Interface ADXL345 accelerometer with NodeMCU"

  1. viagra 100mg price http://viagrabng.online/# viagra over the counter walmart

  2. viagra 100mg price: viagra – mexican viagra

  3. pain meds without written prescription ed meds online without do

  4. drugs for ed ed drugs online from canada – online pharmacy worl

  5. cost of generic plaquenil buy hydroxychloroquine

  6. plaquenil 800 mg hydroxychloroquine 0.5 – plaquen

  7. ivermectin price usa ivermectin tablets for humans – wher

  8. legal to buy prescription drugs from canada: comparis

  9. best canadian online pharmacy: erectile dysfunctio

  10. over the counter viagra blue pill viagra – online doctor pres

  11. buy real viagra online buy real viagra online – п»їviagra pi

  12. buy cialis online viagra safe buy cialis – buy cialis onlin

  13. ivermectin cream canada cost ivermectin for sale humans</

Leave a Message

Your email address will not be published.


Knowledge and Content by Li2 Technologies | © 2021 NASSCOM Foundation | All rights reserved