Wahduino - WahWah by Shaking/raise the Guitar




Click for Youtube Video

Here comes an alternative way to control your WahWah without the foot at the pedal.

The centerpiece is an Arduino with 6DOF Sensor controlling a digital potentiometer

that replace the mechanical pot from the WahWah pedal.

I use the electronic from an old WahWah pedal. Of course you can build you own

WahWah electronic, you only need a fistful of standart electronic parts but this is not

part of this instructable.

The whole system took place in the poti/switch cavity from my old E-guitar

Step 1: What You Need

  • Arduino ProMini 3,3V + FTDI USB programming adapter
  • ADXL345 accelerometer on breakout board

  • ITG 3200 gyro on breakout board
  • MCP 4151-104E/P Digital Potentiometer with DIP8 socket

  • some small wires
  • 9 Volt clip and battery

Step 2: Schematic

I place the sensors on the backside of the arduino and wiring all directly to keep it small,

look at the schematic for the other connections and don't forget to remove the WahWahs' Poti and

connect the three pins to the digital pot.

Step 3: Code

Via the FTDI programmer you could upload the attached code to the Arduino.

You first have to install the Arduino IDE and add the attached IMU library.

Choose the right com port and arduino in the IDE.

If you have an older Arduino ProMini with the ATmega168 instead of 324 i think it should also work

because the code is less than 16kbyte. Be shure to use the 3,3V Version if the sensors work with 3,3V.

For 5V Arduinos you need a logic level converter.

Step 4: All Together

DIY Audio and Music Contest

Participated in the
DIY Audio and Music Contest



    • Classroom Science Contest

      Classroom Science Contest
    • Pets Challenge

      Pets Challenge
    • Growing Beyond Earth Maker Contest

      Growing Beyond Earth Maker Contest

    7 Discussions


    1 year ago

    Hi, I'm trying to do the same thing with a similar Digital Potentiometer MCP 42100, but when the Wah is On I hear only noise which is sound like it going through the Wah effect. I think that the problem is in voltage difference between DigiPot and Wah Circuit. Can you please explain how you solve this?


    3 years ago

    Did this work seamlessly the first time? What problems can someone expect?


    4 years ago on Introduction

    Nice work! I made a similar angle-sensing guitar pedal last year on Kickstarter (and Munchaudio), but I like how you built it into the guitar body. I use MPU6050's instead of the ADXL/ITG combo, their DMP is great for reducing latency. If you or anyone else is interested I'll post an instructable with code. Always great to see more sensors in instruments!

    1 reply

    Reply 4 years ago on Introduction

    Yes, always interested in such things, post an instructable !

    What a shame that the kickstarter project wasn't refund.

    You did a nice work with the MunchBox !


    4 years ago on Introduction

    This is a clever idea. Wahdaya suppose wahficionados like Hendrix wahd think of this? Seriously, incorporating micro controllers and sensors into instrument effects is going to expand the spectrum of nuances that players can draw from.


    4 years ago on Introduction

    Wow.. awesome concept and looks great...
    think we could get a working video?


    4 years ago on Introduction

    Hahahaha awesome! I love it! Now I only wish that I played the guitar. I guess that I'll just admire from afar!