Steve Kwok's profile

Woven Heart Beat



D E S C R I P T I O N

For IAT320 Assignment 1 we were assigned to create a interactive origami project. I decided to keep things simple and create a beating and glowing heart. The glow and vibrations would be in the pattern of a heart beat. The DC motor would create a vibration while the LED would glow in blue because blue LEDs with the Arduino kits are the brighter ones compare to other colour, in order to shine through the layers of paper.

The inputs and outputs would be managed by a Flora V2 powered by a battery pack containing 3x AAA batteries. The Flora V2 however ended up having a really dim LED and did not respond well to the same code that had worked flawlessly with the Arduino Uno. I later opted to use the Arduino Uno which is a much larger unit with the USB cable for power source. The battery pack had also failed to power the Flora V2. Since the Arduino Uno took up so much space, I dropped the idea of having it vibrate. 

The code for the Arduino Uno has a button state that checks if the button is pressed, then it runs a pulse to the LED bulb with a mixture of delays.
_______________________
I N S P I R A T I O N

I recently covered a wedding ceremony and banquet event and felt that it was sweet to see the couples holding hands all the time. The parents of the bride talked about how they're sending off their beloved daughter to the groom. While I was thinking of methods to secure the Arduino and its battery, I thought of the hand holding and the social interaction of handing something important to another person. I then created the woven heart that signifies lovers to be interwoven and once you interact with it, the interaction gives it life.
_______________________
I M P R O V E M E N T S


- Utilize the Flora V2 to replace Arduino to save weight and space
- Replace the power source to use independent battery pack
- Allow the user to touch anywhere on the heart to make it beat, allowing obvious response
_______________________
M A T E R I A L S

- Paper in two colours
- Solder
- 330k ohm resistor
- Blue LED
- Arduino UNO
- Jumper cables
- USB cable
- Button switch
________________________
C O D E

int buttonInput=10;
int lightOutput=7;
int buttonState=0;

void setup() {
  pinMode(lightOutput, OUTPUT);
  pinMode(buttonInput, INPUT);
  digitalWrite(buttonInput, HIGH);
  
}
void loop() {
  buttonState = digitalRead(buttonInput);
  if(buttonState == LOW){
    digitalWrite(lightOutput, HIGH);
    delay(200);
    digitalWrite(lightOutput, LOW);
    delay(100);
    digitalWrite(lightOutput, HIGH);
    delay(200);
    digitalWrite(lightOutput, LOW);
    delay(700);
    
    
  }
  else{
    digitalWrite(lightOutput, LOW);
    }
  // put your main code here, to run repeatedly:
}
Woven Heart Beat
Published:

Woven Heart Beat

Interactive Origami Heart that beats with interaction. Don't leave my heart alone.

Published: