Star Wars - "The Imperial March" by LEGO® motor and SBrick
The tune is the first eighteen note of The Imperial March (Darth Vader's theme) from the Star Wars franchise.
The sound is generated by a LEGO® L motor, and an SBrick. SBrick works with PWM (Pulse Width Modulation), it turns the motors on and of very quickly. If the motors are turned on most of the time, they revolve faster, if they are mostly turned off, they revolve slower, or don't even move, only a tweeting sound can be heard as the motor windings vibrate.
This demo works by adjusting the PWM frequency so that the frequencies are that of musical notes, and these notes happen to be the first few of The Imperial March.
The video demonstrates PWM frequency adjustment capability of the new SBrick frimware, and the possibility to upload and store short programs and start them on certain events (in this case shortly after the SBrick is powered on).
Learn more about SBrick from the links below.
SBrick Community: http://social.sbrick.com
SBrick Website: http://www.sbrick.com/
SBrick Facebook: https://www.facebook.com/sbrick
Posted January 20, 2015
click to rate
Very clever.