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

About

I'm an everyday walker, a passionate learner, and en educator creating experiences that grow eco and digital literacy. I'm living with stage IV colorectal cancer and type 1 diabetes, hoping to eek out as much life as possible before the cruel world takes me.

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 comment