Measuring & Plotting Acceleration values | Arduino - ADXL335 Accelerometer Tutorial

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 47

  • @Godshole
    @Godshole 3 роки тому +2

    This is GOLD. Thank you so much for the simple to follow, step by step guide that has allowed me to be able to measure traffic vibration and road surface quality. Even if it is a bit rough and not super accurate it gives me a good indication. Thank YOU.

  • @nicolasgomez8946
    @nicolasgomez8946 18 днів тому

    This video helped me so much, thank you!!!

  • @AmishaSharma_1
    @AmishaSharma_1 3 роки тому +1

    Very well explained sir.. Thank you..

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

    Youu sirr deserverd a subscribe! thank you for the tutorial

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

    Wonderful. Helped a lot in PG Project. Keep up your good work

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

    What should I do if I’m using I2C connection? I don’t have 3 individual pins for x y z. I’m using the ADXL345

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

    Can we connect wifimodule to sent sensor data to cloud

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

    how can i get this to turn a light on when it detects deceleration

  • @jerrycloud1643
    @jerrycloud1643 3 роки тому

    The adxl335 doesn't give stable readings. Values have wide range. What could be the issue?

  • @KomalSharma-f7v
    @KomalSharma-f7v Рік тому

    i want to interface ADXL335 with esp8266, how can i do that??

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

    I am getting constant values like 0 682 681. There is no change in values. How to fix this problem ?? Please help.

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

    Hey sir, is it possible to connect it to a ESP8266 i want to make it wireless if you have a code for it thank you!

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

    Thanks for a very helpful video, sir. May I know why you use -100 and 100 as the mapping values and not -1000 and 1000? Thank you.

  • @NoOne-mr3bk
    @NoOne-mr3bk 2 роки тому +1

    This is really helpful! I just have a question. After the calibration and the attempt in using it as a sensor, can I have more decimal number results like 1.7364363 instead of 1.74?
    This doesn't happen by just increasing the number of decimals in the output it just adds zeroes (1.7400000) Thanks!

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

      Umm.. I think you could do it by changing the type from "int" to "long" or something like that. Haven't tried out. Let me know if it works out ;)

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

    Thanks for your great video. I wondered in the section of obtaining mapping values and normalized acceleration values, why do you use 100 to divide by for z-axis, but -100 for x and y-axis?

    • @MechStuff
      @MechStuff  2 роки тому +1

      Its all sign conventions. You can take anything. I took -ve for Z-axis because I wanted gravitational acceleration to be displayed as positive. No other reason.

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

      @@MechStuff Oh thanks, got it.

  • @arpannandy6623
    @arpannandy6623 3 роки тому

    excellent tutorial...thank u

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

    Bro this code site showing error, can u fix it

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

    How many data points per second can you get on each axis? What do you think the fastest would be?

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

      Hello! I think it depends on the delay you give. For example, I have given 100 ms delay in this project, so it will read the values 10 times in a second. You can reduce the delay and fetch it more number of times.

  • @delgado9136
    @delgado9136 4 роки тому

    Do you know how to convert G units from ADXL335 to velocity units?
    I need to convert it so i can compare the velocity units with ISO 2372 for monitoring.
    Thank you..

    • @poojitmaddineni4055
      @poojitmaddineni4055 3 роки тому

      You can not convert acceleration into velocity because velocity is rate of change of acceleration , so you will need to have one more additional parameter, that is time.
      For example:
      At time t=0 , let us assume your vel is 0.
      Then at t=10 secs you have to find out your velocity. Now if you have maintained constant acceleration of 10m/s^2 then in 10 secs you would attain a velocity of 10*10= 100m/s velocity. So you can not depend on these values only.

  • @georgeveropoulos2489
    @georgeveropoulos2489 3 роки тому

    Vey nice ! how convert the measure from the sensor to g values ?

    • @MechStuff
      @MechStuff  3 роки тому

      Hello! That is what the whole video is about George. Check the video from 3:00

  • @adityandei
    @adityandei 4 роки тому

    thank you bro

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

    Hi bro, did you know how can we convert from g unit to mm/s unit -> vibration velocity?

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

      G is an acceleration. It's different than velocity mm/s

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

      @@abdeljalilbouallegui3776 so how can i grab the vibration velocity?

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

      @@highcontroltech V = A / (2 * pi * f),
      V , velocity
      A, acceleration,
      This is elementary physics rules

  • @kenzodesandrokusuma3649
    @kenzodesandrokusuma3649 3 роки тому

    Hey just asking, is it possible to make it with a buzzer too? So when it shakes the buzzer turns on. I was planning to use a buzzer, but I don't know how to do it. If you can respond ill love that and can you make it with a buzzer? Sure do all of us love that :D

    • @MechStuff
      @MechStuff  3 роки тому

      Hello! Definitely you can! I don't see why you can't!
      I wonder for what application you need such set-up 😆

  • @danielapetroaie8217
    @danielapetroaie8217 3 роки тому

    Can you help me please?
    I did the same but it gives me other higher values example x 1741 y2101
    z 1520 why?

    • @MechStuff
      @MechStuff  3 роки тому

      Hello, have you given 5v supply? If yes, connect it to 3.3v.

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

    Thank you very much bro

  • @maulanayusuf5486
    @maulanayusuf5486 4 роки тому

    can i meassure vibration with ADXL345?

  • @ponvigneshg1010
    @ponvigneshg1010 3 роки тому

    Hi bro,
    Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    ADXL335_calibration:30:18: error: 'A3' was not declared in this scope
    const int xpin = A3; // x-axis of the accelerometer
    ^
    ADXL335_calibration:31:18: error: 'A2' was not declared in this scope
    const int ypin = A2; // y-axis
    ^
    ADXL335_calibration:32:18: error: 'A1' was not declared in this scope
    const int zpin = A1; // z-axis (only on 3-axis models)
    ^
    exit status 1
    'A3' was not declared in this scope
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    I get this error, what should I do;

    • @MechStuff
      @MechStuff  3 роки тому

      You have not defined the pin numbers. Please copy the exact code, I have shared or share your code

  • @bhavanashiwankar4527
    @bhavanashiwankar4527 3 роки тому

    can you please share the code

    • @MechStuff
      @MechStuff  3 роки тому

      Hello, I have already shared the code link. Please check out description for the link :)

  • @danielapetroaie8217
    @danielapetroaie8217 3 роки тому

    thanks