Accelerometer sensor(ADXL345) with ESP32

Поділитися
Вставка
  • Опубліковано 11 січ 2025
  • The ADXL345 is a low-power, 3-axis MEMS accelerometer modules with both I2C and SPI interfaces. The Breakout boards for these modules feature on-board 3.3v voltage regulation and level shifting which makes them simple to interface with 5v microcontrollers such as the Arduino.
    The ADXL345 features 4 sensitivity ranges from +/- 2G to +/- 16G. And it supports output data rates ranging from 10Hz to 3200Hz.
    ADXL345 is very suitable for mobile applications. It can be applied to the skew detection in the measurement of the static acceleration of gravity, also can measure the movement or impact caused by the dynamic acceleration. The high resolution ( 4mg / LSB ), can be measured is less than 1.0° Angle change.
    #esp32 #sensor #accelerometer #arduino

КОМЕНТАРІ • 14

  • @ivobastos9891
    @ivobastos9891 Рік тому +1

    Thanks for the video Sir, have you tried to set up the connection between the ADXL345 and esp32 but using SPI instead of I2C? The I2C works fine for me but when I try to use the SPI protocol with the Adafruit Library it does not even detect the accelerometer.

  • @felipeH2O
    @felipeH2O 11 місяців тому +1

    Do u have a video using SPI connection?

    • @smtronics
      @smtronics  11 місяців тому

      I will try to upload the SPI connection with ESP32

  • @zaynmuhammad-k7l
    @zaynmuhammad-k7l 10 місяців тому

    Is it possible to to use the ADXL345 as gyroscope? by possibly integrating or double integrating the values?

    • @zaynmuhammad-k7l
      @zaynmuhammad-k7l 10 місяців тому

      Also, Can you please share the full code ​ @smtronics

  • @zaynmuhammad-k7l
    @zaynmuhammad-k7l 10 місяців тому

    Also, Can SDA and SCL pins be connected to other pins like 12 and 14? or is it compulsory to connect them to GPIO 21 and 22?
    If they can be connected to other pins, where and how do I change the code?

    • @smtronics
      @smtronics  21 день тому

      This are the I2C pins that is present on the esp32, you need to refer to the datasheet for that.

  • @ivanarakistain3885
    @ivanarakistain3885 Рік тому

    Do you have FFT code for this accelerometer?

  • @soma9198
    @soma9198 Рік тому

    please send the code

  • @conse_QNT
    @conse_QNT 2 роки тому

    Can I have the code?

  • @widimurananta5634
    @widimurananta5634 Рік тому

    can you show the code please