Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:32862341b795, committed 2018-03-02
- Comitter:
- davmalon
- Date:
- Fri Mar 02 16:43:08 2018 +0000
- Parent:
- 0:3b7e393206f1
- Commit message:
- added lab report
Changed in this revision
report.txt | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/report.txt Fri Mar 02 16:43:08 2018 +0000 @@ -0,0 +1,4 @@ +For the problem of the accelerometer detecing knocks while being suspended, +I decided to use a moving average for the lower threshold of the accelerometer to detect a knock. +so I would keep record of the last ten readings from the accelerometer, with each reading being an average of the three axis' with their respective absolute values. +and then I would compare those new reading to the moving average and if the current reading was greater than 1.5x the average, then a knock would be registered and recorded. \ No newline at end of file