A/B/Y pedal build
Moderators: Slowy, Capt. Black
- jeremyb
- Chorus of Organs
- Posts: 41336
- meble-kuchenne.warszawa.pl
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
A/B/Y pedal build
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!
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!
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- TmcB
- I may have a problem
- Posts: 7744
- Joined: Fri Aug 22, 2008 12:17 pm
- Location: Kapiti
- Has liked: 661 times
- Been liked: 566 times
Re: A/B/Y pedal build
Ooo that’s juicier than I expected
Family Music Store - http://familymusic.co.nzGrantB wrote:Tony, your taste is, as always, very refined. Or as HG would say, "bloody awful".
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
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
Not bad for 15 mins work
- Attachments
-
- FBC118A4-FD34-4BF5-BA25-E805459D51AC.jpeg (4.31 MiB) Viewed 2506 times
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- MikeC
- Vintage Post Junkie
- Posts: 2976
- Joined: Fri Sep 12, 2003 5:43 pm
- Location: Red Beach, Auckland
- Has liked: 1324 times
- Been liked: 883 times
Re: A/B/Y pedal build
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.
Whakanuia o mea kei a koe
- FuzzMonkey
- Gibson
- Posts: 622
- Joined: Fri Nov 06, 2020 7:25 pm
- Has liked: 518 times
- Been liked: 412 times
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
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 issueFuzzMonkey wrote: ↑Sun Oct 02, 2022 6:42 pm This library might be of some use:
https://github.com/mathertel/OneButton
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
Bahhh have to packup for now, will have a play tomorrow
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- FuzzMonkey
- Gibson
- Posts: 622
- Joined: Fri Nov 06, 2020 7:25 pm
- Has liked: 518 times
- Been liked: 412 times
Re: A/B/Y pedal build
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?
- blackstratblues
- Gibson
- Posts: 716
- Joined: Thu Jul 14, 2005 1:34 pm
- Location: West Auckland
- Has liked: 415 times
- Been liked: 488 times
Re: A/B/Y pedal build
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
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
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
The relays have a seperate V+ and GND and then signal inputs for each relay, handily they have NO & NC contacts tooFuzzMonkey wrote: ↑Sun Oct 02, 2022 7:11 pmNo 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?
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
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 featuresblackstratblues wrote: ↑Sun Oct 02, 2022 7:25 pm 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
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
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
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- Bg
- Site Admin
- Posts: 43348
- Joined: Fri Sep 05, 2003 12:13 am
- Location: Auckland
- Has liked: 2269 times
- Been liked: 3924 times
Re: A/B/Y pedal build
any progress yet?
So, is that low alcohol or no alcohol at all? mmmm, no alcohol, do you want to try it? Noooooooooo.
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.
- jeremyb
- Chorus of Organs
- Posts: 41336
- Joined: Sat Dec 06, 2008 9:03 am
- Has liked: 7779 times
- Been liked: 4206 times
Re: A/B/Y pedal build
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...
Slowy wrote: That's the problem; everything rewarding is just such hard work. Regret takes much less effort.