Introduction: How to Make a Jumping Noisy Frog

About: Empowering Creation for Future Innovators; Our mission is to form a community with easy access to whether hardware, software and ideas that allow makers and younger generation to achieve their goals and realiz…

Back in the 80’s and 90’s kids didn’t have access to the Internet. Nor did they have iPads and smartphones, so kids weren’t bowing their heads looking at screens all day long.

However, in those days kids made their own toys like paper planes and spinning tops. These toys accompanied them throughout their childhood. Imagine if you were born in the 80’s and 90’s and Arduino existed. What would you make? Anyway, let’s make a frog. The Video shows what the paper frog should look like. Doesn’t it look real? What’s more interesting is that it can jump and make noise! We will show you how to do this later.

Components:

Beetle BLE - The smallest Arduino bluetooth 4.0 (BLE)

Gravity: Analog Sound Sensor For Arduino

DFPlayer - A Mini MP3 Player For Arduino

3.7V Battery

Step 1: How to Make a Paper Frog

You will need:

1 x piece of paper with length twice as long as its width.

(We used a 20x10cm piece for our project)

2 x LEDs

1 x 3v button cell battery

Method:

1. Fold the paper in half sideways to make a rectangle. Fold the corners down and unfold them right away, repeating this for both top corners of your rectangle.

2. Flip the paper over and fold the top of the paper down at the spot where the diagonal creases meet. Unfold right away.

3. Flip over once again, and fold the two edges toward you so they meet each other. The top of your rectangle will fold down to form a triangle.

4. Fold the bottom of the paper up so that its edge meets the bottom of your triangle. Fold the two corners of the triangle up to form the "front legs" of the frog.

5. Fold the sides inward to meet at the center.

6. Fold the bottom of the paper upward so its edge touches the bottom of the "legs," and unfold right away.

7. Insert your fingers into the inside of the flaps, and pull the bottom corners outward to the sides, so that the bottom edge comes up to touch the bottom of the "legs."

8. Fold the corners down so they meet at the bottom of the figure.

9. Fold the bottom corners outward to form the "back legs" of the frog.

10. Create a zigzag fold at the bottom of the figure, folding the bottom half up and then the bottom quarter back down.

Step 2: Installation of LED Lights

Cut two holes for the frog’s eyes and then attach LED lights to the button cell

with double-sided adhesive tape. Put the LED and battery into the frog’s abdomen just as it’s shown in the diagram below.

Step 3: Upgrade Your Frog: ​Folding Procedures

1. Get yourself a piece of A4 paper and fold the paper in half sideways to make a rectangle.

2. Fold the corners down and unfold them right away, repeating this for both top corners of your rectangle. 3. Fold the two triangles as it’s shown in the diagram below. 4. Turn around and fold another two triangles at the other side as shown in the picture below

Step 4: Folding Procedures

Refer to the diagram below and fold the bottom

Cut along the middle line and fold out the legs of the frog

Step 5: Folding Procedures

Then cut it as shown in the picture and then fold it.

Your frog is ready now! Press it back and release to make it hop!

Step 6: Circuit Connections

Attach the Bluno Beetle controller to Pin A1 and then check the sound value shown on the sound sensor. If the value is higher than the one being set, the MP3 will be turned on and music will be played.

Electronic Components

1. Bluno Beetle controller

2. 3.7V Battery

3. Analog Sound Sensor (compatible with Arduino)

4. Player module

Step 7: Uploading Code

Upload the code to the controller. Now your noisy frog is ready!

#include
#define SensorLED 13 int state = 0; void setup() { pinMode(SensorLED, OUTPUT); pinMode(SensorINPUT, INPUT); pinMode(A0, OUTPUT); pinMode(A1, inPUT); Serial.begin (9600); mp3_set_serial (Serial); //set Serial for DFPlayer-mini mp3 module mp3_set_volume (50); } void loop() { int state = analogRead(A1); Serial.println(state); // state=0; if (state > 20) { // Serial.println(state); analogWrite(A0, 180); mp3_next (); delay(4000); mp3_stop (); analogWrite(A0, 0); delay(2000); } else { analogWrite(A0, 0); mp3_stop (); delay(500); } }

SCHEMATICS

Jumping noisy Frog circuit diagram as pic:

Step 8: CODE

#include

#define SensorLED 13

int state = 0;

void setup()

{

pinMode(SensorLED, OUTPUT);

pinMode(SensorINPUT, INPUT);

pinMode(A0, OUTPUT);

pinMode(A1, inPUT);

Serial.begin (9600);

mp3_set_serial (Serial); //set Serial for DFPlayer-mini

mp3 module mp3_set_volume (50);

}

void loop()

{

int state = analogRead(A1);

Serial.println(state);

// state=0;

if (state > 20)

{

// Serial.println(state);

analogWrite(A0, 180);

mp3_next ();

delay(4000);

mp3_stop ();

analogWrite(A0, 0);

delay(2000);

}

else

{

analogWrite(A0, 0);

mp3_stop ();

delay(500);

}

}