P Comp – Week 4 – Analog Output

For some reason I always want to write “Analogue” rather than “Analog.” Is that wrong? Maybe I’m thinking of it in relation to the word Analogy. I keep having to check my code to make sure I spelled it right….

Here I am using a force-sensitive resistor to control a servo:

Using a pair of photoresistors to change the output of a small piezo buzzer:

(I need a new camera. Half the time it won’t focus in movie mode.)

And getting the buzzer to play the ‘shave-and-a-haircut’ song, very off-key:

I also got it to play Ride of the Valkyries, but failed to record it because I got too caught up in the project it inspired: >>>>> on to the Stupid Pet Trick!!!

This entry was posted in Intro to Physical Computing, ITP Fall 2011. Bookmark the permalink.

One Response to P Comp – Week 4 – Analog Output

  1. Pingback: P Comp – Week 5 – Stupid Pet Trick | James Borda

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>