Instead of chaining multiple guitar effects in search of a new sound, I decided to mod just one. Using an Arduino microcontroller board + digi-pot chip (MCP41100), I was able to add a variable gating effect to a fuzz pedal fairly easily. I definitely dig the resulting sounds and a bit of rewiring should reduce the unwanted noise in the output. Switching to the MCP42100 would allow control over a second pot – perhaps the volume control for a tremolo effect.
You can find the “WavePot” sketch I used (including the necessary wiring list) here.
Download the m4v file or subscribe in iTunes



Very cool!
Also, sweet riffs!
Great idea, I’m totally doing this. I can envision a stand-alone device like this and putting a bunch of connections on various pots on various pedals, the device could have an input for and expression pedal, an array of variable resistors to select from as well as the wave-modulating.
that would be cool – if one settled on a standard (banana jacks?) and added similar ports on all their applicable gear – modular, reconfigurable hacking/bending sounds sweet.
I was thinking of maybe 1/8″ stereo jacks for each pedal pot I might want this used with, that would cover the 3 connections and they’re small enough to put almost anywhere.
Got some MCP41100′s in from DigiKey today ( in Toronto ) I’ll give this a go on the weekend hopefully.
Collin, you rock! What a cool project, and so manny possibilities!
Awesome project, Collin. You should check out the fatmanandcircuitgirl episode where George modulates some of his gear using a wave generator. Not to detract from what you’ve done. Instead, I think it’s exciting that we can do this sort of modulation with small, inexpensive, reprogrammable modules instead of needing gigantic rackmount modules tied together with patch cables.
I think that microcontrollers are the future of stompboxes.
sounds cool – I’ll check out the vid!
I think there’s still so much we can make using inexpensive combinations of analog + digital. The contrasts that show up when you combine the two are fascinating by themselves.
I am in the process of making a rack wah controlled from a midi foot controller that I built myself with an Arduino Mega. I was originally going to just put the guts of a Morley wah in the rack and control the LED from a second arduino, but then I found a circuit board that models the old Vox wahs, just add your pot and jacks.
Seeing you use a digi-pot in this application gave me the idea to try one for the wah circuit instead of a LED and photo-resistor…
this is great. lots and lots of ideas. been wondering how these digital pots work too…
anyone know where to get a 500k digital pot? looked on digikey and mouser but no luck….
you just match the digital pot value with the pot you are replacing right?
thanks.
Great project idea. Opens so many possibilities. Thanks.
Am I missing something? When I click the link, I get a zip file with the arduino code. But no wiring diagrams. No sketch.
I’d love to get involved with any discussions involving the modular design (stereo mini-plug, or banana plugs). Especially as it pertains to the idea of being able to use the plug to override the analog pots. If the conversation moves off the board, please let me know how to stay in the loop.
Question: Can the design include amplitude control? It would be nice to control the amount of modulation. With “waveform selection”, “rate” and “amplitude” controls, the versatility would be out of sight.
If you were to use the 42100 design to control two parameters simultaneously, separate amplitude controls might be necessary. How difficult would that be?
Thanks for letting me spew a couple of the ten thousand questions that this wonderful project has inspired in me. I look forward to hearing other people’s ideas.
The link takes you to a .zip file which has the all of the code in it. The code tells you where to hook everything up.
Hi,
I’m trying to replace a wah pot by a digital one but I get the same added noise that we can hear in you’re video (high pitched hiss).
Seems to me that it comes from the SPI clock.
How did you got rid of it ?
Eddy
How do i increase the pitch in music without the digipot chip
can you tell me the source code
Very cool idea modding a guitar pedal with Arduino. I want to emulate this experiment for a project at school this week, but im new to digital electronics and know basically nothing. I have copied almost exactly what you’ve done here, with one small modification. Im using a 250k pot instead of the 100k pot you used, because I had one on hand. Any idea on what kind of alterations would need to be made to the sketch in order for this setup to work properly? Im getting results, but not like you did. The wave is super slow, and turning the pot makes no noticeable difference to the signal. I appreciate your help.
You shouldn’t have to make any changes to the sketch when using a 250K pot. Have you tried double-checking your connections? The middle lug of the pot should be connected to Analog pin 1, while the other 2 should be connected to 5V & GND respectively (ie – left to GND, right to 5V)
If possible, post a link to pic of your setup.
another place you can get the MCP41100 is here: http://www.microchipdirect.com/ProductSearch.aspx?Keywords=MCP41100
In reviewing the sketch for Arduino, it seems like there arrays of hexi-decimal values (the so-called “wave tables”) that can be sent to the potentiometer in sequence, thus creating a “low frequency oscillator”. It seems that on each pass of the loop the next hexi-decimal value is arrived at by adding 1 to the value of the index for the array that holds the hexi-decimal numbers (in the sketch that incrementing of the index seems to be represented by “i++”).
My question is how and when does the index of the array loop back to index 0?
Also, the variable ‘rate’ is defined as an integer, but it is being assigned hexi-decimal values. I am guessing that the Arduino software automatically translates the hexi-decimal values into integers. Is that right?
I am also wondering what modifications would need to be made to controll multiple digital potentiometers simultaneously (using for example a AD5206 which has 6 digital potentiometers built in).
“Also, the variable ‘rate’ is defined as an integer, but it is being assigned hexi-decimal values. I am guessing that the Arduino software automatically translates the hexi-decimal values into integers. Is that right?”
I’m curious about this as well. The rate does not seem to actually be a rate in milliseconds, but rather how fast it steps through the 256 “wave table” arrays. Is there an easy conversion from the “rate” to the actual rate in milliseconds?
In reviewing the sketch for Arduino, it seems like there arrays of hexi-decimal values (the so-called “wave tables”) that can be sent to the potentiometer in sequence, thus creating a “low frequency oscillator”. It seems that on each pass of the loop the next hexi-decimal value is arrived at by adding 1 to the value of the index for the array that holds the hexi-decimal numbers (in the sketch that incrementing of the index seems to be represented by “i++”).
My question is how and when does the index of the array loop back to index 0?
Also, the variable ‘rate’ is defined as an integer, but it is being assigned hexi-decimal values. I am guessing that the Arduino software automatically translates the hexi-decimal values into integers. Is that right?
I am also wondering what modifications would need to be made to controll multiple digital potentiometers simultaneously (using for example a AD5206 which has 6 digital potentiometers built in).
The AD5206 is the pot that is on the arduino tutorial, but I have a question: can it handle different pots KOhms values? a normal guitar pedal normally has pots of different values, can this work with all of them or do I need one with he specific value of the analog pot that I’m replacing?
I’m also curious about this. Would love some part numbers for some 25k and 50k digipots as well. Seems like you would lose some accuracy if you just used 100k for everything.
Is there a way to take out the noise (popping/clicking)?
This is a great start, but unusable with the popping.
Pingback: MAKE | GuitarExtended Uses Arduino and PD to Control Effects
Pingback: GuitarExtended Uses Arduino and PD to Control Effects | House of Mods
Pingback: GuitarExtended Uses Arduino and PD to Control Effects
Pingback: GuitarExtended Uses Arduino and PD to Control Effects | Free Plans Online
Pingback: GuitarExtended Uses Arduino and PD to Control Effects | TransAlchemy
Pingback: Collin's Lab: Guitar pedal modding with Arduino / Cooking Hacks Blog
// What's Trending
Raspberry Pi Design Contest
Dad Builds Son an Iron Man Arc Reactor
Seventeen Sneaky Secret Hides
What to do with an 800 Lb Eucalyptus Slab
Teardrop Camper Trailer
10 Things to Connect to Your Raspberry Pi
80-Ruxpin Art Installation
Lego Steampunk Strandbeest Model
// What's Shared
A better way to slice a pumpkin
DIY Nerf Darts
100 Dollar Store Organization Ideas for Craft Rooms and Beyond
In the Maker Shed: Minty Boost USB Charger
Mad’s Mouse House
Lace Princess Crowns
I Have a (Puzzling) Dream
Play the Rings of a Tree Trunk Like a Record
// Most Commented
Plastic Bags into Plastic Blocks: Revisited
10 Hot New Boards to Watch
Why the Maker Movement is Here to Stay
MAKE Asks: Roadside Hacks
Ten Tips for Hand Saws and Blades
DIY Hacks & How To’s: Convert From Battery Power to AC
How To Make Your Own Laundry Detergent
What to do with an 800 Lb Eucalyptus Slab
Trending Topics
Get our Newsletters
About Maker Media
Subscribe
to MAKE!
Get the print and digital versions when you subscribe