Measuring & Plotting Acceleration values | Arduino - ADXL335 Accelerometer Tutorial

  Рет қаралды 40,791

MechStuff

MechStuff

Күн бұрын

Пікірлер: 46
@Godshole
@Godshole 3 жыл бұрын
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.
@MechStuff
@MechStuff 3 жыл бұрын
Glad it helped!
@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
@MechStuff
@MechStuff 2 жыл бұрын
Glad it helped!
@AmishaSharma_1
@AmishaSharma_1 3 жыл бұрын
Very well explained sir.. Thank you..
@detectivejerry8488
@detectivejerry8488 Жыл бұрын
Thank you very much bro
@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
@arpannandy6623
@arpannandy6623 3 жыл бұрын
excellent tutorial...thank u
@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.
@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 жыл бұрын
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.
@NoOne-mr3bk
@NoOne-mr3bk 2 жыл бұрын
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 ;)
@KomalSharma-f7v
@KomalSharma-f7v Жыл бұрын
i want to interface ADXL335 with esp8266, how can i do that??
@akshatp4861
@akshatp4861 Жыл бұрын
Can we connect wifimodule to sent sensor data to cloud
@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!
@jerrycloud1643
@jerrycloud1643 3 жыл бұрын
The adxl335 doesn't give stable readings. Values have wide range. What could be the issue?
@adityandei
@adityandei 3 жыл бұрын
thank you bro
@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.
@iceman1st1
@iceman1st1 2 жыл бұрын
how can i get this to turn a light on when it detects deceleration
@danielapetroaie8217
@danielapetroaie8217 3 жыл бұрын
thanks
@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
@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 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
@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.
@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 10 ай бұрын
Bro this code site showing error, can u fix it
@maulanayusuf5486
@maulanayusuf5486 4 жыл бұрын
can i meassure vibration with ADXL345?
@MechStuff
@MechStuff 4 жыл бұрын
Hello, what do you exactly mean by "measuring vibration"?
@maulanayusuf5486
@maulanayusuf5486 4 жыл бұрын
Yes sir
@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 :)
How to Calibrate an Accelerometer
11:56
MicWro Engr
Рет қаралды 34 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 98 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,5 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
HARD_MMA
Рет қаралды 3,5 МЛН
How to Compute Roll and Pitch From Accelerometers
9:38
MicWro Engr
Рет қаралды 29 М.
How to Use a Button with an Arduino (Lesson #5)
20:57
Science Buddies
Рет қаралды 100 М.
14 | Measure angles with the MPU6050 accelerometer
13:03
Carbon Aeronautics
Рет қаралды 161 М.
Разобрали jaecoo j8 - Был не прав, Уаз это топ!
25:00
Клубный сервис
Рет қаралды 206 М.
Vibration Analyzer for $20
24:22
siu automotive
Рет қаралды 57 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
15 | Combine a gyroscope and accelerometer to measure angles - precisely
9:49
How does an Accelerometer work? | 3D Animation
6:11
CircuitBread
Рет қаралды 169 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 98 МЛН