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.
Dependencies: mbed
Diff: Report.txt
- Revision:
- 1:5192dafaecad
- Child:
- 2:d457aead43f6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Report.txt Thu Feb 01 20:58:09 2018 +0000 @@ -0,0 +1,23 @@ +Lab 3 Lab report +David Malone davmalon +Samantha Smith sks1 + +Results + + +Difficulties +During the process of manipulating the sinewave example code, we ran into quite a few problems with the frequency of the wave. +We were slightly confused initially on how to convert the period into frequency with the wait_us() function. +Eventually we had realized that the function operated in miliseconds and the frequency we were giving the function was actually a delay of 1ooms and not 100hz/samples per second. +To achive the actual frequency, one only has to divide the input frequency by 10 and pass that number to the wait_us function. +We also had an issue with how we originally connected our circuit which caused a few problems. One issue that stemmed from this was that we chose a capacitor with a high capacitance that disrupted the form of our sinewave. +We simply chose another capacitor, at .1 microferrats. and this fixed our problem (we swapped out the resistor to reflect this change in our circuit for our freuency cutoff value). + + + +How closely did your analysis match your measurements. What were the reasons for the differences? + +Filter Ideal Analysis + + +Filter Measurements \ No newline at end of file