How to Play Music on Motors

If you’ve ever played with motors, you’ve probably noticed their musical hum as they turn at different speeds, but have you ever thought of putting your motors to use as a musical instrument? While this project probably won’t be something that’ll make you go out and buy motors and controllers, it’s a great project to take on if you have some extra material lying around.

Materials:

Instructions:

  1. If you haven’t already done so, follow the instructions to install the Phidgets drivers and libraries (direct download link) on your computer. You can get a quick tutorial on using Phidgets in Visual Basic on the Phidgets wiki, but it’s not necessary to cover this beforehand.Stepper Motors connected to 1063
  2. Connect stepper motors to the computer with the stepper controllers. Connect each controller to a12VDC 5.0A power supply, like the one that comes with the controller.
  3. Download the StepperMidi program files. Open the project with Visual Basic and run it.
  4. Open a midi file by going to File in the Stepper Midi Player and clicking on Load. You can download a selection of midi tracks here, or use your own. Press Start and the motors will begin playing your song!

Stepper-Midi Program in Visual Basic

Advertisements
About

Math lover. Engineering communicator. Mad-lib enthusiast. Total nerd.

Tagged with: , , , , ,
Posted in How-Tos
2 comments on “How to Play Music on Motors
  1. Doug Lee says:

    Hi, my stepper 42BYGHW609D4P1-3 is so quiet, I can hardly hear the sound(noise). I am trying to record from the motor. So can you recommend me a motor that has been tested with? Thank you for this great program.

  2. Ross says:

    Hi can this be done with servo motors in java?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: