Using a projector, a wii remote, and an infrared light; Crown Hall becomes the backdrop for the game breakout.
-
Search It!
-
Recent Entries
-
Links
Using a projector, a wii remote, and an infrared light; Crown Hall becomes the backdrop for the game breakout.
http://board.flashkit.com/board/archive/index.php/t-657269.html
Posted in Uncategorized
This is a mini test for my final project. the LEDs emit color onto a painted canvas. The canvas then indicates color by responding to a specific portion of the light spectrum.

int ledPin12 = 12; // Green LED connected to digital pin 12
int ledPin11 = 11; // Yellow LED connected to digital pin 11
int ledPin10 = 10; // Red LED connected to digital pin 10
int ledPin9 = 9; // Blue LED connected to digital pin 9
void setup() // run once, when the sketch starts
{
pinMode(ledPin12, OUTPUT); // sets the digital pin as output
pinMode(ledPin11, OUTPUT); // sets the digital pin as output
pinMode(ledPin10, OUTPUT); // sets the digital pin as output
pinMode(ledPin9, OUTPUT); // sets the digital pin as output
}
void loop() // run over and over again
{
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, HIGH); // sets the Blue LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, HIGH);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, HIGH); // sets the Blue & Green LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, HIGH);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, LOW); // sets the Green LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, HIGH); // sets the Blue LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, HIGH);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, HIGH); // sets the Blue & Yellow LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, HIGH);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, LOW); // sets the Yellow LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, HIGH); // sets the Blue LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, HIGH);
digitalWrite(ledPin9, HIGH); // sets the BLUE & Red LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, HIGH);
digitalWrite(ledPin9, LOW); // sets the Red LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, LOW);
digitalWrite(ledPin11, LOW);
digitalWrite(ledPin10, LOW);
digitalWrite(ledPin9, HIGH); // sets the Blue LED on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, HIGH);
digitalWrite(ledPin11, HIGH);
digitalWrite(ledPin10, HIGH);
digitalWrite(ledPin9, HIGH); // sets all LEDs on others off
delay(1000); // waits for a second
digitalWrite(ledPin12, HIGH);
digitalWrite(ledPin11, HIGH);
digitalWrite(ledPin10, HIGH);
digitalWrite(ledPin9, LOW); // sets all LEDs except Blue on others off
delay(1000); // waits for a second
}
Arduino Playground: Interfacing Arduino with Software
Flash
Arduino Playground: Flash + Arduino
Simple Arduino + Flash Example Files
Robust flash library for controlling arduino, shared at Google Code, AS3 (actions script 3) library called GLUE
Alternative to Flash
Processing (an open source development environment for interactive media)
simple message system, library for communication via serial
See the Serial Section under the Arduino Reference Page
feedback (uncountable)
on feedback loops … further reading see Stephen Johnoson: Emergence: The Connected Lives of Ants, Brains, Cities, and Software
This week we will be looking at a few digital and analog sensors, and time permitting, begin to look at other types of motors and motor control. This assignment will span a couple weeks and will culminate the precursor assignments.
Problem:
Create a “feedback loop” driven system utilizing sensor(s) + motor(s) of your choice, systems should be either biotopic or sociotopic systems and situate within some spatial context.
relevant tutorials
Reading an ultrasonic distance sensor
Reading an Infrared distance sensor
Arduino Servo Library to drive servos simultaneously
ITP – DC Motor Control using H-Bridge
Simocc: Blanke Code (Pololu Motor Driver Code)
Turn on your (digital) life
In today’s class we will be learning how to use a digital output to turn on and off a higher voltage/higher current load. Logically not any different than the LEDs you have been using, these circuits and parts will enable you to control the power of any electronic/electrical device around you.
Using the input method of your choice control a higher voltage device, either a 9-12volt element like a low voltage light fixture (commonly 12volts) or a line voltage device such as an incandescent light or your countertop coffeemaker. Create a system (input/ouput) that has some meaning and value to your everyday life. Consider revisiting the last assignment, replacing the LEDs with higher output lights for maximum impact.
Please exercise additional precautions and take your time as you build your project. Line voltage (110/120v) stings a bit more than the 5-9volts you’ve been using!!!!
relavent examples + tutorials:
tip120 transistor: controlling dc motors and lamps from thearduino « Connect the Dots
Physical Computing at ITP | Tutorials / High Current Loads
controlling a relay with a digital logic level
555 timer IC – Wikipedia, the free encyclopedia
MAKE: Blog: More 555 timer projects
Game and interactivity designers + scholars, Katie Salen and Eric Zimmerman have written a fantastic book called Rules of Play. I highly recommend the book to anybody interested in the topic. While their objective is to interrogate the world of play and games, much of the prose is appropriate for design in general.
As you begin to apply the techniques and technologies that you are learning it is important that you think critically about the condition of interactivity. Please read the following sections of the book.
Unit 1: Section 3, Meaningful Play, pg 31-37
Unit1: Section 4, Design, pg 39-47
Unit1: Section 5, Systems, 49-55
Unit1: Section 6, Interactivity, 57-69