Tuesday, October 20, 2009

Lab 4 - A Musical Motor

In the past lab we constructed a home brewed motor, with a hall effect position sensor. This week we upgraded our motors with higher resolution sensors, added op amps to serve as amplifiers and differentiators, and finally interfaced our Arduino with PureData to turn our motors into haptic feedback musical instruments. The virtual interfaces previously designed have been re-implemented with a true differentiator, rather than Arduino code, and with higher resolution. The virutal spring and virtual damper were re-tuned to feel even more realistic than before, thanks to the addition of op amps. The Arduino produced MIDI signals, correlated to a motor position, which were translated into audio waves by PureData. Haptic feedback was provided through the motor with the use of a virtual spring. The force of haptic feedback varied with the change in melody.

No comments:

Post a Comment