Go Down

Topic: A musical soft drink can for St Andrew's Day (Read 723 times) previous topic - next topic

scruss

Okay, this is pointless, but very, very Scottish.  :)

For St Andrew's day, I've made a can of Irn-Bru -- the best-selling soft drink in Scotland -- play the Scottish national anthem. Here's what it sounds like:


For those of you who really can't get enough of drinks containers playing national anthems, I've also done:

The programming is trivial. It's just the RTTTL example from the Tone library, with RTTTL generated from a midi file sent through the converter here: http://midi.mathewvp.com/midi2RTTL.htm.

The wiring is also trivial: just a flat piezo element wired between port 13 and ground. Fixing the piezo to the container can be tricky. For metal cans, a tiny drop of cyanoacrylate will do. For paper cups, a clear glue, applied liberally and allowed to dry, seems to be reliable.


Coding Badly

#1
Nov 30, 2010, 06:05 am Last Edit: Nov 30, 2010, 06:06 am by bcook Reason: 1

Excellent!  I need one for my very, very Scottish Grandmother!


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy