Motion Activated "Attack Creeper"

25,827

145

53

Published

Introduction: Motion Activated "Attack Creeper"

In January I decided that I needed to upgrade my in-home security. Unfortunately for me my building does not allow dogs so a big scary animal was not an option. Then suddenly, inspiration struck or I guess you could say exploded.

The most logical option was obviously to create a near life size Arduino powered, motion activated, audio playing, remote controllable Minecraft Creeper. Obviously.

Step 1: Check Your Chest for Required Inventory

As always this started with a fairly lengthy list of relatively inexpensive supplies. Here's the most complete list I can compile from memory. The electronics
  • Arduino UNO (all good projects start with an Arduino)
  • Ada Fruit Wave Shield (for audio playback with the Arduino)
  • Electric Sumo CMoy Amp (I wanted to build one of these anyway so I picked it up for the project)
  • Cheap RC Car (I picked mine up for $15 at the drug store)
  • PIR Sensor
  • Speaker (mine came with my Wave Shield kit)
  • Various bits of wire
  • Batteries, lots and lots of batteries
  • Something to power the Arduino (I used a Minty Boost also from Adafruit)
  And the crafty bits
  • Cardboard boxes
  • Paint
  • Hot glue (I used the normal stuff to hold the electronics in place and some heavy duty pull-the-skin-off-your-hands industrial stuff to hold the boxes together
  • Masking or painters tape
  • zip ties/cable ties
 

Step 2: Crafting a Creeper

OK So first lets build a cardboard creeper. I sketched out the basic idea to help me find boxes that fit the correct proportions. I wouldn't want a disproportionate in-home "Attack Creeper" because that would be ridiculous. 

My first step was cutting holes to allow me to run cables internally from box to box and opening up some access doors on the back of each box. I also cut holes in the bottom box to allow me to thread cable ties through the bottom and around the RC car and opened holes for the PIR sensor and speaker. After this was done I connected the three cardboard boxes that make up the body using some heavy duty hot glue. This stuff will pull the laminate off your desk before it pulls off, serious stuff. Everything got a coat of "Creeper Green" paint and I masked off the eyes and mouth for a coat of "Soul-less Killing Machine Black".

Step 3:

Next step electronics! My program basically works like this
  1. Detect motion with the PIR sensor
  2. Play fuse.wav (aka Tsssssssss...) via the Wave Shield
  3. Trigger the "Forward" button on the RC car remote for 2 seconds
  4. Play explode.wave via the Wave Shield
  5. Wait 10 seconds and reset
I've included a wiring diagram that explains how this monster is hooked up. 

The PIR sensor was really easy to hook up using the instructions available on Adafruit's website. I imagine any sensor that measures distance or detects motion could be used in place of this. I will say (for better or worse) using the example code for the PIR sensor made it very sensitive, maybe too sensitive. The RC car came with a simple remote that contained four momentary micro push buttons. I just wired into one side of the "forward" button and used the Arduino to turn the button. I also removed most of the body of the RC car leaving just the wheels, motors and frame. I copied the in game sound effects from Minecraft to the SD card in the wave shield for playback. The output volume of the Wave Shield on it's own is pretty quiet so I ran it through the CMoy Amp to boost it's volume to a appropriately scary level. After I was sure I had everything working I used some standard craft hot glue to glue the speaker and PIR sensor inside of the Creeper body. I also glued the back of the body closed because as I learned it's nearly impossible to get tape to stick to acrylic paint.

Step 4: I've Created a Monster

Now if you make your own motion activated "Attack Creeper" you'll find the real fun is hiding in places around the house your roommates and/or significant other would not expect it.

Here's a montage of the little guy working. He's just so adorable I could explode.






And since someone might be interested in my terribly mashed up code here's the code I used to run the thing. I used the example code for the PIR sensor and Wave Shield both available on adafruit.com to create this mostly functional code. Use at your own risk!

game.life challenge

Finalist in the
game.life challenge

Share

    Recommendations

    • Clocks Contest

      Clocks Contest
    • Casting Contest

      Casting Contest
    • Pets Challenge

      Pets Challenge
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    53 Comments

    *Bob walks by the creeper*

    Bob:Oh my god a creeper

    *runs to craft table and builds iron sword*

    Bob:DIE!!!!!!

    *Bob chops creeper into bite sized peices*

    Joe:Dude,you broke my creeper dude i built

    Bob:oh...

    *bob chops joe into bite sized peices*


    The end...or is it


    Help continue this story on my orangeboard

    4 replies

    *
    Joes mom walks in.
    Joes mom: "you broke Joe!!!!"
    Bob: *Gulp*
    *joes mom chops up Bob into bite sized peices*



    Continue the story!!!

    *Joe's dad walks*
    Dad:Oh my god you broke bob!
    *Dad chops mom into bite sized bits*






    *J.C Denton walks in*
    J.C:A bomb!
    *house blows up*
    the end :)

    *Herobrine walks in*
    Herobrine: hehehe...
    *herobrine rebuilds house and sets trap*
    *everyone respawns*
    Pressure Plate: BOOM!

    nobody walks in

    nobody dies.

    the end.

    boo-hoo.

    whatever.

    Nice instructable! I repurposed your code for my own project. I tried other sketches that did similar things but all failed to compile. Yours compiled without a hitch.

    My question is do you know how to get a random wave function working with your sketch?

    I've tried random seed but it fails to compile. Maybe I'm missing something or using it wrong.

    hey, nice job dude but i think this could be sooo much better. add a louder sssssss noise, make the colors so that the holes blend with the black on the skin, make the actual feet shapes and have the wheels have longer joints(?), and finally make the car go a little slower. these are just constructive ideas

    1 reply

    Or better yet, make it say. Thatssss a very nice everything you have there..... It would be a shame if something were to happen to it...

    Great idea! Definately gonna make my own and try to iron out some kinks you had. Ill post and instructable (with credit to you ofcourse)

    what if it followed the "intruder" until it got close enough to explode? hmmm

    2 replies

    That could be done if you included a camera and coded it to follow an object set up servos to turn the controller so does follow the person, after it gets within 2 feet of the camera it activates the explosion and stops moving. to add effect it could have a small confetti cannon on its head thats hidden and when the explode sound goes off it will shoot the confetti.

    That would be so AWSOME