Sunday, May 21, 2017

Making music using step motors #MusicMonday

Fun project from phpoc_man and srlee up on Hackster.io.

When step motor moves, it creates the vibration with a specific frequency, the vibration make the surrounding environment oscillate. The oscillation creates a mechanical wave. Frequency value is depended on the speed. When frequency value is between about 20 Hz and 20 kHz, it becomes sound wave and our ear can hear it.

By adjusting the speed, we can create the different frequency of sound. Therefore, we can create a different note of music.

By mapping music notes of a song to speed, moving step motor with the speed values in sequence, step motor can create melody of that song. We can use more than one motor to play a complex song.

Read more.

No comments:

Post a Comment