In this lab, I controlled the servomotor’s position using the value returned from an analog sensor.The servo motors were turning 180 degrees clockwise and anti-clockwise.

Tone Lab : This lab is for detecting tone output using arduino.

Tone melody lab : Me and Rushali tried to play the melody of London Bridge is falling down which the speakers. We got the first few notes correctly.We changed the notes of the songs to Play a Melody using the tone() function.

In the arduino code I tried to understand how the note durations and melodies change to play a sequence of notes. I also tried to figure out the note durations to make the melody work.  screen-shot-2016-10-05-at-1-17-00-amlondon-bridge-is-falling-down_singing-bell