Miu Ling Lam

Media Art, Physcial Computing, Interaction Design – a blog connects me to like minds

Morse Corsage

Morse Corsage Componets

Morse Corsage is an interactive installation that transmits and decodes Morse code. It consists of a wearable device, the corsage, which is made of a crocheted flower and custom electronics, and a processing program that listens and decodes Morse code messages sent from the corsage. Morse code is transmitted wirelessly via Bluetooth. The corsage is worn on the wearer’s wrist and he/she can send Morse code by pressing the push-button sewed on the corsage.

I coupled the processing code with Apple script that talks to Skype to make Morse Corsage make phone calls and send text messages, tho I consider this is an art piece more than a communication device.

I will post the instructions soon. Here is the source code:

Arduino source code:

int morsePin = 7;
int groundPin = 11;
int dotLEDPin = 12;
int dashLEDPin = 13;
unsigned long highTime = 0;
void setup()
{
 pinMode(morsePin, INPUT);
 pinMode(groundPin, OUTPUT);
 digitalWrite(groundPin,LOW);
 pinMode(dotLEDPin, OUTPUT);
 pinMode(dashLEDPin, OUTPUT);
 Serial.begin(9600);
}
void loop()
{
 int val = digitalRead(morsePin);
 if (val==HIGH) {
  if (highTime==0) highTime = millis();
   delay(100);
 }
 else {
  if (highTime!=0) {
   if ((millis()-highTime)>500) {
    Serial.print('1');
    digitalWrite(dashLEDPin,HIGH);
    delay(100);
   }
   else {
    Serial.print('0');
    digitalWrite(dotLEDPin,HIGH);
    delay(100);
   }
  }
  highTime = 0;
  digitalWrite(dashLEDPin,LOW);
  digitalWrite(dotLEDPin,LOW);
 }
}

Processing source code: download

Advertisements

Filed under: Physcial Computing, , , ,

One Response

  1. Cecil says:

    Wow!…it is so impressive. The coupling of engineering and artistic approaches will open up a new window which definitely leads the next generation of artistic ideas! I am looking forward to your next post!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: