• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Get control of your email attachments. Connect all your Gmail accounts and in less than 2 minutes, Dokkio will automatically organize your file attachments. You can also connect Dokkio to Drive, Dropbox, and Slack. Sign up for free.


Guiher Ally Lab 6

Page history last edited by zahraa@... 4 years, 10 months ago

Part B. Connect And Test Your Decoder

Describe the tone pattern you hear (i.e., high or low, how long, etc.).

     The tone is on and then off for about 1 second each, moderately-high pitched.


Part C. Play Some Music!

Tell a member of the teaching team what your song is (or better yet, play it for us).

     The first song is Absolutely Cuckoo, the second is Baba Yetu, the third is Adeimus, and the fourth is Somewhere Over the Rainbow/ What a Wonderful World.


Does this code play all the songs in all the directories of the SD card? If not, which songs does it play? How does it keep from playing the text file?

     It does play all of the songs on the SD card. It keeps from playing the text file by only reading .mp3 files. It is established in the mp3 library that DIR_PLAY() and mp3_play() read .mp3 files, not .txt files.


Part D. Pause to Learn About Interrupts

Draw us a quick sketch of what your circuit looks like.



What are the pros and cons of using this method?

     The pros of using a digital debouncer are that it effectively prevents bouncing without having to change any hardware and that it is relatively effective. It is very uncommon that the user is going to be able to and need to drop the interrupt line again within the span of 100-200 ms. The con is that if, for some reason, the interrupts need to listen for input within that sensitive time-frame, software debouncing will be ineffective because it will either not listen to the interrupt line when it needs to or will catch the bounce. 




Part D-3  (-0.5)?




Comments (1)

xyyue@... said

at 11:05 am on Aug 15, 2015


You don't have permission to comment on this page.