Piano Box is a digital synthesizer made of paper

We love the look of this papercraft piano which [Catarina] built along with some friends at NYC Resistor, a hackerspace in the big apple. It starts off as a cubic black box with a white top. But just lift that top as [Catarina] does in the video after the break and three of the sides fall flat to reveal a pair of speakers and the single-octave keyboard.

The key’s don’t move when you press them. Instead, she decided to use the CapSense Arduino library to implement touch sensitive keys. Each key is made up of a plane of copper foil tape, with a strip of tape running back to the center of the box where it is interfaced with an Arduino Mega hidden there. The Tone library produces the waveforms which are played by the speakers, and a set of LEDs on the upright side of the box illuminate the keyboard diagram as you press each key. You can see that there are short white bars on that display which correspond to the black keys on the keyboard.

If you take a look at the code, you’ll see the libraries really make the code for the project simple.

[Thanks Erik]

Comments

  1. foo says:

    after what break?

  2. willaim says:

    I guess the old adage if you have nothing nice to say, say nothing at all finally sunk in :) not a very complicated project but it is kinda neat i think the speakers should have covers that look like half of a sandwich box and it would polish the look a bit

  3. egasimus says:

    It hurts me to see an entire Arduino basically go to waste in that box. Dammit woman, y u no do this with CMOS logic?

  4. Hacksaw says:

    Kinda cool I think…who cares if she underutilized the Arduino…seriously you guys never seem to miss an opportunity to bitch about the use of one.

  5. Greenaum says:

    Altho PWM is output as a square wave at very high frequency, the lower-frequency result it produces is a pretty bang-on accurate reconstruction of a sine wave, or whatever wave you want. Put a simple low-pass filter in, and you can’t tell the difference. PWM DACs are old news, they do a fine job. All that matters is the frequency they run at, which determines the effective sampling rate / bit accuracy. 1-bit CD players using PWM are common, and available in hi-fi.

    What I’d like to see, is some of those almost-flat speakers! Or perhaps even a few piezos. A keyboard that rolls up like a sheet of paper, with a little box for the works, would look great!

    On the other issue, an Arduino is easier and cheaper, to get the result. And allows expansion like using samples of different instruments. Lots of things CAN be done in discrete components, but if the alternative is better, why bother?

    • jameswilddev says:

      Outputs a sinewave at low frequency?

      What?

      How? It’s supposed to be a digital signal! Look at the code, it’s not using the PWM outputs to create a class D situation, the timer hardware is being used to directly create the frequency desired, and if there is any low pass filtering it’ll affect higher frequencies a lot more than lower frequencies.

  6. Greenaum says:

    The other useful thing, is the Capsense built-in. Using a separate chip (not sure what Capsense make in that line), or god-forbid doing it yourself, would add extra time and work on a problem that’s already been solved. It’s a great idea, and lets people with less advanced knowledge than others, ACTUALLY DO SOMETHING! Which is worth a thousand comments.

  7. jameswilddev says:

    None of this diminishes a great build, by the way. Very elegant design and neat. Love the LED readout.

  8. Richard Ross says:

    Think this is a great idea/project. Just want to
    convert it into a theremin/piano!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s