Step 4: Solder.

Cut the Perf board until it feels most "comfortable" as a shield. You can use my shape if you want. Make sure it doesn't block the valuable reset button unless it is UNO Version R3...

Then solder from the schematic. Remember. Pin 11 not 10 for highest Ouput Level.

 One Lead from switch One goes to Pin 9. On the other switch, connect Lead 1 to Pin 8. Both switch's pin 2s go to Pin 13 on Arduino. (AKA Ground.)

This code looks like its all written with an extremely early version of the IDE. Hopefully everything is backwards compatible in 1.0.4
Try it. If not, use an older version.
Nope, works great. I had tried some older code recently that looked like this and didn't compile but this works fine with 1.0.4. Awesome glitchyness on that RandomBlipsAndBleeps_Metroid.pde.. Great 'ible, thanks!! <br> <br>I was thinking of trying to put all of these together into one program and then make a momentary button or rotary knob or something to switch in between them. Not sure if it would make it into program code with all of them though, but maybe pick the best ones..
flash memory (program space)*
Wait, what?
Your code compiled and worked. <br> <br>I was thinking of modifying them to put them all in one program, just add another switch to go in between the different 'modes'.
I wanted to try this synth tutorial with my Arduino but cant get it to compile under the arduino ide 1.0.2. I get about an eigth of the way and it stops with multiple errors. <br>java.util.regex.Pattern$Branch.match......ect. <br>Pattern.java('then a number between the parentheses') <br>Any suggestions, what did I miss?
Yeah, this code hasn't been ported over to 1.0 and beyond. I still use Arduino 0022 for maximum compatibility but I do have 1.0.1 as well. With codes that are already written there are some required libraries that have changed names and some commands. Most notably, WProgam.h became, I believe Arduino.h...I have tried adding both libraries into the same Arduino folder but that failed...so I would just stick with an older version of Arduino. <br> <br>P.S. What Arduino are you using?
Arduino duemilanove is what i've been using for almost 2 years. I tried compiling using version 0020 and got the same error. I figured out that the problem was caused from copy pasting directly into the arduino ide instead of saving as a .txt/ .pde file and using file open. Thanks for answering. To many Sunday football barley distillates, to upload the sketch at this time....will do later
Thanks for the 'ible! I've driven lots of people crazy with this. I find it rather enjoyable. I was wondering if you might know why, though, I can get the buttons to work when I move it (circuit is on a protoshield with mini breadboard) from my Uno to my Mega 2560. Also, the sound works on D10, but not D11 or D12. <br>Never mind. That statement made me think to check other pins. On the Mega 2560 the buttons go to pins D52 &amp; D53. It's late, &amp; I have to work in the morning so I'll look for the sound pins tomorrow. <br>But, hey. I'm gonna be building some of your other projects. I, too, love synths and other noise/sound makers. I think I may have to make some stuff for my grand kids for Christmas. <br> <br>I'm fairly new to electronics, but this stuff is fun!! <br> <br>Thanks for your time and effort! <br>AptPupil
That should have read &quot;cannot get the buttons to work...&quot; <br>Apt
Try grounding every pin (one pin at a time) on the Mega 2560 to see if the sound changes. If you can't get the sound to work, try connecting every pin one at a time to find the output. Make sure you check your connections. Tell me what you get.
Okay, D10 &amp; D50 are the two speaker outputs &amp; D52 &amp; D53 are the button pins. It works just fine. What sucks is that I made a shield for this to fit the Uno, but it seems that I've screwed up my Uno. I was trying to hook up an 8x8 LED matrix for the first time. Loooong story short, my Uno powers on by indication of the on-board LED, but it won't get in sync when it's time to upload. I had an ATMega8-16 ic in it that I had just burned the bootloader to. Uploaded blink &amp; it worked. Tried the matrix, which turned out to have an odd pin configuration, and it stopped working. Put the 328 back in &amp; it still wouldn't work. I had been burning bootloaders onto ATMega8-16PU's (8 or 9 of them) just before that. I don't know if I burned something up while trying to figure out the matrix (got it working after mapping with the &quot;try another pin&quot; method), or from the frustration of burning bootloaders (had a hard time at first) onto those chips placed in the Uno &amp; burned from the Mega 2560. <br>Anyway, I got my noise toy back in action. A shield for this to fit the Mega 2560 would be pretty big &amp; bare, but I haven't had the time to learn how to combine stetches to ad something like sound reactive LEDS and a logger to record the sounds, or whatever.. Maybe some day. <br> <br>Apt
How about a circuit that allows the use of computer speakers like these: &nbsp;The LED doesn't flash or anything. I guess the sound to light circuit would be inside the speaker? Or, separate wires leading to the Arduino shield where there would be a mic? Just thinking. Gotta run. Gonna be late for work.<br> <br> Apt<br> P.S.: I hope my pic shows up. It's my first attempt.
Alright, as long as the speakers have an input place for the speakers then you can hook it up...I'm not sure about the lights. <br> <br>Okay, in the code, change wherever it says DDRB or PORTB or PINB to PORTH, DDRH or PINH...Then repeat the same process. My Arduino software isn't working right now and I need to find my Arduino Mega...
Have you made the shield yet? If you didn't then I might just be able to save you from making a huge blank shield.
No, I haven't. What do you have in mind??
Maybe I could edit the code to not make the buttons and speaker pins so apart. I'm working on it.
Just wondering if you've come up with something for this? <br> <br>Thanks
Cool. Thanks, man. That'll work.
How did you upload the fritzing file when I try to upload it uploads as untitled.fzz
I get it now...check your question on it. I have answered.
My bad...forgot to upload it. It is now done. Enjoy!
Hey blinky. I just read ur comment. &quot; 3 things that catch your attention&quot; Free, amps, and synths. Well I too love those. And I'm sure you know this one. But in case u didn't. Grab yourself an old Cd-rom drive that has the volume control on it. That would be a built in amp inside it. . I'm sure the wattage varies. But I have been dismantling these things and building Headphone Amps for Ipods. Works wonderful. In fact Im sure there is an instructable on here somewhere. <br>Also when your done with the amp there are plenty of other cool parts you can use. The laser for example. Always fun to hook up to one of your synths and create a light show with lasers and old cds. <br><br>Just a thought for some fun.
Hey all! <br><br>Nice to see this - that's really cool.<br><br>On the other side of the spectrum, I KNOW Colin Cunningham ported a whole bunch of Loud Objects code to Arduino, but I can't find it anymore. I searched for a bit, because I thought it would be nice to salvage.<br><br>Here's a little of his work on porting some noise code to Arduino, in the meantime! There's a lot more, somewhere out there.<br><br>http://blog.makezine.com/2008/08/28/arduinoise-beats/<br><br>Kunal
Very cool. It is a bit too quiet but then again I modified it to meet my old circuitry...
Thanks I will check it out very soon.
&quot;use Word to open the code&quot;. That's a joke. Do you think that's the only Editor?<br><br>There are many very nice pure editors for programming. Word is at the very end of the list for things like this.<br><br>Sorry.<br><br>That's a nice projekt. Thank you for inspiration.
No. Its just that at school, I open code with word because it doesn't distort the places of the code. <br><br>You could use Pages...
If you _must_ use a built-in rich-text editor, Wordpad is ideal for this sort of thing. Start-&gt;run type in &quot;wordpad&quot; and hit enter.
I *don't* want to use an rich-text editor. For coding I use Textmate on OS X. For windows there is notepad++ e.g.<br><br>But I can't understand why using Word or Pages for programming.
I don't. I use it to VIEW CODE.
Oh. Sorry. I thought you code in Word.<br><br>That was a little bit unclear.
Its okay.
I use OpenSuse 11.3. It has Gedit. I use that to open code. I then copy it over to my programming software.
Thanks for the code! This quick, fun project made my morning. I already had everything i needed randomly laying on my desk so I was bleeping and blooping in no time. I couldn't get any sound out of it until i realized i needed to use pin 11 for the sound output rather then pin 10. Works great now! I like the last one the best. I renamed it &quot;DoingDoing Bubble Gun of Terror&quot; because it screams every once in a while. :D
Thank you. <br><br>Pin 12 works as well.

About This Instructable




Bio: I love building things and taking pictures. If you want me to build something...I'm open to ideas. My motto? "If you want something ... More »
More by blinkyblinky:Keeping Up Appearances with Chindogu A Complete Beginner's Guide to Raw Files And Raw Processing Hypercard - An Impossible Paper Object 
Add instructable to: