report
Dependencies: ADXL362 Lab7 mbed
explanation.txt@6:f6010330dbbf, 2018-02-23 (annotated)
- Committer:
- dprowe
- Date:
- Fri Feb 23 17:41:03 2018 +0000
- Revision:
- 6:f6010330dbbf
EXPLANATION
Who changed what in which revision?
User | Revision | Line number | New 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. |