Instructables

Arduino Guitar Pedal

Featured
Picture of Arduino Guitar Pedal
main2.jpg


The Arduino Guitar Pedal is a digital multi-effect pedal based upon the Lo-Fi Arduino Guitar Pedal originally posted by Kyle McDonald. I made a few modifications to his original design. The most noticeable changes are the built-in preamp, and the active mixer stage which lets you combine the clean signal with the effects signal. I also added a sturdier case, foot switch, and rotary switch to have 6 discreet steps between the different effects.

The cool thing about this pedal is that it can be endlessly customized. If you don't like one of the effects, simply program another one. In this way, this pedal's potential is largely dependent upon your skills and imagination as a programmer.
 
Remove these adsRemove these ads by Signing Up

Step 1: Go get stuff

Picture of Go get stuff
You will need:

(x1) Arduino Uno REV 3 (Radioshack #276-128)
(x1) Make MakerShield Prototyping Kit (Radioshack #276-138)
(x3) 100K-Ohm Linear-Taper Potentiometer (Radioshack #271-092)
(x1) 2-Pole, 6-Position Rotary Switch (Radioshack #275-1386)
(x4) Hexagonal Control Knob with Aluminum Insert (Radioshack #274-415)
(x1) TL082/TL082CP Wide Dual JFET Input Op Amp (8-Pin DIP) (Radioshack #276-1715)
(x2) 1/4" Stereo Panel-Mount Audio Jack (Radioshack #274-312)
(x4) 1uF 63v capacitor (Radioshack #55047191)
(x2) 47uF 16v capacitor (Radioshack #55047280)
(x1) 100pF 50V 10% Hi-Q Ceramic Disc Capacitor (Radioshack #272-123)
(x1) 0.082µf 100V Mylar Capacitor (Radioshack #55046837)
(x1) 5pf 50V Ceramic Disc Capacitor (Radioshack #55047529)
(x6) 10K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #271-1335)
(x2) 1M Ohm 1/4-Watt Carbon Film Resistor (Radioshack #271-1356)
(x1) 390K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #55049555)
(x1) 1.5K Ohm 1/4W 5% Carbon Film Resistor (Radioshack #271-1120)
(x1) 510K Ohm 1/4W 5% Carbon Film Resistor (Radioshack #55049227)
(x1) 330K Ohm 1/4W 5% Carbon Film Resistor (Radioshack #44049468)
(x1) 4.7K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #271-1330)
(x1) 12K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #55049436)
(x1) 1.2K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #55049409)
(x1) 1K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #271-1321)
(x2) 100K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #271-1347)
(x1) 22K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #271-1339)
(x1) 33K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #55048044)
(x1) 47K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #271-1342)
(x1) 68K Ohm 1/4-Watt Carbon Film Resistor (Radioshack #55049451)
(x1) Heavy-Duty 9V Snap Connectors (Radioshack #270-324)
(x1) 90-Ft. UL-Recognized Hookup Wire (Radioshack #278-1221)
(x1) Enercell® Alkaline 9 Volt Battery (Radioshack #25-853)
(x1) Box 'BB' Size Orange Powder Coat (Small Bear #0301G)
(x1) DPDT Stomp switch (Small Bear #0203)
(x1) 1/8" x 6" x 6" rubber mat
(x1) 1/8" x 12" x 12" cork mat
lhörstyesterday

I'm not 100% sure where i'm supposed to be wiring the input and output jacks to, unless it doesn't really make a difference. I have them on either side of the pushbutton but it doesn't appear to make a difference which side i connect them too.

I'm also testing mine with an oscilliscope and a function generator, if you could tell me what i'm supposed to be seeing to make sure i did it right that would be awesome!

Nithrate14 days ago

Have you tried using a Bass guitar instead of a guitar? It just sounds too fuzzy

danejo3 months ago

For those of you having trouble following the corrections needed to make the pedal work, here is a veroboard layout I made. With this you can also create the circuit without the Arduino shield.

ard2.png
I've been following this tutorial and I've some issues with the code, I already changed the "WProgram.h" and "WConstants.h" with "Arduino.h" but I still get some errors:

dsp.cpp: In function 'void output(int, short int)':
dsp.cpp:23: error: 'OCR2B' was not declared in this scope
dsp.cpp:24: error: 'OCR2A' was not declared in this scope

I'm using Arduino 1.0.3 and my board is an Arduino Leonardo

i have the same problem but start's with analogWrite not declared in scoop

use version 20
STARDEMOS3 months ago
HI
THANKS FOR SHARING THIS PROJECT..

I CANNOT DOWNLOAD THE CODE. CAN YOU HELP ME?
jwestenberg4 months ago
I really want to make this, but since there are so much revisions that are only mentioned in the comments I don't think I can get it to work. I think it would really help if this instructable would be revised or someone would make a new working instructable.

cheers
aballen5 months ago
Can I use a TL072 for this(I have these on hand)
randofo (author)  aballen5 months ago
I see no reason why it should not work, but I cannot be 100% certain.
aslaine5 months ago
hello there i'm currently trying to make this project but whenever i try to verify the code and then upload it to the arduino it gives me errors...Does anyone has the same problems as me or knows what to do?
fightdu5 months ago
i have been searching for octive pedel coding specifically down or bass octive .also does it matter if i use arduino mini or ,nano ?
aloriedo6 months ago
Ok guys, I'm plannig to build this pedal... But, how does it actually sounds? And is it easy to build? Can I use my Arduino Leonardo to build it?
X1L37 months ago
I think the only reason most of your projects aren't working is because you're uploading the code with a later version of arduino. I just spent the afternoon on this and like a lot of others i had clean audio but no output from the atmega. So i downloaded arduino 0020 and uploaded the code with that. No need to rename libraries etc. Just open the code here and that's it. Providing your circuit is ok it'll work. It's very very dirty and very lo-fi. Which is cool by me. Awesome for synth basslines and drums. Stick a clean 808 through it and you've got instant raggacore.

Hope this helps. I spent hours going over the circuit, swapping chips, trying different caps and resistors etc. This is all it was though.

improCJB7 months ago
Hey there! I am currently working on building this pedal. I have a question about it and I was hoping I could get some feedback or clarity of information. My question is, what do the 3 potentiometers and the rotary switch do. Like what are their functions when the pedal is up an running? If you shed light on this subject that would be very helpful and greatly appreciated! Im looking forward to creating this pedal!
jservin18 months ago
Hi,
I have made this with a breadboard and I get no effects running through. I am using the arduino rev 3 and tried using arduino 20 as well. I get clean guitar through and have checked all my wiring and polarity on the breadboard, everything looks good. I am thinking either the arduino is deffective or the code isnt processing right even though I followed all the instruction to the T. I even changed Wprogram.h and Wconstants.h in the code. Is there anything i am missing that should be done to the code specifically for a rev 3 arduino?
jreeg9 months ago
I recently finished putting everything together, and I get no sound out of the arduino. I've checked and re-checked my connections according to the schematic with a multimeter, and everything looks to be in order, but still I get nothing.

Is this a software problem? I only modified the Wprogram.h and Wconstants.h to both be arduino.h in the code.

Would soldering the resistors in the wrong order on the rotary switch cause a problem? Because that's the only other thing I can think of.
CyrilHaumont10 months ago
Hi,
Great work, I'm doing mine version of this guitar pedal with a different preamp and output, but i have just one problem :
I can't find Wprogram.h and Wconstants.h, i read all comments and nobody seems to have this probleme.
Is it about my version of arduino ide ? (i didnt dl version 20 yet)
replace both with "Arduino.h" and it should take care of the problem
csmith15210 months ago
Hi, so I have put together the circuit and and I am in the process of testing it. I am getting a clean signal out, however it seems as tho no effected signal is being sent from the Arduino. Can anyone offer me any help? I am not sure if the rotary switch is doing nothing because there is no effected signal coming out but having a little issue with that as well.

I have worked on including a small display to show which effect is selected. I got the rotary switch to work with the display without including the audio/op amp. However when I include the display with the rest of everything it does not work.
I am more concerned about getting the effects to work more than the display.

Any help is much appreciated!!!
BassPab10 months ago
Can you also use this for your bass?
jchhebson11 months ago
I don't know why, but I'm still unable to find the template to download.
BenBurge11 months ago
What exactly do each knobs/rotary switch do? You do an awesome job coving the build part of the project, but i'd really love to see the final product!
jreeg11 months ago
I'm going to be putting this together in a few days when the parts come in the mail, and I noticed that the templates for all the drilling on the project box and for cutting out the brackets aren't actually attached to their steps. Just something I thought you might want to know. Thanks!
Richard Zusak11 months ago
I hear the clean sound, but none of the fx effects. Even I try to make the program with only one effect without array, but doesnt seem to work. Also I tried to change the resistors and capacitors and others things as said in the comments below but nothing. Any idea of what can it be? Thanks for reading.
randofo (author)  Richard Zusak11 months ago
Which effect are you trying?
BenBurge11 months ago
Would this work with the Arduino Nano?
I'm thinking of building on internally!
Richard Zusak11 months ago
Is it necessary a preamp for this project? I actually have the same issue as everyone here about the clean sound, Does any one have found a solution?
randofo (author)  Richard Zusak11 months ago
The TL082 is the preamp. Everyone is having different problems. Can you be more specific. Are you hearing or not hearing clean sound?
ianfantry11 months ago
Does anyone know if this works with the Rev 2 board? I've constructed the circuit, but I am having trouble generating the effects. I am getting a clean signal to my amp so I know the preamp stage is working. Anyone else having this issue with a Rev 2?
Probably a lot easier thatn all the other ones....
can a single pole rotary switch be used for this?
Brilliant. Thank you so much, I am building a pickup replacer pedal at the moment I'll post the results when done.
keltroth1 year ago
Small Bear links are broken
Box : http://www.smallbearelec.com/servlet/Detail?no=718
Stomp switch : http://www.smallbearelec.com/servlet/Detail?no=23

Very nice Instructs !!

Thank you !
Brewdawg2 years ago
Please forgive my ignorance, but where is the template for drilling the holes? It's not in the full pdf file and I don't see a link.

Humbly,
Mike
randofo (author)  Brewdawg2 years ago
Ack. I forgot to upload it. I don't have the file on this computer, but I should be able to get it online tomorrow.
Also the file for the fritz.??? any chance you can upload that?
randofo (author)  athompson2112 years ago
It is already attached to Step 8
yes it is but when i click on it, it doenst pull anything up but a much of gibberish!
randofo (author)  athompson2112 years ago
It is probably getting renamed. Just rename it back to ArduinoPedal.fz
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!