Pages: [1]   Go Down
Author Topic: A musical soft drink can for St Andrew's Day  (Read 630 times)
0 Members and 1 Guest are viewing this topic.
Toronto
Offline Offline
Newbie
*
Karma: 1
Posts: 26
Arduino is teh r0xx0r
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay, this is pointless, but very, very Scottish.  smiley

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:
  • O Canada —
  • The Star Spangled Banner —
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.

Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13072
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


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

« Last Edit: November 30, 2010, 12:06:36 am by bcook » Logged

Pages: [1]   Go Up
Jump to: