As a project for one of my college classes, we were asked to create something using the Arduino. After a few different ideas, I settled on putting an Arduino noise machine into a suit jacket. It uses parts of the jacket to make function, so that it appears that the jacket is making sounds for no reason.
The code that I used was from blinkyblinky, and can be found here. Using his project as the basis, its a simple matter of fitting everything into the jacket that you decide to use.
So lets begin.
Step 1: Parts
1 Arduino Uno
1 suit jacket (check out local thrift stores)
2 speakers (also check otut
2 momentary tactile switches, preferable with four "legs" on them
1 soldering iron
1 9v battery
1 9V battery adapter for the Arduino
1 battery switch
Small safety pins OR a sewing kit
Rather than reinvent the wheel, I recommend you check out blinkyblinky's Instructable on how to put together and test out the noise machine. He also provides different codes, depending on the kind of sounds you want. Once you have it breadboarded and functioning the way you want it to, we can move on to applying it to the jacket.
Step 2: Preparing the Arduino
Step 3: Preparing the Jacket
Next we need to prepare the jacket so we can put in the Arduino. I found several pockets on the inside of the jacket, which provides a place to slide in the Arduino, the battery pack and the speakers. If there isn't one for your jacket, I would recommend sewing in a pocket to hold the Arduino. No, I dont' know how to sew either. That's why you should get a jacket that has pockets on the inside.
Once we've found a home for the Arduino, we need to figure out where we will be placing our buttons. I chose to use small tactile switches that you would use for a breadboard because I had them lying around. The advantage is that since they have little legs on them, I was able to get them to grab the fabric on the inside of the jacket sleeves. Because of that, I could situate them under one of the buttons that were on the sleeve, which gave the illusion that pressing the jacket button changed the sound of the noise machine. I had people suggest putting them on the inside of the front pockets so that the sound can be changed while you walk with your hands in the pockets, which would make it much more incognito. I prefer the jacket buttons because I like to give form to parts of the jacket to make it much more inclusive to the whole experience. I also know little about tailoring, so I didn't want to risk cutting holes into the jacket and having the thing fall apart.
You will also need to find a place for the speakers. Once you have laid everything out, we can move on to the next step.
Step 4: Installing the Noise Machine
In this next step, you will be soldering to the tactile switch. Be very careful not to burn the fabric of the jacket. It is also important to know which of the four legs from the tactile switch to solder to. If you don't know, have a multimeter and a third hand (such as from a friend) available as to find the correct legs with the switch pressed. Believe me, the noise machine is less impressive if the button is constantly on. Once you've figured that out, solder one wire to each of those legs. Connect one of them to header for Digital 8, and the other one (which goes to ground) leave aside. Do the same the same for the other tactile switch on the other sleeve (or wherever you chose to put it). Once that's done, wrap the two wires that go to ground together and solder that the ground. It may be a little difficult, but I found this way to work best. Attaching one of the wires to the other ground that blinkyblinky did not use in his original plans grounded out the Arduino, which is the opposite of what we want. I don't know how to write code, so I'm not sure how simple of a fix that is. But for the sake of using the resources we have in front of us, just wrap the two wires together.
We will need to do the same for the speakers. If your speakers already have wires connected to them, solder one to D10 and the other to D13. Connect the battery pack to the Arduino, I used a small slider button to use as a power switch that also has legs on it. This way, it can grab on to the fabric like the tactile buttons, and you totally look like your checking the inside of your jacket like a class person when you power the Arduino on or off.
Finally, use safety pins to keep the wires tidy and together. If you would like for a more permanent noise jacket, and have the skill, then you could also sew the wires against the jacket. It may even be possible to run the wires inside the jacket, but I'm not a tailor.