How Do I Make Play Sword Interact With Minecraft With Makey Makey

by GregLose in Circuits > Sensors

1696 Views, 8 Favorites, 0 Comments

How Do I Make Play Sword Interact With Minecraft With Makey Makey

IMG_0336.JPG

My 8-year old daughter and I recently attended a Makey Makey demonstration at a local Maker Space. I was surprised at how much she enjoyed the event as she does not typically like technology. Part way through, the light bulb clicked on for her and off we went.

To keep her interested, I readily agreed to build another project with her. We quickly settled on Minecraft and she decided to integrate her sisters foam Minecraft Diamond Sword. Upon learning this, said sister decided she wanted to help also.

This project provides a simple, hands-on project that introduces a simple circuit. It also encourages one to explore the interaction of real-world objects with the virtual world.

Add Tin Foil to Sword

IMG_0337.jpg
IMG_0338.jpg

We will need to make the sword conductive. Our sword is a simple foam sword. To make it conductive and provide a large target area we use tinfoil.

Cut a strip of tinfoil approximately 1" by 18-24". Use the hot glue gun to attach the tinfoil to the edge of your sword. Wrap extra tinfoil over the edges of the sword.

Attach Lead to Tinfoil

IMG_0340.jpg

Using one of the clips include with the Makey Makey - attach the lead to the tinfoil. Use some hot glue to attach the wire to the back side of the sword - this prevents the lead from ripping through the tinfoil.

We chose to increase the wire length by simply using a length of spare wire and clipping Makey Makey leads to both ends.

Create Target

IMG_0344.jpg

Take a sheet of tinfoil and attach a Makey Makey lead to it. For our target, we folder a large sheet of tinfoil so that it was a more solid. We then attached the target to the wall using scotch tape.

Finalize Circuit

IMG_0342.jpg

Connect the lead from the sword to the 'Space Bar' input on the Makey Makey board and the lead from the target to the 'Ground' portion of the board.

Have Fun

IMG_0345.JPG

Start Minecraft and make sure you have bound the spacebar key the 'Attack' command in Minecraft. Now when you touch your sword to the target the circuit is completed and your character will attack.

Supplies

Makey Makey Kit

Extra lengths of wire

Tinfoil

Glue - we used hot glue.

Sword - we used a store bought sword, but it would be a fun project to make your own. Once we put the project together and the girls used it they wanted to make a shovel and add it to the system.