The purpose of the musical chair was to make music whenever people touch each other, such as holding hands or kissing. Based off a previous project, I decided to recreate the musical bench project, using a chair instead.
Step 1: Materials
Bill of Materials:
Soldering iron (we like this one from Weller)
Here are some helpful websites:
Step 2: Solder the headers
Solder the header to the main board. Insert the pins of the headers into the round holes along the side of the Shield. Make sure pins are down and pointing away from the side of the shield with the components on it.Then flip the shield over and solder each pin to the round hole. Make sure the pins are straight.
Step 3: Add your resistors
Place the music shield right side up, where the text is facing you. Place the three resistors next to each other in the center of the prototype area of the Musical Instrument Shield. Place the 39k resistor on the left. Place one of the 1k resistors in the middle and the last 1k resistor on the right, nearest the audio jack.Flip the board over and solder each leg. Also wait to snip the ends of the legs.
Step 4: Add the capacitor
Step 5: Adding the wires
Step 6: Connect the wires to the touch points
Step 7: Check your work and mount the shield
Check your work and then you can snip off the protruding legs.
Then you can mount the shield onto the arduino by plugging the stackable header pins into the Arduino's header sockets.
There may be more header sockets on the Arduino than on the shield, but it's fine. Those sockets will not be used, and if you look closely, you will see that, due to the gaps between headers, there is only one way to plug it in smoothly without bending any pins.
Check to be sure that the USB connector on the Arduino is not shorting out to the bottom of the shield. If it is, you may need to put some tape in between.
Step 8: ?Load the sketch to the arduino
Plug the USB into your computer and load the SingingSnack sketch on to your Arduino. If you need help with this go to the guide on the Arduino home page
Step 9: Exploring and have fun
Plug your headphones, earbuds or powered speakers into the audio jack on the shield.
Touch both pads and start exploring how different types of touch maps to different notes. If you hold one of the touch pads and a friend holds the other you can make music by touching fingers, etc.
Step 10: Tweak the sketch
If you go into the sketch on the arduino there are a few variables that are fun to play with. We've labeled which variables are the most tinker-able and the ones are probably better left alone (unless you are an arduino master).
Here are some helpful hints:
#define SIXTEENTH_NOTE_MS (100) - this number changes the fullness and denseness of the arpeggio (a series of notes played in sequence). We've decided to use the arpeggio to make the sound amore "musical"
#define SENSOR_HYSTERESIS (10) - this variable defines how sensitive the device is to changes jn resistance. We dialed this down to 4 to get a more full sound (although it also can produce more 'noise' in the system).
#define LOWEST_NOTE (48)
#define HIGHEST_NOTE (96) - these two variable controls the range in notes that can be played although the highest and lowest notes are usually not used.
#define MY_INSTRUMENT (0) - it's set to the 'grand piano' instrument but it's fun to play around with the numbers (it goes up to 127 to create some interesting sounds and even percussive effects).You can also change the volume and "strike force" here if your headphones don't have volume control.
Step 11: Hack the chair
There are many ways to approach this, but here are the steps that I used.
Either you can mount the arduino to the bench or find a box to hold the arduino and speakers. I mounted mine directly underneath the my chair.
From there, I placed two pieces of brass (or other conductive material on parts of the arm rest). *I used super glue to mount the two metal pieces. However, soldering can also be an option.
Then I ran two separate wires alongside the chair (so they are not visible) and connected them to my touch points from the shield.
Step 12: Keep playing and have fun
Now that you have finished, feel free to experiment with the chair and people in order to create cool and unique sounds.