Mobile-hack-day / Supersimple robots

From Yo-yo

Jump to: navigation, search

Facilitated by: Stefanie Wuschitz

26.8. - 28.8.

čas/time

26.8. 14-19

27.8. 11-19

28.8. 11-19

Mobile-hack-day

S free softwarem Mobile Processing vytvoříme Java aplikace a přes bluetooth je pošleme do našich telefonů, či telefonů v oblasti dosahu. Přidáním aplikace můžeme z telefonu vytvořit nástroj, používat a ovládat funkci vibrování, kameru, display, malé reproduktory, funkci volání a posílání performativním způsobem (jako hlukový objekt na kovovém povrchu, jako spojené kusy na větší obrazovce, text v pohyblivém displayi, jako část komunikační choreografie). Přineste si prosím vlastní laptop.

PLEASE DOWNLOAD MOBILE PROCESSING AS DESCRIBED HERE: http://mobile.processing.org/download/index.php

Supersimple robots

Postavíme okruhy, vytvoříme spínače a velice jednoduché hloupé roboty, se základním materiálem a malým počítačem zvaným Arduino. Použijeme vodivý materiál, vodivé vlákno a fólii a postavíme velká rozhraní, propojená s tímto malým počítačem. Arduino, připojené k baterii, lze vložit do vodotěsné krabičky a dělat s ním různé věci pod vodou (světla, zvuky, pohyb ve spojení s jednoduchými sensory).



On day one we could "hack" mobile phones:

With the free software Mobile Processing (http://mobile.processing.org) we can create self made Java Applications and send them via bluetooth to our phones or phones in the area that are in reach. By adding the application we can turn the phone into an instrument, use and control the function of vibration, the camera, the display, the little speakers, the calling and sending function in a performative way ( as noise object on a metal surface, as joined pieces of a bigger screen, text in movement display, as part of a communication choreography). We could misuse and re-use old phones while finding ways of interacting with the sublime architecture. For this workshop we would need computers for each participant though.

PLEASE DOWNLOAD MOBILE PROCESSING AS DESCRIBED HERE: http://mobile.processing.org/download/index.php


On day two we could do Physical Computing

I would like to build circuits, make switches and very simple, silly robots with basic materials and a tiny computer called Arduino. http://arduino.cc/ I would like to use conductive material like conductive thread and foil to build very large interfaces that are connected with this tiny computer. The arduino, when attached to a battery, can be put into a waterproof lunch box and do interactive stuff underwater (lights, sounds, movement in connection to simple sensors).I have a couple of them here with me.

With these two tools (arduino and mobile) we could trigger new forms of interaction between bodies and machines. Rethink our need for high tech, input and output.


web: http://grenzartikel.com/

odkazy

http://missbaltazar.humlab.umu.se/ www.mobilu.wordpress.com www.eclectictechcarnival.org

video: http://grenzartikel.com/userexperience.mov

obrazky: http://grenzartikel.com/thumbnail_mobilu.jpg http://grenzartikel.com/thumb_bedstuy.jpg

REGISTRACE / REGISTRATION
Program

Relocate Building, Andras Blazsek (SK), Imrich Kovacs (SK), Gergo Nagy (HU), 24-26.8. | Letmý dílo, Guy van Belle (BE), 24-28.8. | Sonification - Canalization, Michael Delia (US, CZ), 25-28.8. | Cyclers, Hannes Hoelzl (DE), 24-26.8. | Očka, Michal Kindernay (CZ), 24.8. | Radio Verité, Johana Švarcová (CZ), 24-26.8. | PureData session - Untitled-1.pd, 24-28.8. | Atrakt Art Session - I am Super, 23-24.8. | Tubular Bells, Isjtar Vandebroeck (BE), 24-28.8. | Mobile-hack-day / Supersimple robots, Stefanie Wuschitz (SW), 26-28.8.

Doprovodný program (v procesu) / Accompanying program (subject to change)
Aesthetics of Failure (lecture) / Estetika selhání (přednáška) by Michal Cáb | diapárty



///CODE:


ARDUINO (output to LED): [[1]]

ARDUINO (output to speaker) [[2]]

ARDUINO (analog input from potentiometer): [[3]]

ARDUINO (pushbutton controlling LED) [[4]]


SERVO MOTOR:

SWEEPS A SERVO MOTOR ARM BACK AND FORTH: [[5]]

SERVO MOTOR WITH ANALOG SENSOR INPUT: [[6]]


BUY MATERIALS

ELECTRO KIT http://www.electrokit.se/

ELFA http://www.elfa.se

FARNELL http://www.farnell.se

Lawicel http://www.lawicel-shop.se














////MOBILE PROCESSING

//////////// HELLO WORLD

import processing.core.*;

public class HelloWorld extends PMIDlet {

PFont font; String hi;

void setup()

{ font = loadFont("Courier-Bold-12.mvlw"); //Create this font first + exchange the double quotes textFont(font);

hi = new String("Hello World"); //exchange the double quotes here as well }

void draw() { background(224,255,0);

text(hi,10,25);

} }



///BOUNCING BALLS EXAMPLE:


// Learning Processing // Daniel Shiffman // http://www.learningprocessing.com

// Example 10-2: Bouncing ball class

// Two ball variables Ball ball1; Ball ball2; Ball ball3;


void setup() {

 size(400,400);


 // Initialize balls
 ball1 = new Ball(64);
 ball2 = new Ball(64);
 ball3 = new Ball(64);

}


class Ball {

 float r;   // radius
 float x,y; // location
 float xspeed,yspeed; // speed
 float gravity = 0.3;
 
 // Constructor
 Ball(float tempR) {
   r = tempR;
   xspeed = 0;
   yspeed = 0;
   x = random(width);
   y = random(height);
  // xspeed = random( 1,3);
  // yspeed = random( 1,3);
 
 }
 
 void move() {
   x += xspeed; // Increment x
   y += yspeed; // Increment y
   xspeed = xspeed + gravity;
   yspeed = yspeed + gravity;
   
   // Check horizontal edges
   if (x > width || x < 0) {
     xspeed *= - 1;
   }
   //Check vertical edges
   if (y > height || y < 0) {
     yspeed *= - 1;
   }
 }
 
 // Draw the ball
 void display() {
   noStroke();
    fill(88,142,39);
  // ellipse(x,y,r*2,r*2);
   ellipse((int)x, (int)y, (int)r, (int)r);
 }

}


void draw() {

 background(255);
 
 // Move and display balls
 ball1.move();
 ball2.move();
 ball3.move();
 ball1.display();
 ball2.display();
 ball3.display();
 

}




/////////

import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import processing.phone.*;

Phone p; int smillis; Display display; Displayable screen;

void setup() {

 display = Display.getDisplay(this);
 screen = display.getCurrent();
 p = new Phone(this);
 p.vibrate(2000);
 smillis = millis();
 display.setCurrent(null);

}

void draw() { background(224,255,0);

 if(millis() > (smillis + 10000)) {
   display.setCurrent(screen);
   p.vibrate(2000);
   smillis = millis();
 }

}


obrazky:

http://www.yo-yo-yo.org/images/sketch1.png

http://www.yo-yo-yo.org/images/sketchYOYOYO.jpg

http://www.yo-yo-yo.org/images/sketchYOYOYO.fz

Personal tools