Table of Contents

This page is under construction, and I suspect that it will never reach completion, but I'll try to get it the closest possible to completion.

August 2009 update: I'm currently implementing (i.e. making) the project. The final design is very close to what I'm describing here, but not entirely. When I finish it and if the results are good, I'll try to do a global update.

About me

Okay, so my nickname is Wicked Blade. That's a bit lame but that's what I came up with one day that I needed something vaguely warrior-like to play Unreal Tournament. But this is irrelevant.

So. I'm 30-ish and what brought me to the MIDIbox community is one of my favourite passtimes: playing the guitar. I'm a rock/hard rock electric guitar player and I was looking for a way to interface my gear together. Since I've done a couple DIY stompboxes, going the DIY way was an option. And since I couldn't find anything that does what I need, and the things that somewhat do it are very expensive, I thought, why not do it myself, and here we are.

So what are my needs? Well, you have to know what gear I have to understand that. Aside from the guitars, I'm equipped with:

So I need something to switch presets for my MP-1 and Replifex, and also to activate/bypass my stompboxes without having to learn tap-dancing.

That's were I discovered MIDIbox, and most particularly the Pedal Box / Pedal Board projects. These are neat, and very close to what I want, but not quite it, so here is another take on the pedal board / fx looper project.

One final thing about me: I work as a software development engineer, so I'm really not afraid of the programming part, I eat C/C++ at breakfast. I'm much more of a noob on the electronics side, but I'm learning!

My pedal board/looper project

I guess I need a better name for it… I've always found the Street Fighter game series naming amusing, so I think I will go with “Pedalboard EX+ alpha”. Well, why not? So, PBEX+a for short.

This is the link to the forum thread I've started on the subject: Yet another pedalboard variation

Inspirations

Here are links to sites and pages that I'm borrowing ideas from:

Other sources of inspiration, though not directly linked to loopers and pedalboards:

Pedalboards that resemble what I'm doing here:

Major design changes

Since the beginning of the project, a few things have changed, listed here:

User needs

What I want is a pedalboard that handles banks of 5 patches, plus an additionnal tap tempo footswitch, and 4 additional custom control footswitches (more on that later).

So I need a total of 12 footswitches:

A draft for the footswitches placement will come soon.

Additionnaly I will need an interface for edition. I think 2 buttons (edit/cancel and store) and 2 rotary encoders should do it.

The pedalboard will send program change commands to MIDI devices, and will activate/disable loops. The loops are of the most basic types: the order is fixed, so I need only a send/return pair of jack for each loop. I don't need the more complicated loops found on some commercial hardware. I'm aiming for 8 or 10 loops, depending on the room I'll have on the chassis. Aside from the loops, the unit will also provide an input and an output buffer (based on Jack Orman's), which can be disabled/enabled at will just like the loops.

The board will also feature a channel switching input jack, to command non-MIDI amps, and 2 inputs for expression pedals. The channel will be selectable on a per-patch basis. Likewise, the control assigned to the expression pedals will be customizable per-patch.

Custom controls (Cx)

So how do the custom controls footswitches work? Basically, for any patch, you can specify that the custom controls will toggle the state of any of the loops, and you can specify MIDI controller change commands to be sent when entering and leaving the custom control state (you might want to specify different parameters upon entering and leaving, so there is room for that). You cannot, however, send program change commands. The Cx would typically be used to enable/disable effects on my Replifex.

I like this idea, because it offers the same kind of flexibility as having a switch for each and every loop, but in a smaller package. I doubt that I would need more than 2 custom controls. I will probably go up to 4 custom controls, since I have some room left on the chassis for 2 more footswitches, but I don't think they will be that necessary.

Edition mode description

To do.

Chassis

I originally wanted to go with built-in expression pedals, but couldn't find a ready-made box that was big enough. So I decided to go with only the footswitches and input jacks to plug commercial expression pedals. Looking at commercial pedalboards (e.g. Rocktron All Access) and my own Zoom GFX-8, it looks like the footswitches have to be about 70mm apart to accomodate for regular foots.

The box I chose is the Hammond 1441-26 (with cover 1431-26). It is a gray-painted steel box, 1mm thick, and its dimensions are 406x203x51mm. I'm hoping it will be sturdy enough… There's also a similar offer, made of aluminum, the 1444-26/1434-26, but I'm worried that it won't be as sturdy (though easier to drill).

With this box, I can fit 2 rows of 6 footswitches. The first and last fswitches in the row are 28mm away from the edge, and the footswitches are 70mm apart. I'll try to post a drawing sometime.

Also, I need to think about the space needed to fit the female jack connectors. Measures on both my MP-1 and my GFX-8 show that you need an area of about 20x20mm to fit a female jack connector. That means that I won't be able to fit all 20 of my connectors in a row on the backside of the unit, not if I want to keep some space to fit the other connectors (power supply, MIDI connectors, etc). Fortunately, the unit is deep enough (51mm) that I can fit 2 female jack connectors vertically! Having them paired vertically (send on top of return) isn't very nice and not easy to handle, I think, so I'm going to put them in a quincux disposition, with the input on top, and the output on the bottom, slightly displaced on the side (say, 5mm). All in all, this means I can fit 10 loops in a 205mm wide area (plus keeping a 5mm or margin from the edge). Much better than the initial 400mm! Also, the quincux disposition may help keep the box sturdy. I'll put the main input jack connector on the left side of the unit, this saves a bit more space on the backside and seems more a more logical place to me.

All in all, I still have about 200mm (406-205) to fit the remaining connectors (from right to left, when looking from behind):

This takes about 130mm.

I'll have to be careful with my measurements, but this should work.

Possible relays

All relays are DPDT, non-latching types. Also, I'm only considering 5VDC types because that's what the MIDIBox CORE module is able to provide through the 7805 power regulator. Choices:

The NEC ED2-5NJ looks promising because it's power effective, and since I need to power 12 relays (possibly all at once) I may find myself with power supply problems. My only concern is whether it is suitable for audio needs (mainly noise problems), but I'm thinking this should be okay, because the voltage is DC and the intensity is low, which means that there shouldn't be much electromagnetic noise, if at all.

I'll feed the relays according to this document found on this very site (thanks to flo).

NOTE: I think I read somewhere that there was a way to avoid the clicking sound when a relay is switched on, but I can't remember how, nor where I read it. I'll have to investigate… Ah, found it. It was on Geofex, but this can't apply here because it was on a schematics using single transistors, so it doesn't work as is with darlington pairs. Maybe the darlington pairs are somehow designed to handle this too? I'll see how that works when the project will be finished…

The channel switching relays should be simple 5VDC SPST (normally open) relays. I found the Omron G6L-1P-DC5 to be a likely candidate. The coil current is 36mA (much higher than the NEC ED2-5NJ, BTW) and it looks able to withstand the 12V signal that, say, Mesa Boogie uses. I'm going to use it for Fender amp switching, though, so that's not a concern for now.

I had a hell of a time trying to understand how to wire the relays to the ULN2803. Some schematics seemed to imply that I should wire a diode parallel to the relay to avoid backlashes to the transistors in the array when a relay is suddenly switched off. After studying the matter for a very long time (along with the fact that some schematics had said diode wired backwards), I found out that this is exactly what the “common free wheeling diodes” pin on the ULN2803 is for (this is how the STM datasheet for the ULN2803 labels the pin). This explains why on the Relay example from MIDIO128, pin 10 (COM, the aforementioned “common free wheeling diodes” pin) is wired to V+!

MBHP modules

Based on the features of my box, I've determined that I will need:

Here is the detail of what is going to be connected to the DIN/DOUT.

Digital inputs:

This amounts to a maximum total of 20 digital inputs max.

Digital outputs:

This makes for a total of 40 outputs, so I need one DOUTx4 and one DOUTx1.

Please note that there will also be status LEDs showing which loops/buffers are activated, but these will be wired in parallel with the relays, so they don't need more outputs. But I may use specific outputs for these anyway, because I may use separate output registers for the relays, which may help reduce noise. In that case we would have:

That makes for 52 outputs rounded to 32+24, so a DOUTx4 and a DOUTx3.

Memory

Even being conservative, it appears that I can easily get away with 32 bytes per custom control, and then 256 bytes per patch is more than enough. I'm planning for 16 banks of 5 patches, so that would mean 5*256+256 bytes (1536 bytes, including 256 bytes for bank data) per bank (more than enough), and in turn 24576 bytes for the whole mess, that is 24kb if you prefer. Even if I got up to 32 banks, that would mean 48kb, to which I have to add a couple more bytes for the global parameters.

All in all, this shows that one 24LC512 chip of 64k will be more than enough. Mouser proposes this with part number 579-24LC512-I/P, that's perfect. The 579-24LC512-E/P works to, but I don't think I need its superior working temperature max (125°C instead of 85°C). It can't hurt, though.

Power supply

Based on the parts_faq, I think that the MPHP modules will, at worst, consume about 640mA (at 5V). To this, I have to add the consumption of the various LEDs (including the 7-segment digits) and, most of all, the relays.

The relays are the most power hungry things of the lot. And I need 12 of them! Now, if I use the NEC ED2-5NJ, which consume 50mW, that makes for a total of 600mW (and these are low-current types!). Translated in current, that means that the relays will consume 120mA if all of them are activated at once. As a reference point, this value would go up to 336mA with the EA2-5NJ, and 480mA with the Finder 30.22S.

So, the modules and the relays can amount to a 760mA current draw (1120mA with the Finder relays! that's really high!). I think that the LED consumption is negligible in regards to that, but I'll have to check…

But this is the maximum continuous current draw, we have to take the pikes into account too. I've been told that aiming at 2A is a good choice, so I'll try to do that.

As far as voltage is concerned, the PIC and associated ICs need 5V, the relays need 5V too, but for the input/output buffers opamp, I need to get as much headroom as possible. 9-10V might do the trick. Given that voltage regulator tend to drop about 2V from their input voltage, I've decided to go with a 12V power supply. There are plenty of 12V 2A power supplies available, but they tend to be switching PSU, which we do not want, because they often add unwanted noise. I've found a linear 12V 1.5A PSU instead at Thomann, the THOMANN NT 1215 C unit, which is a replacement for Casio products. It is indeed linear (I've ordered it blindly, but it turned out good), the only caveat is that it has a plug that is not the “usual” DC 2.1mm jack, but it's easily swapped for anything you like.

It appears to me that I need to manage 2 separate grounds for analog signal and digital signal. I don't quite know how to do that. I've been told I could put some kind of low pass filter somewhere, but I don't quite know how and where. I believe this should go between the digital and analog grounds, so that the analog ground gets a filtered version of the digital ground, but how should I go about it? I got no answer about that on the forum, so I've asked around on other forums. I decided to simply duplicate the voltage filtering/regulating circuit from the CORE, and this one will feed the relays and my opamp. I'll be careful to use star grounding, and I hope that this will be enough to keep noise to an acceptable level.

Parts list

In progress.

Aside from the MBHP modules, I will need:

Notes:

Blue LEDs have different working conditions than regular red or green LEDs, so I'll have to adapt the resistor values. Most often they have a 3.2/3.3V forward voltage and work at 20 to 30mA. I'll go with 100 ohms resistors, which should feed the LEDs with 18 to 20 ohm (depending on the voltage) and should be enough.

I'm not sure as far as the power regulator is concerned. It appears that the 7805 has a 1A output current, and I may need more than that at pikes. but is this 1A value a 'normal' value and the 7805 can handle higher pikes, or should I modify the core and use a L78S05CV by STM instead, for instance (the L78S05CV outputs a 2A current)? To get an additionnal power supply line for the relays/opamps, I'll just copy the circuit from the CORE module, so I'll need:

For the input and output buffers, I chose the OPA2134 for several reasons. First, it's a Burr Brown, and they are quite known for doing very audiophile stuff. I've swapped many opamps in my MP-1 with OPA2604 opamps, with great success. But here I chose the OPA2134 over the OPA2604 because it is, apparently, more transparent than the 2604, which is more tube-like sounding. All this is hearsay from the internet, of course, but I have to make a choice at some point. Anyway, I don't really want the buffers to be part of the sound coloration, here, so I'm trying these.

Here's the partlist for one buffer:

Note that I have to double the quantities because I want 2 buffers (except for the opamp which is actually a dual opamp). Again, more information can be found on Jack Orman's AMZ site (look for the “Basic Buffers” and “Super Buffer” pages).

For channel switching I have considered using a CD4053 like geofex does, but it needs a -5V input besides the +5V and ground. And I don't have that. It doesn't look like it handles -2.5/0/2.5V well, so I have to go another route. Here's a topic I opened on the forum on this matter: Connecting a HC4053 to DOUT Another option is the “solid state relays”, which are described in this page… But in absence of any advice on the subject, I will simply turn to good old SPST relays, like the Omron G5V-1-DC5 (which is actually an SPDT relay but us cheaper thant its SPST counterparts!).

From the Fender Hot Rod Deluxe schematics, I gather that to drive the “drive” and “more drive” channel switches, aside from the relays I will need:

The schematics can be found easily on the net. Amps differ widely as far as channel switching is concerned, so you'd better check the schematics to match your amp! A simple way of being easily compatible would be to simply wire the channel switching stereo input jack to the relays (one relay for the tip, and one for the ring) and make an external box to translate correctly your footswitch signal to that.

Loops wiring

Since I'm getting stereo switched jacks for my loops sends/returns, I thought of the following wiring:

This way, it will handle most pluging situations:

Building process, things learned and things I would have liked to be aware of beforehand

(in progress)