Sound Responsive Robot

Introduction: Sound Responsive Robot

In this tutorial you'll learn how to make a sound responsive robot, the robot will respond to the volume of your voice. The two eyes which are the LED matrixes express the volume of your voice through basic emotions.
I came up with this idea with singing in mind, so it'll be a great robot to sing to, however you can also scream, shout or just simply talk to it.
There are 12 emotions included in the provided code these emotions are:

  1. Sleepy
  2. Neutral
  3. Happy, 1
  4. Happy, 2
  5. Wink
  6. Love, hearts
  7. Happy, 3
  8. Frustrated, 1
  9. Frustrated, 2
  10. Sad
  11. Angry
  12. Dead

The louder your voice, the more intense the emotions in the eyes will become.

Step 1: List of Items That You Will Need.

1 Arduino Uno

1 Breadboard

Male to male cables

Male to female cables

2 LED matrix

1 microphone module

A lot of Lego

You will
also need the Arduino software and libraries which are linked below.

*The colour of the wire does not really matter as long as you know which wire goes where. It’s just an easy way to look for problems when it doesn't work like it's supposed to. Also the length does not really matter, these lengths are just to make it easier for you.

Step 2: Hardware Assemblage

We will be setting up the LED matrixes first, for this I used the following tutorial https://www.instructables.com/id/Multiple-LED-Matrixes-with-Arduino/. Follow this instructable once if you only want two eyes.

If you have followed the tutorial above we can begin with connecting the microphone module.
Here you will need the male to female cables, to make this work you have to wire the VCC to the +5V on your breadboard, GND to GND on your Arduino Uno and A0 to A0 on your Arduino Uno.

When you have successfully followed these steps you will end up with the image shown above.

Step 3: The Code

The code that I used for this project came from two other example project that other people have made. There are adjustments and extras that I put in to make this work. You can easily adjust the volume needed to make the robot respond faster or slower.

You need to download the LedControlMS.h library from this link https://github.com/shaai/Arduino_LED_matrix_sketch. Include it in your library in your project and you should be good to go.

Step 4: Lego!

Now that everything is assembled, you can let your creative side go wild and create all sorts of appearances for your robot.Make sure you have enough lego.

Share

    Recommendations

    • Creative Misuse Contest

      Creative Misuse Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Metalworking Contest

      Metalworking Contest

    Discussions

    I'd love to see a video of how this works :)