report
Dependencies: ADXL362 Lab7 mbed
Revision 6:f6010330dbbf, committed 2018-02-23
- Comitter:
- dprowe
- Date:
- Fri Feb 23 17:41:03 2018 +0000
- Parent:
- 5:0425e5469f09
- Child:
- 7:ff64fb98ac1b
- Commit message:
- EXPLANATION
Changed in this revision
| explanation.txt | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/explanation.txt Fri Feb 23 17:41:03 2018 +0000 @@ -0,0 +1,7 @@ +The knock detector was a fairly straightforward problem to solve with some +degree of accuracy. We first measured the x, y, and z readings from the +accelerometer, waited a fraction of a second, and then measured them again. +At this point, if there was any difference greater than or equal to 4 in the +two x, y or z readings, we determined that there was sufficient change to +have detected a knock. Because we are testing for only the delta of the +measurements, the board can be in any initial position and still detect knocks. \ No newline at end of file