Xylophone Robot

2,977

37

3

Introduction: Xylophone Robot

About: I'm IT who loves to thinker around with electronic, computers, RC models and Robotic.

This is simple 3Dp beginner project for every one that has access to 3D printer.
Additional what you need is:

  • 2x servo
  • Arduino/Raspberry Pi or any other programmable platform to control servo
  • xylophone or similar instrument (you can also improvise ;) )

Step 1: Base

Grab files from http://www.thingiverse.com/thing:1379539

If you have Servo "hex tronik hx12k" or other same dimensions you can directly print
file "hex_tronik_hx12k.stl"

For other servos insert your dimensions in to servo1.scad andgenerate stl file using OpenScad

Step 2: Top Servo

If you have Servo "hex tronik hx12k" or other same dimensions you can directly print file "hex_tronik_hx12k_servo_top.stl"

For other servos insert your dimensions in to "servo2.scad" and generate stl file using OpenScad

Step 3: Assemble

All printed?

Now you only need 8 screws to screw the top and bottom servo,
and press fit the top servo to bottom servos servo horn.

To reduce stress to the servo, the "drumstick" is held only by rubber

If your base is to light drill some hole and glue in some heavy material
or use some tape.

Done.

Step 4: Connect to Your Platform and Have Fun

Connect servos to programmable platform of you choice and program a song that you like.

Arduino:

Raspberry Pi

Here a simple Arduino test - full octave and short Slovenian folklore song "Čuk se je oženil"

Robotics Contest 2016

Participated in the
Robotics Contest 2016

3D Printing Contest 2016

Participated in the
3D Printing Contest 2016

Make it Move Contest 2016

Participated in the
Make it Move Contest 2016

Be the First to Share

    Recommendations

    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Metalworking Contest

      Metalworking Contest
    • Maps Challenge

      Maps Challenge

    3 Discussions

    0
    1711AM
    1711AM

    7 months ago

    Awesome project! Would you happen to have a code available for any song using the arduino software?

    0
    miharix
    miharix

    Reply 7 months ago

    Sorry I can't find the files :/

    It's not that hard. For first make functions to play each note.
    (example C_note(){servo1(20); delay(10); servo2(0); delay(3); servo2(40); })
    Then just look up songs cords and copy/paste function names in correct order:
    (example C_note(); D_note(); F_note(); C_note; )

    For kids it was also interesting to control it using "scratch" and "Firmata":
    https://khanning.github.io/scratch-arduino-extensi...
    http://s4a.cat/
    http://snap4arduino.rocks/

    0
    1711AM
    1711AM

    Reply 7 months ago

    Thanks heaps! I am going to give it a shot