Measuring & Plotting Acceleration values | Arduino - ADXL335 Accelerometer Tutorial

Поділитися
Вставка

КОМЕНТАРІ • 46

  • @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.

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

    Very well explained sir.. Thank you..

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

    excellent tutorial...thank u

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

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

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

    Youu sirr deserverd a subscribe! thank you for the tutorial

  • @detectivejerry8488
    @detectivejerry8488 10 місяців тому

    Thank you very much bro

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

    thank you bro

  • @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.

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

    thanks

  • @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

  • @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.

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

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

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

    Can we connect wifimodule to sent sensor data to cloud

  • @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 ;)

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

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

  • @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!

  • @user-ss2ex8jk4k
    @user-ss2ex8jk4k 8 місяців тому

    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.

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

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

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

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

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

    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.

  • @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.

  • @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 😆

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

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

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

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

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

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

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

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

  • @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.

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

    Bro this code site showing error, can u fix it

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

    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 :)