Commercial units are available, but buying one is (a) more expensive and (b) much less fun. I did consider using a low-cost Arduino Pro Mini with a cheap Bluetooth interface, but it's hard to implement the HID interface required, and so I settled on using the Adafruit board instead.
Let's get on with it.
Step 1: Gather your gear
- 1 off Laney double foot pedal
- 1 off Adafruit Bluefruit EZ-Key (info here)
- 1 off 16mm OD SPDT switch, latching, with blue LED
- 1 off 12mm OD SPST switch, momentary, with red LED
- 2 off momentary footswitches
- 1 off PP3 battery connector
- 1 off PP3 battery
- 2 off 1k0 resistors
- some PCB pins
- some 0.1" connector shells
- connector teminals to fit above
- stranded hookup wire
- double-sided automotive tape
Step 2: Hack your case
The Laney box has heavy-duty foam stuck to the bottom, and this has to be removed where it overlaps the join in the case. The second picture shows the foam having been cut away.
Once the case is open, the jack cable is removed and the PCB with existing switches is taken out. Now would be a good time to open up the mounting holes for the two switches. I put mine in the back of the case, but I did this a little later which meant taking the footswitches out again.
The new switches are then fixed in place.
Step 3: Wire the switches
Each switch will have a pair of LED terminals. An appropriate resistor will be required to drop the voltage and limit the current across the LEDs. I used 1K for both of mine.
As you can see, the limiting resistor for my ON/OFF switch goes straight from the switched side to the LED. I've taken the 9V supply from the battery directly to the switch.
All wires for the PAIR switch go to the Adafruit Bluetooth EZ-key.
There is heatshrink sleeving on every terminal for robustness.
Step 4: Mount the hardware
I then cut a strip of double-sided automotive tape to secure the EZ-key in place. I did the same for the battery, making sure it wouldn't foul the case when reassembled.
Step 5: Connect up
Connecting up is pretty straightforward.
In this image:
- the footswitches are connected to '0' and '1 on the EZ-key, as well as to ground (brown, blue, black wires);
- battery 9V through the switch to 'Vin' (red wire);
- battery 0V to 'G' (black wire);
- Power switch LED +ve to Vin via limiting resistor
- Power switch LED -ve to 'Grounds' (black wire);
- PAIR switch contacts to 'PB' and '3V' (white wires);
- PAIR switch LED +ve to 'L2', -ve to 'Grounds' (red, black wires).
The PAIR switch LED has a limiting resistor soldered onto the end of the connecting wire - see image.
The third, rather poor image shows the connections in place.
25 Nov 2014 - I have added a circuit diagram.
Step 6: Done Deal!
The blue LED came on with the power, and the red LED started flashing at about 1Hz, showing the device as discoverable. I paired with my tablet, pushed the PAIR button and that was it - it just works.
Adafruit's guide to LED meanings is below.
My pedal was simple and did the job.
There's an exhaustive guide to the EZ-key module and to reprogramming output here.