loading

How cool would it be, to have a Pokémon that comes to life!!

I made a Magikarp, that does Splash when I say: "Magikarp do Splash!!"

Step 1: Equipment Needed:

Here's the list of all the things you'll need:

- Arduino (version doesn't matter, but I'm using an Yún) & cable to connect to your PC

- Microphone

- Servomotor

- 6 wires

- Breadboard

- Tape

- Toothpicks

Step 2: Make a Magikarp

First you need a Magikarp. I had no Magikarp so I made one. If you have a Magikarp, that is light and the inside is unstuffed, then you can use that as well!

I made my Magikarp using an already existing papercraft model. From this site: http://www.pokemonpapercraft.net/2011/04/magikarp....

The site says that the craft-level of this model is easy, but to be honest I thought it was quite hard. Including cutting all the pieces, it took me a few hours to figure out how the model works and to get it done.

In the end you'll get 2 seperate pieces of a whole Magikarp, that you'll need to glue together. Don't do that yet, because we need to put an servo motor in it first.

Step 3: Put Your Servo Into Your Magikarp

Tape your toothpick directly into the servo.

Then make a little gap directly next to the fins where you put in your servo from the inside.

In the second picture you'll see that I used 2 toothpicks, that's wrong. You only need one.

Step 4: Connect Servo to Arduino

My servo has 3 different color wires.

The darkest one is the ground - so put that into GND

The middel one (red color) is for the power - so put that ino 3.3V.

The orange (yellow) one is for, kind of controlling it through the pc, so it doesn't really matter where you put that one from the Digital range 8 till 13 - I putted into Digital 9.

Step 5: Connect Microphone to Arduino

First I put my microphone into my breadboard. Then I connect it with my Arduino through the wires.

My microphone has 4 different connections. VCC, GND, D0 and A0.

VCC - is for the power so that goes to 5V.

GND - is ground and goes to the other GND on my Arduino.

D0 - goes to none because we only need Digital.

A0 - goes to Analog 0.

Step 6: The Code

First you go to "Sketsh" then choose "Use Libary" and search for "Servo".

That way it'll include a servo. Then you put in the code:

Servo MyServo;

int pos1 = 0;

int sensorValue =0;

int sensorHigh =120;

void setup()

{

MyServo.attach(9);

}

void loop()

{

sensorValue= analogRead(A0);

delay(1);

if(sensorValue>sensorHigh)

{

for (pos1=0; pos1<60; pos1 +=2)

{

MyServo.write(pos1);

delay(5);

}

for(pos1=60; pos1>=1; pos1 -=2)

{

MyServo.write(pos1);

delay(5);

}

}

}

Step 7: YOU'VE CATCHED a MAGIKARP

You've got the code and everything attached. You can now glue your 2 pieces of Magikarp together. If you treat your Magikarp right, maybe it will turn into an Gyarados

magic carp used splash but nothing happened. anyone, no okay I'll just go cry in a corner
<p>Interesting and creative idea! Thanks for sharing it!</p>

About This Instructable

1,717views

14favorites

License:

More by Cuiyuu:Magikarp do Splash! 
Add instructable to: