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.

Accelerometer ADXL345 interfacing with arduino uno (help with reading)

Status
Not open for further replies.

NEELT

Newbie level 1
Joined
Mar 15, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
9
Adxl345 has single tap detection function who's threshold can be varied,which I have made 170. So below 170 it should not detect any tap but it is still detecting and I don't understand why it is showing negative values around -453 suddenly.Please help me understand these values
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
19,719
Helped
4,343
Reputation
8,695
Reaction score
4,304
Trophy points
1,393
Activity points
130,531
Hi,

Do you really think you gave us enough information to be able to help you?
No schematic, code, testing conditions...

Klaus
 

mfro

Junior Member level 1
Joined
Mar 2, 2016
Messages
16
Helped
6
Reputation
12
Reaction score
6
Trophy points
3
Activity points
113
Adxl345 has single tap detection function who's threshold can be varied,which I have made 170. So below 170 it should not detect any tap but it is still detecting and I don't understand why it is showing negative values around -453 suddenly.Please help me understand these values

Klaus is completely right in complaining about not enough information.

Anyway, did you read the datasheet? It's clearly stating the threshold value is checked against the magnitude of the tap event.

You understand the meaning of magnitude in this context?
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,252
Helped
1,151
Reputation
2,321
Reaction score
1,133
Trophy points
1,403
Location
Brazil
Activity points
53,870
I have made 170. So below 170 it should not detect any tap but it is still detecting

Are you aware that each axis should be considered independently on the external calibration process ? It sounds that you had used a unique parameter 170 to define the baseline for all x,y and z.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top