Andrew T Lyman

experimentalist

2011

Archives

Archive for the ‘arduino’ Category

Star Simming

Monday, January 17th, 2011

star sim

I’ve been working on a Star Field Simulator for the Meow Wold Due Return Installation at the Santa Fe CCA in May. The installation is going to fill a 6,000 sq/ft room with an alien environment and a crash-landed inter-dimensional space ship. The sky is going to be composed of 384 LED stars running and pulsing on 48 different circuits. I’ve been writing a Sim for all of this in Processing so we can see how things may be handled. The project is easily going to be insane, and I encourage anyone interested to learn more and to support the Due Return on Kickstarter. If you have (or download) Processing, you can download and play around with the sim till your heart’s content.

Meow Wolf Site
Star Sim v4.0 .zip

Posted in Code, Meow Wolf, arduino, art | Comments Off

Ard-wee-no?

Wednesday, December 29th, 2010

Mom and Dad be praised, I got an Arduino for Christmas. It’ll mark must first and most rudimentary probings into physical computing, and I’m excited for the many experiments to come. Below is my first, from Makes: Getting Started With Arduino by Massimo Banzi. Just turning an LED on and off with a button. The code is trivial, as is the effect, but there is quite thrill to plugging this device into you USB port, uploading the code, and the immediate satisfaction of having it work right there on your desk. Many many hours of learning and experiments to come. They’ll live here with the rest of my learning and experiments.

//Blinky LED
#define LED 13
#define BUTTON 7

int val = 0;
int old_val = 0;
int state = 0;

void setup(){
  pinMode(LED,OUTPUT);
  pinMode(BUTTON,INPUT);
}

void loop(){
  val = digitalRead(BUTTON);
  if((val == HIGH) && (old_val == LOW)){
    state = 1 - state;
    delay(10);
  }

  old_val = val;

  if(state == 1){
    digitalWrite(LED, HIGH);
  } else {
    digitalWrite(LED,LOW);
  }
}

(picture of the circuit when I can find my camera cord)

Posted in Code, arduino | Comments Off