The last week or so of working on the Media Controller was kind of a race to get everything done before Wednesday. We settled on materials and the sound design and got some working code, but in the end ran out of time to tweak the code to work exactly the way we wanted it to. We ended up with something that looked really close to what we had envisioned, but ran out of time to get the code—and therefor the sound and motor reactivity—totally right.
Category Archives: PCOMP
Media Controller: Early Progress
After a few meetings between Lilia, Justin and I, we came up with some basic principles for the concept of our media controller assignment. Vaguely, this was described as three objects in an environment that react to a user and have sound, visual and physical reactions. Justin summed it up as:
“A lyrical exploration of the moment when something, for the first time in our universe, became alive.”
Lilia added that it would make sense to look at that idea but from the users perspective. Once we got together yesterday to work with some of the materials, this idea became very clear. We had talked about using a key to activate our objects. The burlap fabric Lilia brought in was much more sensual than I had imagined. Once we began to construct the flower like forms, it was clear that it felt more natural to touch them and sort of tease and mold them. The wire base, which provided some buoyancy to this interaction, encouraged touching and feeling. This realization was exciting. It took the idea away from the key-in-hole interaction to a more subtle touch/feel interaction. It was obvious that we should move from sticking something into the forms, which evokes penetration and the little kids toys we saw in the Joy Mountford lecture. We now had an interaction that evoked the feeling of a child discovering a washed up jelly fish on a beach and poking it, and finding the jelly fish still had life, or perhaps giving life to the jelly fish.
PCOMP: Observation
This is a towel dispenser in the bathroom at one of my favorite bars. The thing that is remarkable about this towel dispenser is that it knows if there is a paper towel waiting to be torn from the dispenser and won’t shoot out more paper towels if this is the case. This seems pretty simple, but it confused me and a lot of other guys I noticed trying to get more towels. For obvious reasons, I couldn’t document this (I guess I could have secretly left a camera somewhere). It was funny to watch guys continually wave there hand across, trying to get that second bit of towel, thinking that the machine had broken. Some guys tore off the towel and tried again and got another towel. Others just gave up. So it’s sort of a step towards a more sustainable towel dispenser. The directions are kind of redundant. I would assume that most people are familiar with these towel dispensers but it tells us both to wave our hand and that it’s motion activated. But it doesn’t say we’re only supposed to get one towel. It tells us that implicitly through it’s action.
Lab: Serial
Stupid Pet Trick documentation
Catching up on PCOMP labs
I didn’t do these labs last week because I was busy with the Stupid Pet Trick, so I did them this morning.
I set up the servo motor:
And then built the musical instrument. I only had one FSR so I used different pressures to determine notes in order to play a melody. My speaker was really quiet for some reason, but I could hear the melody.
Here’s the code I used:
#include “pitches.h”
int analValue;
void setup() {
Serial.begin(9600);
}
void loop() {
analValue = analogRead(A1);
int pitch = map(analValue, 0, 1000, 0, 3);
Serial.println(pitch);
Serial.println(analValue);
if (pitch == 0){
tone(8, NOTE_C4, 10);
} else if (pitch == 1) {
tone(8, NOTE_G3, 10);
} else if (pitch == 2) {
tone(8, NOTE_B3, 10);
}
}
Pet Trick Final
My pet trick didn’t turn out exactly how I planned but it was close. The biggest problem is that I ran out of time to really spend on Arduino code. The code I ended up with works fairly well and is very simple:
More Stupid Pet Trick – Wood working and electronics
Documenting the work I did yesterday. There was still a lot to do. I made these pieces with grooves in them as the basis for the frame, so I could discreetly hold the electronics. This was way harder than it sounded.

I had to finish the frame, cut out the cat parts, build the electronics and write the code for the Arduino. I started putting the frame together, which was really hard. I was using the wrong frame clamp. When I tried the other one it was a lot easier.
Further Stupid Pet Trick Testing
Last Thursday I did some more testing on building the circuit for my stupid pet trick. I forgot to document it so I’m uploading it now. First off, I needed to do the lab for building a high current load in order to power my very bright (turns out almost too bright) LEDs. I used a voltage provider guy to test it. It was hard to figure out exactly how the transistor works but I eventually got it going through trial and error. After that I added a potentiometer to the circuit to test changing the power going to the LEDs to fade in and out.
See this work:
IR testing for Stupid Pet Trick
I started testing the ideas for the design of my stupid pet trick today, starting with the IR sensor. I couldn’t find the one I was looking for at the computer store:

Instead I got these, the SEN 00241:

I’m not sure if they work as well, but I like that they are smaller and more discreet. It seems like they will work with just a couple of holes in the front of the frame, instead of a big black brick being visible in the front. Though, so far I can’t tell exactly what the best angle for sensing is. See this video where I use my cell phone to dim an LED:














