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.
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!
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?
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.
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.
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..
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.
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
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;
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.
Glad it helped!
This video helped me so much, thank you!!!
Very well explained sir.. Thank you..
Youu sirr deserverd a subscribe! thank you for the tutorial
Wonderful. Helped a lot in PG Project. Keep up your good work
Glad it helped!
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
Can we connect wifimodule to sent sensor data to cloud
how can i get this to turn a light on when it detects deceleration
The adxl335 doesn't give stable readings. Values have wide range. What could be the issue?
i want to interface ADXL335 with esp8266, how can i do that??
I am getting constant values like 0 682 681. There is no change in values. How to fix this problem ?? Please help.
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!
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.
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!
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 ;)
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?
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.
@@MechStuff Oh thanks, got it.
excellent tutorial...thank u
Bro this code site showing error, can u fix it
How many data points per second can you get on each axis? What do you think the fastest would be?
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.
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..
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.
Vey nice ! how convert the measure from the sensor to g values ?
Hello! That is what the whole video is about George. Check the video from 3:00
thank you bro
Hi bro, did you know how can we convert from g unit to mm/s unit -> vibration velocity?
G is an acceleration. It's different than velocity mm/s
@@abdeljalilbouallegui3776 so how can i grab the vibration velocity?
@@highcontroltech V = A / (2 * pi * f),
V , velocity
A, acceleration,
This is elementary physics rules
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
Hello! Definitely you can! I don't see why you can't!
I wonder for what application you need such set-up 😆
Can you help me please?
I did the same but it gives me other higher values example x 1741 y2101
z 1520 why?
Hello, have you given 5v supply? If yes, connect it to 3.3v.
Thank you very much bro
can i meassure vibration with ADXL345?
Hello, what do you exactly mean by "measuring vibration"?
Yes sir
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;
You have not defined the pin numbers. Please copy the exact code, I have shared or share your code
can you please share the code
Hello, I have already shared the code link. Please check out description for the link :)
thanks