Archive for the ‘SVA IxD student work’ Category

MoMENT (I) Analysis

Sunday, October 24th, 2010

OBSERVATION
So we went to the MoMA to observe what people were doing, while keeping an open mind, but at the same time looking for opportunities where a smart phone application could be utilized. I feel you only get so much from observing people, and that you need to talk to them to understand why they behave as they do, what their goals are, what they’re going to do next and so on. When I observed museum visitors taking notes and photos of the art, I had to ask them questions as well, to understand better their reasons, and how they probably would use the photos when they got out of the museum. I am glad I did that, as documenting art to remember for later research turned out to become the core of our app concept.

KJ ANALYSIS

My group met up to gather all our observations from the museum, and to structure them by using a method called KJ analysis. In general I felt that our observations were kind of …eh… lame. That people are sitting and reading a brochure, or that people view art from different distances is not in any way interesting. I would like to see what we could have done with this analysis method if we added visitor’s goals, motivations, desires, frustrations, reflections their experience with art and so on. But at the same time, the grouping and labeling of different observations made us talk about our view of how a museum experience can be divided and categorized, which I guess is a good thing. The fact that talking while doing this exercise is a no-no according to the method instructions — that we’re supposed to just let patterns emerge while silently moving post-its around just feels weird to me, as the talking part seemed like the most valuable thing we got out of it. We also made a conceptual model visualizing my group’s understanding of what’s going on in the museum:

This was actually used quite a lot when we got into the next steps of the process; as an aid in discussions, to make sure we didn’t lose sight of the big picture, and to help us when deciding which parts of the museum experience we wanted to address with our app.

PERSONAS
We made up some “friends” who would represent different types of MoMA visitors that we could have in mind when developing our concept. This is an extract of these friends of ours (called personas):

Considering this earlier mentioned fact; that we never talked to the visitors at the museum, I felt we lacked some of the input to create their personalities, their main goals and so on. At the same time, as students in an art school, we probably understand the art museum domain better than many other domains, so hopefully our personas weren’t that far off.

I have worked a lot with personas before. Sometimes it works, sometimes it just don’t. This time I felt like my team all knew the personas very well, and we referred to them during the next phases of our projects.

Next project phase: MoMENT (II) Concept

MoMENT: Concept development through research

Sunday, October 24th, 2010

The Research Methods class has come to an end — with the final output being four different concepts for a smart phone app for the Museum of Modern Art. The four student teams presented the concepts to each other, as well as to representatives from the MoMA. However, we needed quite a lot of input to get to the point where we could present something worth the MoMA representative’s time… This is where our 6 week process with testing out various research methods comes in. I’ll take you through my team’s journey until we got to the presentation of our smart phone application called MoMENT.

Because the journey was long, I have divided it into three phases:

MoMENT (I) Analysis
Museum observations, analysis of our observations, developing personas

MoMENT (II) Concept
Brainstorming, sketching, choosing the very best idea

MoMENT (III) Prototype
Low-fi paper prototype, usability testing, refining prototype

Click on the phases to explore each of them further, to get the visuals and all that.

Our final 20 minute presentation went well, and it was great to get the MoMA’s perspective on our concept. It was very interesting to hear that they already had thought of many of the ideas that the groups presented, but because of other constraints (budget, technology, the architecture of the building etc.) developing such apps is not necessarily feasible just like that.

It’s wonderful being a student and just come up with ideas without having to think about all these constraints. At the same time, I would definitely researched the business and technology aspects further before prototyping too much, if I were to develop such a concept in “real life”. I agree with the MoMA panel that a concept involving some new, innovative technology has to work well – it can’t let the user down. Ever. Which means that our sensor idea definitely would have to be tested further to be sure it would be helpful rather than frustrating for the app user.

As mentioned in the Analysis-post, I did feel that some of the methods were a bit “forced”. Just observing and not ever talking to the visitors felt very wrong to me. I definitely would have spent some time conducting qualitative interviews with some of the visitors, as well as staff at the MoMA, if the time allowed it. Not talking while doing the grouping in the KJ analysis also felt very weird, and I am not sure I got why we had to be silent.

I’m generally in favor of researching before concept development, and don’t think the kind of research we conducted hindered the creative process in any way. If I were to do this process over again, the analysis part is probably where I would consider adjusting our approach a bit.

Lab #6 Analog output

Wednesday, October 20th, 2010

Friday afternoon. I was so ready to go home from the studio, considering that I spent the night before singing karaoke with some of my classmates until 4AM. However, when I realized that four eager students were about to start this week’s lab, I figured my hangover would just have to be put on hold while joining them. This lab is about music in the same way karaoke is about music. It’s “music”. So stay with me while I redefine the concept of music. Or just let me ramble on without any readers.


Some of my very eager classmates in the process of inventing a musical instrument!

Parts we used: Arduino, potentiometer wired for breadboard connections, servo motor, variable resistor(s) of your own choosing, fixed resistors as needed to create voltage divider circuits, small speaker (Radio Shack model 273-092 or similar), wire stripper, multimeter, breadboard, hook up wire.

SERVO MOTOR

We connected the power from Arduino to the breadboard, and hooked up the servo motor and potentiometer to it like this:

This was the code we used to control the servo with the potentiometer:

// Controlling a servo position using a potentiometer (variable resistor)

#include

Servo myservo; // create servo object to control a servo

int potpin = 0; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin

void setup()
{
myservo.attach(9); // attaches the servo on pin 9 to the servo object
}

void loop()
{
val = analogRead(potpin); // reads the value of the potentiometer (value between 0 and 1023)
val = map(val, 0, 1023, 0, 179); // scale it to use it with the servo (value between 0 and 180)
myservo.write(val); // sets the servo position according to the scaled value
delay(15); // waits for the servo to get there
}

By changing the mapping from this:

val = map(val, 0, 1023, 0, 179); // scale it to use it with the servo (value between 0 and 179)

to this:

val = map(val, 0, 1023, 0, 90); // scale it to use it with the servo (value between 0 and 90)

we’re able to make the potentiometer only control movement between 0 and 90 degrees instead of 180 degrees for the servo motor.

SPEAKER SETUP AND NOISE

We removed the servo motor, and connected the speaker to ground and to digital pin 8. Adding a 1K resistor kept us from overdriving the speaker. We downloaded the Tone library and installed it in our ~/Documents/Arduino/libraries folder, restarted the program, and then loaded this code onto our Arduino:

#include
Tone mytone; // declare a tone name

void setup() {
// initialize the tone
mytone.begin(8);
}

void loop() {
// read the analog input
int inVar = analogRead(0);
// map the input to a frequency range between 200 and 2000 Hz
int note = map(inVar, 0, 1023, 200, 2000);
// play the note
mytone.play(note);
}

Now we were able to control a tone (or noise, if you like) with the potentiometer. This is how it sounds. And looks. Yeah, it’s a video. 10 seconds of your precious time. I’m not sure it’s worth it, though. Just saying.

CREATE SOMETHING UNIQUE

By using a force sensor we can change the tone that the speaker is playing just by pressing the sensor in different ways. We combined code from our Analog input lab with the code we just used to get this to work:

#include
Tone mytone; // declare a tone name
int forcePin = 3; // force sensor connected to analog pin 3

void setup() {
mytone.begin(8); // initialize the tone
}

void loop() {
int inVar = analogRead(forcePin); // read forcePin
int note = map(inVar, 1, 1023, 200, 2000);
// map the input to a frequency range between 200 and 2000 Hz
mytone.play(note); // play the note
}

If you look at this unique invention and define it as a musical instrument, then that’s good. To be completely honest with you — I’d rather go play my organ.

Lab #5 Programming with Processing

Wednesday, October 13th, 2010

Time to learn programming in a new language. Why? Because you can do cool stuff. Like copying art work that famous artists have made:


This is my copy of an artwork called Growth and Youth, and is originally made by Josef Albers.

But before I could make that art work, I had to learn some basic stuff about creating shapes and playing with colors.

BASIC STRUCTURE

void setup()
{
size(640, 480); //Setting width, height
background(0); //Background color black
println(“Oh, what a JOYFUL message this is!”); //Printing message
}

FIRST SKETCH

Learning how to draw different shapes.

void setup()
{
size(400, 400); //Setting width, height
background(#ffffff); //Background color white
}

void draw ()
{
point(30,30); // x, y
line(30,50, 80,50); //x1, y1, x2, y2
triangle(30,70, 80,70, 55,100); //x1, y1, x2, y2, x3, y3
quad(30,120, 80,120, 80,150, 30,150); //x1, y1, x2, y2, x3, y3, x4, y4
rect(30,160, 30,60); //x1, y1, width, height
ellipse(50,280, 40,80); // x, y, width, height
}

FULL COLOR

Adding color to the equation.

void setup()
{
size(400, 400); //Setting width, height
background(#e8e8e8); //Background color
}

void draw ()
{
//POINT
stroke(#000000);
point(30,30); // x, y

//LINE
stroke(#000000);
line(30,50, 80,50); //x1, y1, x2, y2

//TRIANGLE
stroke(#00a666);
fill(#bdefdc);
triangle(30,70, 80,70, 55,100); //x1, y1, x2, y2, x3, y3

//QUAD
stroke(#a60046);
fill(#f5cfdf);
quad(30,120, 80,120, 80,150, 30,150); //x1, y1, x2, y2, x3, y3, x4, y4

//RECT
stroke(#fc9c06);
fill(#f8e7cb);
rect(30,160, 30,60); //x1, y1, width, height

//ELLIPSE
stroke(#2e06fc);
fill(#dfd9fc);
ellipse(50,280, 40,80); // x, y, width, height
}

Now I was ready to copy the great artists (mainly the great artists that play with basic shapes, though):

ALBERS

// Growth and Youth by Josef Albers

void setup()
{
size(480, 480); //Setting width, height
background(#9badaf); //Background color gray
}

void draw ()
{
//1st rect
stroke(#c6d7de);
fill(#d4a00d);
rect(23,23, 433,433); //x1, y1, width, height

//2nd rect
noStroke(); //No stroke for this and the next rectangles
fill(#ddb834);
rect(68,88, 343,343); //x1, y1, width, height

//3rd rect
fill(#dec83e);
rect(112,142, 257,257); //x1, y1, width, height

//4th rect
fill(#d7d05e);
rect(155,195, 170,170); //x1, y1, width, height
}

CREATING A PAINT PROGRAM

Time to make a basic paint program. In my final program you can do some fabulous painting with my specialized yellow dot paintbrush, like this:

You can also clear the screen by clicking the white button. Try my paint program! This is how I started out:

void setup()
{
size(480, 600); //Setting width, height
background(#9badaf); //Background color
}

void draw()
{
//MAIN CIRCLES WHERE MOUSE POINTER IS

//Large circle
fill(#d4a00d); //Fill color
noStroke();
ellipse(mouseX,mouseY,50,50);

//Smaller circle
fill(#ddb834);
ellipse(mouseX,mouseY,35,35);

//Smallest circle
fill(#dec83e);
ellipse(mouseX,mouseY,15,15);

//SMALL DOTS OUTSIDE OF MOUSE POINTER

fill(#dec83e);
ellipse(mouseX+30,mouseY+30, 15,15);

fill(#dec83e);
ellipse(mouseX-30,mouseY-30, 10,10);

fill(#dec83e);
ellipse(mouseX-50,mouseY, 5,5);

fill(#dec83e);
ellipse(mouseX,mouseY-50, 10,10);

fill(#dec83e);
ellipse(mouseX+30,mouseY-20, 15,15);

fill(#dec83e);
ellipse(mouseX+50,mouseY, 5,5);
}

PAINTING WITHIN A CERTAIN AREA

void setup()
{
size(480, 600); //Setting width, height
background(#9badaf); //Background color
stroke(#ffffff);
noFill();
rect(30,30, 300,300); //Area to draw in
}

void draw()
{
//CHECKING IF MOUSE PRESSED AND INSIDE RIGHT AREA
if ((mousePressed == true) && (mouseX>82) && (mouseX<278) && (mouseY>85) && (mouseY<293)) { //MAIN CIRCLES WHERE MOUSE POINTER IS //Large circle fill(#d4a00d); //Fill color noStroke(); ellipse(mouseX,mouseY,50,50); //Smaller circle fill(#ddb834); ellipse(mouseX,mouseY,35,35); //Smallest circle fill(#dec83e); ellipse(mouseX,mouseY,15,15); //SMALL DOTS OUTSIDE OF MOUSE POINTER fill(#dec83e); ellipse(mouseX+30,mouseY+30, 15,15); fill(#dec83e); ellipse(mouseX-30,mouseY-30, 10,10); fill(#dec83e); ellipse(mouseX-50,mouseY, 5,5); fill(#dec83e); ellipse(mouseX,mouseY-50, 10,10); fill(#dec83e); ellipse(mouseX+30,mouseY-20, 15,15); fill(#dec83e); ellipse(mouseX+50,mouseY, 5,5); } }

ADDING BUTTON TO CLEAR AREA

void setup()
{
size(480, 600); //Setting width, height
background(#9badaf); //Background color
}

void draw() {

//AREA TO DRAW IN
stroke(#ffffff);
noFill();
rect(30,30, 300,300);

//BUTTON
stroke(#ffffff);
fill(#ffffff);
rect(30,350, 100,30);

//CHECKING IF MOUSE PRESSED AND INSIDE RIGHT AREA

if ((mousePressed == true) && (mouseX>82) && (mouseX<278) && (mouseY>85) && (mouseY<293)) { //MAIN CIRCLES WHERE MOUSE POINTER IS //Large circle fill(#d4a00d); noStroke(); ellipse(mouseX,mouseY,50,50); //Smaller circle fill(#ddb834); ellipse(mouseX,mouseY,35,35); //Smallest circle fill(#dec83e); ellipse(mouseX,mouseY,15,15); //SMALL DOTS OUTSIDE OF MOUSE POINTER fill(#dec83e); ellipse(mouseX+30,mouseY+30, 15,15); fill(#dec83e); ellipse(mouseX-30,mouseY-30, 10,10); fill(#dec83e); ellipse(mouseX-50,mouseY, 5,5); fill(#dec83e); ellipse(mouseX,mouseY-50, 10,10); fill(#dec83e); ellipse(mouseX+30,mouseY-20, 15,15); fill(#dec83e); ellipse(mouseX+50,mouseY, 5,5); } //CLEARING AREA WHEN BUTTON PRESSED if ((mousePressed == true) && (mouseX>29) && (mouseX<131) && (mouseY>349) && (mouseY<380)){ //Make button gray when pressed stroke(#ffffff); fill(#cccccc); rect(30,350, 100,30); //Redraw area to draw in - clearing area stroke(#ffffff); fill(#9badaf); rect(30,30, 300,300); } }

Lab #4 Analog input

Tuesday, October 5th, 2010

It’s time for Analog Input lab. Lab partner Erin and I are very excited. We love staying in the studio past midnight to play with our Arduino boards.

Parts we used:
Breadboard, hook up wire, wire stripper, multimeter, Arduino, LEDs, potentiometer, 330 Ohm resistors (or similar), 10K Ohm resistors (or similar), 1K Ohm resistors (or similar), variable resistor (we used the force resistor), glass of water

POTENTIOMETER SETUP

ADD AN LED FOR PWM OUTPUT

LOAD A PROGRAM TO CONTROL THE ARDUINO
We pasted in this code to our Arduino program:

int ledPin = 9; // LED connected to digital pin 9
int analogPin = 3; // potentiometer connected to analog pin 3
int val = 0; // variable to store the read value

void setup()
{
pinMode(ledPin, OUTPUT); // sets the pin as output
Serial.begin(9600);
}

void loop()
{
val = analogRead(analogPin); // read the input pin
analogWrite(ledPin, val / 4); // analogRead values go from 0 to 1023, analogWrite values from 0 to 255
Serial.println(val, DEC);
}

As we adjusted the potentiometer the output numbers changed. This is what we saw on our screen, using the Arduino program:

TRY OTHER VARIABLE RESISTORS
We tried a force sensing resistor like this:

With the multimeter and a 10K resistor – the more pressure we put on the variable resistor, the lower the voltage. The voltage was up to 4.8 volts, and as low as 1 volt. With a 1K resistor, the result was the same.

INVENTION
By the time we had done all this work, we became very thirsty. We could not believe that we had forgotten to drink this whole time. That’s why we invented a device that encourages forgetful drinkers to hydrate more often. We coded Arduino to give different messages depending on how full the water glass is:

  • GLASS FULL: Drink, or you’ll get dehydrated!
  • GLASS HALF FULL: Is your glass half full or half empty?
  • GLASS EMPTY: Thirsty? Fill her up!
  • GLASS LIFTED: Good job, isn’t that water tasty? :D

On the screen, the messages looked like this:

And Erin, our forgetful drinker, just kept filling the glass up, and drinking over and over again in an eternal loop, as we forgot (yeah, we tend to forget a lot of things) to program a message letting her know when enough is enough:

This was our code leaving the forgetful drinker to drink forever and ever:

int ledPin = 9; // LED connected to digital pin 9
int analogPin = 3; // potentiometer connected to analog pin 3
int val = 0; // variable to store the read value

void setup()
{
pinMode(ledPin, OUTPUT); // sets the pin as output
Serial.begin(300);
}

void loop()
{
val = analogRead(analogPin); // read the input pin
analogWrite(ledPin, val / 4); // analogRead values go from 0 to 1023, analogWrite values from 0 to 255
if (val<=100) { Serial.println("Good job, isn't that water tasty? :D "); } else if ((val>100) && (val<=275)) { Serial.println("Thirsty? Fill her up!"); } else if ((val>275) && (val<=340)) { Serial.println("Is your glass half full or half empty?"); } else if (val>340) {
Serial.println(“Drink, or you’ll get dehydrated!”);
}
}

Next time we’ll turn water into wine.

Imagined physical computing system

Wednesday, September 29th, 2010

Let’s invent something. Right. So that was the assignment. I decided to fix a quite trivial problem; my disorganized mornings, and more specifically create a device that would make sure that my purse contains everything it should contain when I go out the door. Like my keys:

By adding RFID-tags to my keys, phone, wallet etcetera, and have sensors by the door opening, I could get information about whether the items are in my purse or not. My very simple presentation, Call My Keys, might explain the rest. How this idea could be realized is not the important thing in this assignment. But if you’re eager to get one of these gadgets – it actually already exists if you’re willing to spend $160. So much for my creativity and innovation. Still, I feel my idea is a bit different then the Loc8tor I linked to… My device has its place on the wall by the door, but the Loc8tor could just as easily get misplaced as any of the items it’s programmed to locate. I can imagine the frustration people would have when they would need to locate the Loc8tor without having another Loc8tor to locate it!

Detail in typography

Tuesday, September 28th, 2010


I am quite determined to get a better understanding of typography during my time here at SVA. I feel the book Detail in typography by Jost Hochuli is a very good place to start. And with only 58 pages of text – I’m already done with it. The book explains principles like kerning, wordspacing, and leading, and illustrates it all with lots of examples of good and bad typography practice. Perfect subway read!

I still don’t feel like I know that many fonts, though, and tend to use the familiar web fonts in all assignments. But I opened InDesign for the 1st time this week, so I have already started experimenting a bit. We’ll see if Jason Santa Maria approves of these experiments in tonight’s typography class…

Lab #3 Electronics

Saturday, September 25th, 2010


Parts we used: power jack, voltage regulator, LEDs, potentiometer, 330 Ohm resistors (or similar). In addition we used some already familiar tools like: breadboard, hook up wire, switch, power supply, solder, soldering iron, helping hands, needle-nose pliers, wire stripper, multimeter

MEASURING VOLTAGE

Instructions:
1. Wire up a breadboard with a 5-volt voltage regulator (7805) as shown. The regulator has three legs, typically, input, ground and output, when viewed from the front (where the writing is). Sometimes these legs are in a different order, so find and check the data sheet if you’re not sure! Input is where a high voltage is applied to the regulator. Output is where you will get the regulated 5 volts. Ground is the common ground for your entire circuit, including input, output and all the other components. Bring ground out to both blue ground rails that run along the sides of your breadboard. Bring 5 volt output power to both of the red power rails.

2. Solder a red wire (about 10 cm) to the short center pin of your power jack, and solder a similar black wire to the longer, outer pin. Test the connections with your multimeter to ensure they are good. Don’t allow the two connections to touch each other since that will create a short circuit when you power it up!

3. Attach the red wire from the power jack, using the breadboard to connect it to the input pin of the voltage regulator. Attach the black ground wire to the ground pin of the voltage regulator in the same way.

4. You are now ready to use your multimeter to check the voltages. Plug your power supply into the power jack. Switch your multimeter to the range for reading 0-20 volts, DC. Measure the voltage by touching the red probe to any bare wire on the power rail, and the black probe to any bare wire on the ground rail. You should read just about 5 volts. (4.97 or 5.03 is just fine).

Our setup:

My experience: Used about 2 hours to find a functioning power supply, and figure out how the power jack would work. Considering that our power jack had 3 pins, it was hard to find the right ones to solder wires to. We ended up using another power jack we found in the magical physical computing drawer at the studio that had only two pins. Then we were all set! We heard the BEEEP from the multimeter, and we could measure the voltage in the circuit. 5.01 volts. Success.

BASIC CIRCUIT

Instructions:
1. Disconnect your power supply and you’re ready to make your first basic electronic circuit.

2. Connect a momentary, normally open switch from power to the positive lead of an LED as shown.

3. Connect the negative lead of the LED to one lead of a 33o Ohm resistor (or similar) and connect the other lead of that resistor to ground.

4. Reconnect your power supply, then press the switch. Your LED should light up. The resistor reduces the amount of power flowing to the LED. If you didn’t use the resistor, your LED would light up but probably burn out very quickly.

5. Measure the voltage across the switch when it is closed, then across the LED and the resistor. What do you find?

Our setup:

My experience: Some questions came up:
– Why do we need the resistor?
– Which way does current flow through the circuits?
We didn’t exactly find the answers. BUT the LED was lighting up when button was pushed and the circuit was closed. That’s a good thing.

  • Measures when pressing button:
  • Voltage across switch: 0V
  • Voltage across LED and resistor: 3.44V
  • Measures when not pressing button:
  • Voltage across switch: 3.44V
  • Voltage across LED and resistor: 0V

Did not know why this was happening. Why would there be no voltage when button was pressed down and the circuit was whole??? But we moved on to the next task after scratching our head for a while :/

SERIES

Instructions:
1. Disconnect the power supply again, remove the switch and resistor, then connect two LEDs in series from power to ground.

2. Reconnect the power supply, and use your multimeter to test the voltage at different points in the circuit. What you you find?

3. Why don’t you need resistors in this circuit?

Our setup:

My experience:
When measuring the voltage of the LED lights in series, each LED light was 2.3V, and both of them was 4.6V. You won’t need resistors in this circuit because the LED lights eh… share the voltage (?).

PARALLEL

1. With the power supply disconnected, hook up three LEDs in parallel. (You may need to use a 330 Ohm resistor as your connection to ground to prevent the LEDs from overheating.) Measure the voltage across each LED and confirm that it is does not vary between each one.

2. Voltage is measured in parallel, so you do not need to interrupt the circuit in order to get a reading. To measure amperage (or current), you’ll need to put the multimeter in series with the circuit.

3. Switch the multimeter into DC amperage mode. You’ll be measuring not greater than 1 amp, so choose the correct range.

4. Interrupt the circuit so that current flows through the multimeter as part of the circuit. What is the current flow, in milliamps?

Our setup:

My experience: Setting up 3 LEDs in parallel was easy – and the voltage was the same on each of the LEDs (1.8V). The resistor was 1.6V, and the LEDs and the resistor combined added up to 3.4V. We then tried to measure the amperage of the circuit – but considering that the amperage measured was 0, we might not have done it the right way…

VARYING VOLTAGE

1. Solder three wires to the pins of your potentiometer. It’s helpful to have the two outer ones be red and black (it doesn’t matter which is which) with the middle one being another color like blue. Typically, the two outer pins are connected to power and ground, while the middle one produces a voltage that varies as the potentiometer is adjusted.

2. Create a circuit that varies the voltage flowing to an LED. First connect the potentiometer’s outer red and black wires to power and ground respectively. Then connect the middle wire from the potentiometer to a 330 Ohm resistor, and that 330 Ohm resistor to the positive leg of an LED. Connect the negative leg of the LED to ground.

3. Turn the knob on the potentiometer and measure the voltage coming off the middle wire. What readings do you get and how do they change? How does the LED’s output change?

Our setup:

My experience: When it came to the soldering, we simply skipped it because we were on the 4th hour of the lab – and coiling the wires around the hooks on the potentiometer worked just fine. We were ecstatic over the potentiometer’s ability to dim the light. We played around with it, and measured the voltage of the middle wire. The voltage was different according to how much we dimmed the light.

The Girl Effect

Wednesday, September 22nd, 2010

In Jason Santa Maria‘s class, Craft and Communication, we were asked as an assignment to bring something highly legible. Considering that I tried to keep the weight low when flying across the Atlantic ocean a month ago, I could not bring any of the books I have acquired during the years. But then I remembered this nice video I saw some weeks ago at the Cooper-Hewitt National Design Museum – and figured this could definitely pass as being legible:

The video ‘The Girl Effect’ was made in 2008, has been viewed several times, and there are even parody videos like ‘The Boy Effect’ and ‘The Idiot Effect’ created in the same way. For some reason I had not stumbled upon this before, though. I really like how you actually don’t always have the time to read the words in full, but that you still recognize each word from its familiar shape. As long as you pay attention the whole time, you won’t miss anything, even though the words are blinking on and off the screen at a heavy pace.

The message of the movie is definitely interesting too – but that’s a story that the Girl Effect web site probably communicates way better than I would! I can only guess that their story will start with something along the lines of…

Lab #2 Playing with Arduino

Wednesday, September 22nd, 2010

I’m playing with the Arduino board now. It’s fancy, it’s Italian, and it has a nice little map of Italy on the back with regions and everything. Forgot to photograph the back, but the front is where the action is anyway:

This is a board that you can connect to your computer and then program it to do fun stuff. Like make LED lights blink in interesting patterns. You probably wonder how one would make a LED light be on for 1 second, and then off for one second in an eternal loop. This is how:

// Example 01 : Blinking LED

#define LED 13 // LED connected to digital pin 13

void setup()
{
pinMode(LED, OUTPUT); // sets the digital pin as output
}

void loop()
{
digitalWrite(LED, HIGH); // turns the LED on
delay(1000); // waits for a second
digitalWrite(LED, LOW); // turns the LED off
delay(1000); // waits for a second
}

In addition to actually hook up the Arduino board to the computer running the program, of course. And put a LED light in spot 13. However, by adding a breadboard, some wires, a resistor and a momentary switch to the equation, I can make the LED light turn on whenever I want – as long as I press down the switch button. This is how I set it all up:


Stupid me taking the photo when the LED light was off. But I can assure you, it was definitely on too.

And I also needed some more lines of code to make this work – like defining in the code that there’s now also a nice black button involved:

// Example 02: Turn on LED while the button is pressed

#define LED 13 // the pin for the LED
#define BUTTON 7 // the input pin where the pushbutton is connected

int val = 0; // val will be used to store the state of the input pin

void setup() {
pinMode(LED, OUTPUT); // tell Arduino LED is an output
pinMode(BUTTON, INPUT); // and BUTTON is an input
}

void loop(){
val = digitalRead(BUTTON); // read input value and store it

// check whether the input is HIGH (button pressed)
if (val == HIGH) {
digitalWrite(LED, HIGH); // turn LED ON
} else {
digitalWrite(LED, LOW);
}
}

But wouldn’t it be just perfect if I didn’t have to keep pressing the button down all the time when I want light? Oh yes:

// Example 03: Turn on LED when the button is pressed

#define LED 13 // the pin for the LED
#define BUTTON 7 // the input pin where the pushbutton is connected
int val = 0; // val will be used to store the state of the input pin
int old_val = 0; // this variabke stores the previous value of “val”
int state = 0; // 0 = LED off while 1 = LED on

void setup() {
pinMode(LED, OUTPUT); // tell Arduino LED is an output
pinMode(BUTTON, INPUT); // and BUTTON is an input
}

void loop(){
val = digitalRead(BUTTON); // read input value and store it

// check if the input is HIGH (button pressed) and change the state
if ((val == HIGH) && (old_val == LOW)) {
state = 1 – state;
delay(10);
}

old_val = val; //val is now old, let’s store it

if (state == 1) {
digitalWrite(LED, HIGH); // turn LED ON
}

else {
digitalWrite(LED, LOW);
}
}

This way the switch works as I want it to – lighting up when I press one time, and then it’s turned off the next time I press the switch. By substituting the switch with other objects, I can make my very own switch. I made my switch by connecting one wire to the needle-nose pliers, and another to my key chain. When I let the pliers touch a key in my key chain, there was light. Arduino rules.