Introduction: Hearts A'Bursting

About: I am a student at Berry College. Most of these projects are created at Hackberry Lab for Creative Technology classes.

I made this for a competition a week ago, and I guess my inspiration comes from Valentines Day, but of course a valentines heart wouldn't work. That's why I took valentines day and beefed it up a bit.

What I used:

a 3D printed heart I found on Thingiverse

An Arduino Uno

A servo

Hot Glue

Acrylic paint

(wire is optional)

Step 1: Wiring Up Your Servo and Programming

To set up the servo, I used this diagram, except I had the wires going directly to the Arduino without the use of a breadboard. For the programming I used https://www.arduino.cc/en/Tutorial/Sweep, and changed pos+= #.

setup() {

myservo.attach(9); // attaches the servo on pin 9 to the servo object}

void loop() {

for (pos = 0; pos <= 180; pos += 90) { // goes from 0 degrees to 180 degrees // in steps of 90 degrees myservo.write(pos); // tell servo to go to position in variable 'pos'

delay(15); // waits 15ms for the servo to reach the position

}

for (pos = 180; pos >= 0; pos -= 90) { // goes from 180 degrees to 0 degrees

myservo.write(pos); // tell servo to go to position in variable 'pos'

delay(15); // waits 15ms for the servo to reach the position }}

Step 2: Putting It Together

http://www.thingiverse.com/thing:1937314 is the link to the heart that I decided to print. I chose this one because it comes in two parts.

Once this was done, I glued the servo into it, and tested one last time to make sure it was functioning. After this I glued it all together and decorated. This can be done however you like. I also used the glue to make it look like drops of blood were running out.