Hey we’re a Group of 4 Students and have a question about a arduino/processing process. We want that a vibration motor reacts to the beat of a song. Without microphone input, just from the data of the Song. Is there someone, who has experience or some helpful informations/links about this problem?
Thx for your help and all the best,
Chris +3
You can look for "Arduino beat detector" code and/or take a look at my post about the [u]World's Simplest Lighting Effect[/u]. It normally works from an analog headphone signal or line-level signal and my post has an attached schematic that shows you how to bias the Arduino's input so it can read the AC audio signal. If you use the "simplest effect" you may have to change the timing because a motor doesn't switch on & off as fast as an LED or light.
Of course, you'll be driving a motor instead of (or in addition to) an LED so you'll need a motor driver.[u]Here is a MOSFET motor driver circuit[/u] in case you don't already have a motor driver.
Note that [u]Audio Shakers[/u] are like speakers. They are driven by a high-power linear analog amplifier so the vibration is "in tune" with and in-proportion to the amplitude of the bass.
Without microphone input, just from the data of the Song.
What sort of data?
If it is MIDI then probably.
If it is MP3 then no.
However,
You don't have to use a microphone you can connect the audio output of your device directly into a filter and drive the motor with a transistor connected to the output of the filter. No need for an Arduino at all.