report
Dependencies: ADXL362 Lab7 mbed
Diff: explanation.txt
- Revision:
- 6:f6010330dbbf
--- /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