Piano Playing Robot

Piano Playing Robot

A robot that plays the piano using motors and sensors.

Lucas G.

I started my work with the robot by considering ideas early, I didn’t want to follow through with something too simple but rather something fun. I came up with the idea of a piano playing robot and immediately got to work on a design for it. Implementing the idea of using colors to detect its position and move based on the color code provided. Nonetheless, I began working on its design primarily with a color sensor, two motors with wheels, and a servo. I attached a marker to the servo using hot glue and did the same with cardboard to extend the color sensor. Programming was complex and TA Kaylynn helped me out with issues I was having. We used a lot of loops and variables but color detection failed and would not respond properly. Though in the end, I worked through it and simplified the code until alas it worked!

4 thoughts on “Piano Playing Robot

  • July 23, 2021 at 5:11 pm
    Permalink

    I was so drawn to this robot! It was the first one I looked at in the gallery. I love how you combined driving and robotic arm action. There are so many possibilities moving forward. Great work.

  • July 23, 2021 at 6:12 pm
    Permalink

    I really love the idea of using a color sensor for identifying the notes. You should consider adding more colors and “programming” a whole song.

  • July 23, 2021 at 6:14 pm
    Permalink

    The use of colors to depict notes/time duration is a really smart way to get a robot to play a song. The motor movements were also really precise too.

Leave a Reply