I’ve made easily an expression pedal input with this tutorial :
It works perfectly for TRS expression pedals !
But I would like to use my Ernie Ball VP (like I use to with my timefactor, even my line6 DL4 years ago), so I thought about making a voltage divider and reading the A0 input and calculate the ErnieBall resistor with simple math. I can’t see how should I modify the code to make the arduino make this math, does anyone could help ?
My Ernie ball has a 25kohm pot, so I’ve put a 22kohm resistor between the ground and the tip-jack… I may be wrong there too ?
The modified build :
- +5v adriono → sleeve jack
- ground → 22kohm resistor → tip-jack
- tip jack → A0 input of the Arduino duo