report

Dependencies:   ADXL362 Lab7 mbed

Committer:
dprowe
Date:
Fri Mar 09 17:27:27 2018 +0000
Revision:
8:9d29dec6c0b7
Parent:
6:f6010330dbbf
REPORT

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dprowe 6:f6010330dbbf 1 The knock detector was a fairly straightforward problem to solve with some
dprowe 6:f6010330dbbf 2 degree of accuracy. We first measured the x, y, and z readings from the
dprowe 6:f6010330dbbf 3 accelerometer, waited a fraction of a second, and then measured them again.
dprowe 6:f6010330dbbf 4 At this point, if there was any difference greater than or equal to 4 in the
dprowe 6:f6010330dbbf 5 two x, y or z readings, we determined that there was sufficient change to
dprowe 6:f6010330dbbf 6 have detected a knock. Because we are testing for only the delta of the
dprowe 6:f6010330dbbf 7 measurements, the board can be in any initial position and still detect knocks.