Friday, December 1, 2017

Happy Birthday to you.....

Week 5 has been a joy to work our own challenge.  I chose to complete Circuit #9-Buzzer.  With this task we would be using the buzzer to make a small click when you apply the voltage.  If you program it to turn the buzzer off and on it will create a tone. 

Starting this made me nervous a little, but luckily our adventure alone last week prepared me mentally.   for this task we needed the following tools

1-Piezo Element
4-Wires

Below is a picture of my diagram, code, and a picture of my complete board. 

Diagram

Code





Picture of Board

I am proud to say that I completed this circuit and also completed a few extension pieces and changes to see how advanced I have become with this coding thing :)  When working on the board I was able to get it to successfully play a tune.  Check out the video below!  I posted a few things I tweaked with the code to get it to play a different beat.  


After getting a hang of the code and how it works, I decided to see if I could play around with the code to see if I could get it to play the beginning of Happy Birthday.  Listen and see if it sounds a little like it.  LOL!!!!


Reflection:  This week turned out to be a great week.  I am so happy that I kept pushing in this course to see my real potential.  Looking forward to next week.  

No comments:

Post a Comment