08 Sep '11

Musical Staircase

Uncategorized

By Rio Akasaka

At the beginning of the summer, our intern cohort was told that IDEO has a history of summer pranks.  Inspired, we got together, threw around a few ideas, and settled on building a musical staircase, one that would play different sounds when you walk up and down the steps.

Over the course of three weeks, we brainstormed and prototyped a variety of implementations and consequently took over the Toy Lab over the weekends to build, solder, and assemble.  We tried to be stealthy and keep the project a secret, though it soon became clear that designers in the Toy Lab had been thinking about building something similar for a few years.

Click through for build details and source files for building your own!

Our approach involved using IR sensors and a single Arduino Mega 2560 inspired by Sparkfun’s Illumitune project. We considered using pressure sensors but were concerned about the possibility that if they caused slippage or tripping in any way, there would no longer be an intern program at IDEO.

Unfortunately, our first attempt at using IR LEDs and detectors did not work reliably, and we spent many hours trying to calibrate and ensure that one pair of working sensors could scale reliably to sixteen sensors working in concert.  We eventually switched to slightly more expensive Sharp distance emitter-sensor pairs, which a local hobby store fortuitously carried. These were considerably more reliable, though reliability came at a price — 5 times as much at $15 a piece!  Luckily, the Arduino Mega has exactly 16 analog inputs for 16 stairs, and after assembling cables for the better part of the evening, we were ready to install. The Mega happily works with a 9V power supply.


Testing all 16 sensors before installation

We designed a custom foamcore housing to hide the cables that run along the side of the stairs as well as laminated graphics to add more fun.  While in the video, the participants are standing fairly close to the railing to trigger the sensors, we have since improved the threshold for triggering the stairs, which feed into a Processing script that handles the playback of audio. There are two audio tracks currently available – piano notes and clapping, with the possibility of easily adding more. The last stair of the clapping track includes pretty much everyone from the Toy Lab!

To build your own

The code for the sensor set on the Arduino is available here
The code for the audio using Processing here
The sensors we used were the Sharp GP2D12 30″ type. The processing code has been shortened somewhat, but the essentials are there. Add as many mp3 files as needed, and run the Processing code to read the Serial output from the Arduino device using the same baud rate.

(L-R) Rio Akasaka, Haemi Chang, Engin Kapkin, Lucas Hartman, Silvia Boscolo, Tiffany Tseng, and also Corina Yen, Valerie Willis, Aaron Peck, Anne Riechart

9 Comments:

  1. Armando J.

    19/09/2011 at 9:06 pm // Permalink

    Very nice project, although I would have made a few adjustments to the design to make it cheaper and probably easier to build…

    You could use piezoelectric sensors which can be bought as “buzzers” in any electronic store for about a dollar. You take them apart and then wire the disc to either a midi drum brain or any Arduino programmed to send midi signals to the computer (see Miduino project).

    Then you simply open any computer based sampler and it’ll play the notes when the sensor is hit. There is also an added bonus, the steps would be pressure sensitive so that a heavy step would sound louder than a light step!

    Happy hacking!

  2. andy cameron

    21/09/2011 at 7:59 am // Permalink

    Here’s the grandaddy.

    http://www.danielhirschmann.com/tuned-stairs-pompidou-2006/

    Best thing about it, apart from it being in the POMPIDOU in PARIS – the sounds aren’t sampled, they’re real xylophone keys struck by real metal solenoids. Makes a big difference to the sound of the sound.

  3. MissT

    28/01/2012 at 5:41 pm // Permalink

    It reminds me very much of this:
    http://www.youtube.com/watch?v=2lXh2n0aPyw

  4. Pamela Sterling

    04/09/2012 at 9:00 pm // Permalink

    I think this is fantastic! How would this work outside? Could it stand the elements?

  5. lavanya nageswaran

    01/02/2013 at 1:54 am // Permalink

    i really wanna know what is really going on in”IDEO” ………….ITS AMAZING

Leave your comments