please can any one help me out how to configure g-force and how to recognise the g-force in adxl345,i want vary the sensitivity of the single Tap.
You can configure the sensitivity of the Tap feature using the THRESH_TAP register shown in Table 19 of the datasheet. You can set a 8 bit value in this register (0 to 255 LSB). The sensitivity is 62.5mg/LSB. So 255LSB would correspond to 16g.
Hi Venkat ,
Can you please me what values to be set in thresh_tap register for g-force
Hi Venkat can you please help me, what values to be set in Thresh_tap register for g-force.
A typical configuration for detecting tap (single or double) can be the following:
THRESH_TAP = 3g (or 00110000b)
DUR = 50ms
LATENT = 40ms
WINDOW = 300ms
You also have to enable the X, Y or Z axis to participate in tap detection using the TAP_AXES register.
Retrieving data ...