Page 1 of 4
A/B/Y pedal build
Posted: Sun Oct 02, 2022 4:24 pm
by jeremyb
Since I can't train with my broken toe I've got some time to play around with some ideas I've had, the first is an A/B/Y switch for my two amps using a single momentary footswitch to do the switching.
Aha you say, how will that work? well the idea is to use an arduino and a pair of relays to handle the switching, a quick tap to switch between A & B and a longer tap to do the Y.
Will design and 3d print a custom enclosure for it too to make it extra spesh....
Tonights plan is to get it breadboarded and write the code, photos to follow as it happens!
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 5:18 pm
by TmcB
Ooo that’s juicier than I expected
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 6:28 pm
by jeremyb
Breadboarded and code written to do the AB switching, just need to detect a long hold now and the Y will be sorted too!
Not bad for 15 mins work
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 6:38 pm
by MikeC
I've got an Orange Amp Detonator
https://orangeamps.com/products/fx-peda ... detonator/. It has a phase shift button on "A" (for phase matching when "C" selected") and transformer isolation on "A" (which negates potential earth loop issues when "C" selected). Both features are extremely useful.
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 6:42 pm
by FuzzMonkey
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 6:56 pm
by jeremyb
Interesting, thanks!!! I've got the code working now but of course it only switches the long press when you release the button, will check out that library and see if it fixes that issue
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 7:01 pm
by jeremyb
Bahhh have to packup for now, will have a play tomorrow
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 7:11 pm
by FuzzMonkey
jeremyb wrote: ↑Sun Oct 02, 2022 6:56 pm
Interesting, thanks!!! I've got the code working now but of course it only switches the long press when you release the button, will check out that library and see if it fixes that issue
No worries. I'm no expert in terms of coding; I know enough to be dangerous as the old saying goes. But this library makes it
SO EASY for something like a relay-driven A/B/Y box it is almost comical.
Are the relays you are using the non-latching type?
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 7:25 pm
by blackstratblues
Are you planning on transformer isolating the B out?
Would be nifty to ground lift if needed, also you can have a phase switch is super handy.
These ones from Lehle are nice:
https://www.lehle-components.com/en/leh ... -hz-l.html
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 7:28 pm
by jeremyb
FuzzMonkey wrote: ↑Sun Oct 02, 2022 7:11 pm
jeremyb wrote: ↑Sun Oct 02, 2022 6:56 pm
Interesting, thanks!!! I've got the code working now but of course it only switches the long press when you release the button, will check out that library and see if it fixes that issue
No worries. I'm no expert in terms of coding; I know enough to be dangerous as the old saying goes. But this library makes it
SO EASY for something like a relay-driven A/B/Y box it is almost comical.
Are the relays you are using the non-latching type?
The relays have a seperate V+ and GND and then signal inputs for each relay, handily they have NO & NC contacts too
Re: A/B/Y pedal build
Posted: Sun Oct 02, 2022 7:29 pm
by jeremyb
I have a dual transformer isolator box if it proves to be noisy, if I ever decide to make something to sell I could add those features
Re: A/B/Y pedal build
Posted: Mon Oct 03, 2022 8:53 am
by jeremyb
BTW the reason I'm documenting this whole process on here is because its to keep me progressing, peer accountability? Seemed like a good idea
Re: A/B/Y pedal build
Posted: Mon Oct 03, 2022 9:34 am
by Bg
any progress yet?
Re: A/B/Y pedal build
Posted: Mon Oct 03, 2022 9:36 am
by jeremyb
Bg wrote: ↑Mon Oct 03, 2022 9:34 amany progress yet?
Too much pressure I’ve given up.
Re: A/B/Y pedal build
Posted: Mon Oct 03, 2022 10:33 am
by jeremyb
If that library doesn't support it I think I have figured out a way to make the long press work without releasing, at least in my head, just might require some extra state to be stored...