YarnBomb LZacharkow Pres

Preview:

DESCRIPTION

omb yarn bomb yarn bomb yarn bomb yarn bom yarn arn yarn bomb yarn bomb yarn johannes kepler music of the spheres earth b b# b venus e e# e saturn g b g mars f c f earth b b# b venus e e# e saturn g b g mars f c f venus e e# e saturn g b g mars f c f [[[[[ ] ]] ] earth b b# b earth b b# b venus e e# e saturn g b g mars f c f earth b b# b venus e e# e saturn g b g mars f c f earth b b# b venus e e# e saturn g b g mars f c f orbiting bodies points of orbit paths public interactive sound device Goal

Citation preview

yarn arn ombyarn bombyarn bomb

yarn bombyarn bombyarn

yarn bombyarn bom

BMobSP 2011

L ZACHARKOWyarn bomb

BMobSP 2011

L ZACHARKOWyarn bomb ]]][ ]]]]yarn bomb bomb

BOMB

johanneskepler

musicofthespheres

earthb b# b

saturng b g

mercurya c a

marsf c f

venuse e# e

jupiterb d b

earthb b# b

saturng b g

mercurya c a

marsf c f

venuse e# e

jupiterb d b

[[[[[] ]] ]earthb b# b

saturng b g

mercurya c a

marsf c f

venuse e# e

jupiterb d b

earthb b# b

saturng b g

mercurya c a

marsf c f

venuse e# e

jupiterb d b

earthb b# b

saturng b g

mercurya c a

marsf c f

venuse e# e

jupiterb d b

earthb b# b

saturng b g

mercurya c a

marsf c f

venuse e# e

jupiterb d b

orbitingbodies

pointsoforbit

paths

Goal

publicinteractivesounddevice

variables

distanceandsound

independentvariable

distanceofbody

dependentvariable

pitch

theguts

[[[[[[[[the

brain[[[

[[[[[the

sensethebody

ultrasonicsensor

piezospeaker

leatherpouch

arduinouno

codestored here

[[[[[[[[the

brain[[[

[[[[[the

sensethebody

ultrasonicsensor

piezospeaker

leatherpouch

arduinouno

codestorage

[[[[[[[[

thebrain

thesense

thebody

sonarsensor

piezospeaker

leatherpouch

arduinouno

codestorage

[[[[[[[[the

sensethe

brainthebody

ultrasonicsensor

piezospeaker

leatherpouch

arduinouno

codestorage

arduino

rst

aref

a0

a1

a2

a3

a4

a5

gnd

power3v3 5v vin

d13

d12

d11

d10

d9

d8

d7

d6

d5

d4

d3

d2

d1

d0

sig

+5v

gnd

long previousMillis = 0;long time = 0;boolean switchLock = false;int distance = 60;long duration = 0;long inches = 0;

int pingPin = 11;int soundPin = 8;

void setup() { Serial.begin(9600);}

void loop() {

int sensorReading = ping(pingPin);

Serial.println(sensorReading); int thisPitch = map(sensorReading, 0, distance, 1800, 300);if (sensorReading <= distance) tone(soundPin, thisPitch);elsenoTone(soundPin);}

long ping (int pingPin) { pinMode(pingPin, OUTPUT); digitalWrite(pingPin, LOW); delayMicroseconds(2); digitalWrite(pingPin, HIGH); delayMicroseconds(5); digitalWrite(pingPin, LOW);

pinMode(pingPin, INPUT); duration = pulseIn(pingPin, HIGH); inches = microsecondsToInches(duration); if (inches <= distance){ Serial.print(inches); Serial.print(“in, “); Serial.println(); } return inches; } long microsecondsToInches(long microseconds) { return microseconds / 74 / 2;}

theskin

Yarnbomb

[[[[[[[[[[[[[[[

singingyarnbomb

thankyou