Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

adxl accelerometer calibration

Status
Not open for further replies.

praba_J

Member level 3
Joined
Nov 24, 2010
Messages
66
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
LINYI,CHINA
Activity points
1,655
i need some help to calculate acceleration,gravity,angle from accelerometer data.. i am using adxl330 and keil for programming.. i get the data from adc.. after that what i need to do for fall detection..how to proceed for fall detection algorithms..
 

you need to set a threshold acceleration value in Z direction.
I mean, make a formula to get the acceleration (See tutorial).
now trigger a software interrupt, when a higher acceleration in Z direction has detected.
 

Attachments

  • Tutorial on Accelerometer.pdf
    278.1 KB · Views: 49

hi jigar.. thank you for your suggestion.. i already go through with that pdf..
vref=3.3v 12bit adc stm32f103 controller..
i got angle values on each axis by using these formula..
Axr = arccos(Rx/R)
Ayr = arccos(Ry/R)
Azr = arccos(Rz/R)
&
Axr = Axr*(180/3.14);
Ayr = Ayr*(180/3.14);
Azr = Azr*(180/3.14);

but the variation in each axis is very minimum..(left,right,backward,front)
for x-axis 112 to 118
y-axis 47 to 52
z-axis 47 to 51
this is correct or not?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top