3Axis Accelerometer(LIS3DH) code help needed urgently

Status
Not open for further replies.

TejaswiniGowda

Newbie level 1
Joined
Nov 26, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,282
Hi,

I'm using LIS3DH 3-axis accelerometer interfaced with the microcontroller, I'm supposed to simulate "HARSH ACCELERATION" & "HARSH BREAKING". Currently using my driver code, I'm able to read X,Y,Z axis values via interrupt. This is interfaced via SPI to microcontroller. But I'm not able to simulate exactly "HARSH ACCELERATION" & "HARSH BREAKING" by taking values, please if anyone has worked on it, let me know what values to be taken as threshold to simulate above mentioned conditions.

I'm reading X,Y,Z axis values & comparing with the set threshold of +1g to simulate "HARSH ACCELERATION" & -1g to simulate "HARSH BREAKING", with output data rate of 25Hz. please let me know if anyone has worked on it.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…