element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Piano Stairs (Musical Stairs) Part 1 - Planning and feasibility
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 10 replies
  • Answers 1 answer
  • Subscribers 412 subscribers
  • Views 1905 views
  • Users 0 members are here
Related

Piano Stairs (Musical Stairs) Part 1 - Planning and feasibility

Former Member
Former Member over 12 years ago

I would like to turn my basement stairs into "piano stairs". This is a request for input more than a show and tell.
 
Background:
You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Project stairs:

http://img.photobucket.com/albums/v112/prn_star/piano%20stairs/IMG_1752.jpg

Stairs from underneath.

http://img.photobucket.com/albums/v112/prn_star/piano%20stairs/IMG_1754.jpg

~Specs:

http://img.photobucket.com/albums/v112/prn_star/piano%20stairs/Untitled.jpg

 

I have purchased nothing yet.

Item starter list:

Raspberry Pi

Ardunio (max) (I would like 12 "keys" or active stairs min)

sensors - tbd

 

The sensing is going to be the hard part (I think):

 

FSR: I started looking into force sensing resisters to be put under the laminate flooring but from googling and reading I'm uncertain that would work well.

 

PIR motion sensors issues/questions:

From looking on youtube most of the PIR sensors either have 2 short a sensing range or too large a range. 10cm to 15cm would probably be idea.

The "reset" time on PIR's factory preset?

If someone tried to key a stair twice quickly it would probably not activate for 2+ seconds?

 

IRDS: Thoughts on using IR distance sensor instead of PIR?

IR has the right range settings from 4 inches (10 cm) to 80cm.

 

IR Beam: Beam sensor would be too difficult to install due to the physical requirements of access to both sides of the stairs.

 

I'm assuming that I can get the sensed activation from the Ardunio to the rPI to play a note or tone?

Would this setup be able to trigger multiple notes at once? Lets say 4 feet(2 people) playing.

 

Thoughts on if this project is worthwhile?

  • Sign in to reply
  • Cancel

Top Replies

  • mcb1
    mcb1 over 12 years ago +1
    Cool idea I remember something similar in a night club mannnnny years ago, and it worked great....except when everyone stood on the stairs. You might want to look at capacitive sensing. You basically stick…
  • Former Member
    0 Former Member over 12 years ago

    I have used the FlexiForce sensor before and it works ok. To make it work best, I had to create a disc that transferred the force from the plate to the sensor itself. Basically, I just had to increase the pressure over the sensor instead of just placing the sensor under the plate (the stair steps in your case). I am not sure you could just slide one of these under the laminate and have it work right away. I think you could create a relatively thin disc (1/16th in) that concentrated the force from the step onto the sensor and slide that under the laminate and have it work. The obvious problem would be the thickness of the disc would cause the laminate to not sit level.

     

    I don't think PIR is the way to go as you would probably end up triggering it from several stairs as it has a wide sensing volume.

     

    I would lean toward an IR pair mounted on the easy to access side of the stairs. This setup should be able to detect when an object (like a foot) is closer than the wall on the other side of the stair. They are pretty cheap too.

     

    This link might help with the multiple tones at the same time with the Arduino.

     

    Although, it might be faster and cheaper to just hack a Mini Keyboard instead of trying to get all of that working. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • colecago
    0 colecago over 12 years ago in reply to Former Member

    Arduino and Pi would be redundant.  You could use the Pi and it's IO to trigger it, or use the Arduino with a WAV or MP3 shield. I don't know why you'd want both.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    This is awesome and fast feedback Kelly and Cole!

     

    The only thing I don't like about the flexiforce is the cost($17 x 12 steps) and unknown life cycle of it having parts that wear.

    I also thought about just using a keyboard directly but I want to us this as an opportunity to learn how to use the ardunio and or rPI. Also in the future depending on how well this works I might want to have a light on each stair that lights up when the sensor is triggered.

     

    I really like your advice regarding the IR pair mounted on the easy access side of the stairs and I'm going to order an arduino, mp3 shield and 1 IR sensor to test.

     

    I thought I needed a Pi to play out the mp3 with the arduino. I didn't know I could get a MP3 shield for the arduino. Thanks for the info.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    Which do you think would be better for this project a Pi or arduino?

    I will need to read 12 of the IR sensors.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mcb1
    0 mcb1 over 12 years ago

    Cool idea

    I remember something similar in a night club mannnnny years ago, and it worked great....except when everyone stood on the stairs.

     

    You might want to look at capacitive sensing.

    You basically stick a foil on the underside of the stair treads.

     

    http://playground.arduino.cc//Main/CapacitiveSensor?from=Main.CapSense

     

    I believe there are also some dedicated chips, that might be able to help as well.

     

    At least if you get sick of it, you can remove it with no damage.

     

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • billabott
    0 billabott over 12 years ago

    Hi.  Do you like the auditory effects of the saw tooth wave?  I stumbled across an analog circuit that generates a saw tooth output using a schottky diode.  I am wondering if a VariCap Diode could be used in the circuit in lieu of a regular capacitor.  My idea is to have the arduino set the capacitance (tone control = f of note)  with one digital output pin ( if PWM cannot control the VariCap input then a resistor ladder might have to be used ) and turn the note on/off with another another digital output pin.  I will put a circuit diagram if needed, but it consists of  the Cap and Schockley in parallel up from ground, output tapped off at top of cap and a series resistor to set the max. current.       Output feeds Op-amp - Low Pass filter  - Op-amp - Speaker  ??

       _/|/|/|/|/|/|/|/|_

     

    The triangle wave is much more pleasant to the ear.  It can be generated with an additional resistor in series with the Schockley diode.  Resistor2 and S.diode in series will then be in parallel with the Cap/VariCap.

     

    __/\/\/\/\/\/\/\/\__

     

    image Looks like VariCaps are VHF devices and not AF devices.  Maybe someone smarter than I can figure out how to extract the audio freq. differential with the application of a FM detector or something else. 

     

    Lots of other ways to gen a triangle wave especially using op-amps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago

    use of pressure sensor will not be useful. but optical device will give good result.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jvdberg@ieee.org
    0 jvdberg@ieee.org over 12 years ago

    The sensing indeed will be the hard part. What worries me the most is the length of the wires from the sensors to the processor. The use of shielded wires is recommended. Some electronic organs already have problems with long wires from the keyboard to the electronics. These wires will pick up RF signals that let the piano play if nobody is using the stairs. These wires can also radiate signals from the processor and cause interference on radio and TV reception. To solve these EMC-problems the best way is to use robust sensors and an interface/isolation board using optocouplers or relays between the sensors and the processor. To let it sound like music it is possible to program the adjacent stairs to play a tune. Then only the rhythm depends on the person using the stairs. You could play different tunes if somebody is going up or down the stairs.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago

    Just to update this thread. I purchased an arduino with media shield. I soldered it together and it would power up but on loading the example software it would give an error.

    I've been unable to fix this so that's were things have stalled. =(

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • billabott
    0 billabott over 12 years ago in reply to Former Member

    What are you going to do next?

    1.  Maybe remove the shield from the arduino.

    2 Then possibly loand and run one of the blink programs.

    3  Last resort:  use a magnifying glass and multimeter to find the soldering misunderstanding.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube