TejaswiniGowda
Newbie level 2

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" 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 -300mg to simulate "HARSH ACCELERATION" & +300mg to simulate "HARSH BREAKING", with output data rate of 25Hz,But at presently i am getting same interrupt for breaking,Bump,vibration, i am not able to segregate really which is break.& also i am able find to keep the threshold for 1st gear,2nd gear etc... for Harsh acceleration. Please any one worked on this suggest for this.:!:
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" 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 -300mg to simulate "HARSH ACCELERATION" & +300mg to simulate "HARSH BREAKING", with output data rate of 25Hz,But at presently i am getting same interrupt for breaking,Bump,vibration, i am not able to segregate really which is break.& also i am able find to keep the threshold for 1st gear,2nd gear etc... for Harsh acceleration. Please any one worked on this suggest for this.:!: