# An extra connector for some extra switches or pedal board

**URL:** <https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230>\
**Category:** Hardware\
**Created:** [September 9, 2019, 7:11pm UTC](https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230 "2019-09-09T19:11:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrDham](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrdham/32/930_2.png) [@MrDham](https://discourse.zynthian.org/u/MrDham)\
**Post date:** [September 9, 2019, 7:11pm UTC](https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230/1 "2019-09-09T19:11:10Z")

</div>

An extra DIN-5 connector for some extra switch or pedal board on my zynthian V2.1 Kit with all-in-one board :

 ![image.jpg](https://discourse.zynthian.org/uploads/default/original/2X/6/60309277e5327f59fc41bc4ce9d8b03a55a087d0.jpeg)

1. you need to solder a connector at sw1 on all-in-one PCB:

 ![image](https://discourse.zynthian.org/uploads/default/original/2X/4/43a764db5b4cce762c01b7b06e3ab7c0a60accb8.jpeg)

1. You need to drill a 16 mm hole in the zynthian box (and two 3 mm holes depending on your DIN connector):

![image](https://discourse.zynthian.org/uploads/default/original/2X/4/4f247f52884271af1428f5407228f779cc63c133.jpeg)  
A challenge by itself…

\*\*\* Of course, step 1 and 2 require some disassembly \*\*\*

1. Make a cable

 ![image](https://discourse.zynthian.org/uploads/default/original/2X/2/2d62c052d258993fcd8a936ed1067ed36279ae75.jpeg)

I used this kind of connector at PCB side:

 ![image](https://discourse.zynthian.org/uploads/default/original/2X/9/97c03cca9020136dbdcb4035d8696cada6d7bcf9.jpeg)

And a 5 pins DIN connector:

![image](https://discourse.zynthian.org/uploads/default/original/2X/a/a301e6deddba1dcd4ca4e49f698389fd555ff142.png)

Connections:  
Function | SW1 PIN | DIN PIN | Color  
GND\_\_\_ |1 \_\_\_\_\_\_\_ |2\_\_\_\_\_ | Black  
Button 1 |2 \_\_\_\_\_\_\_ |1\_\_\_\_\_ | Brown  
Button 2 |3 \_\_\_\_\_\_\_ |3\_\_\_\_\_ | Red  
Button 3 |4 \_\_\_\_\_\_\_ |4\_\_\_\_\_ | Orange  
Button 4 |5 \_\_\_\_\_\_\_ |5\_\_\_\_\_ | Yellow

Notice the particular pin numbering on the DIN5 and GND connected to PIN 2 as a sort of standard.

1. Connect your cable on SW1

![image](https://discourse.zynthian.org/uploads/default/original/2X/3/3c5b8c5ec4e0ed24a7a173f86fc07796e13c1309.jpeg)

1. Mount DIN5 on the panel (1st picture of the post)

2. Re-assemble your zynthian.

---

<div class="post-metadata">

**Author:** ![MrDham](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrdham/32/930_2.png) [@MrDham](https://discourse.zynthian.org/u/MrDham)\
**Post date:** [September 9, 2019, 7:42pm UTC](https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230/2 "2019-09-09T19:42:34Z")

</div>

Configuration (click on advanced view):

 ![image](https://discourse.zynthian.org/uploads/default/original/2X/4/4d276067e3c88a82e30f09e5a775008a75e804ce.png)

I selected CC N° 80, 81, 82, 83 because they are general purpose switches in GM standard.

Then I could test the connection thanks to MIDI logs:

 ![image](https://discourse.zynthian.org/uploads/default/original/2X/a/a2c2eb7bb5d251bbc04b970d34799575a0e5f712.png)

---

<div class="post-metadata">

**Author:** ![MrDham](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrdham/32/930_2.png) [@MrDham](https://discourse.zynthian.org/u/MrDham)\
**Post date:** [September 15, 2019, 6:19pm UTC](https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230/3 "2019-09-15T18:19:09Z")

</div>

The pedalboard:

 ![image](https://discourse.zynthian.org/uploads/default/original/2X/b/b3da550d6670b65c5af93d259a819e4306198d49.jpeg)

4 momentary stomp box switches debounced with 100 nF capacitors.

 ![image](https://discourse.zynthian.org/uploads/default/original/2X/e/ee923f503310588030bef207ca111b391f51b648.jpeg)

![image](https://discourse.zynthian.org/uploads/default/original/2X/1/196e69687b440882a1e82545a73c665321120e0e.jpeg)

Remains for me to provide a sample.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [September 15, 2019, 10:45pm UTC](https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230/4 "2019-09-15T22:45:25Z")

</div>

Really nice extension! Congratulations, my friend! Do you intend to use it with the SooperLooper plugin or what? 😉 I think it work nicely with the momentary switches (play/stop/back,etc.). Also setBfree allows toggling the lesslie speed using momentary switch. I would like to add some code for allowing to use momentary switches as “normal” switches with 2 states: 0 or 127. There are many parameters that works in that way and currently you can’t use the momentary switches for controlling these parameters.

BTW, how is done the pedalboard case?

the best!

---

<div class="post-metadata">

**Author:** ![MrDham](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrdham/32/930_2.png) [@MrDham](https://discourse.zynthian.org/u/MrDham)\
**Post date:** [September 16, 2019, 7:43pm UTC](https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230/5 "2019-09-16T19:43:39Z")

</div>

Yes, it is mainly for SooperLooper, sequencer, this kind of things…  
I also developed a small puredata FM synth combinated with generative events (samples, sequences, tone changes, …) and I want to pilot it with this pedal. Sure, I’ll make some sample !

The pedalboard is made of wood, I used what I had in my stock to build it.  
It is a 32cm \* 8 cm \* 3,2 cm box. Any similar dimension box would do.  
3,2 cm is a bit thick, the thiner the better, but the limit is the switch dimension.  
It is also a bit wobbly, I need to add some anti-slip pads.

> [@jofemodo](#):
>
> I would like to add some code for allowing to use momentary switches as “normal” switches with 2 states: 0 or 127.

Great ! 🤩

---

<div class="post-metadata">

**Author:** ![MrDham](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrdham/32/930_2.png) [@MrDham](https://discourse.zynthian.org/u/MrDham)\
**Post date:** [September 23, 2019, 8:54pm UTC](https://discourse.zynthian.org/t/an-extra-connector-for-some-extra-switches-or-pedal-board/3230/6 "2019-09-23T20:54:29Z")

</div>

As promised, a sound sample:

[https://discourse.zynthian.org/uploads/default/original/2X/d/d7b101cc446893fd462e9507a94410a2f37f5d8a.mp3](https://discourse.zynthian.org/uploads/default/original/2X/d/d7b101cc446893fd462e9507a94410a2f37f5d8a.mp3)

A puredata sequencer controled by the 4 switches:  
Buton 1: Start/Stop  
Buton 2: Activate noises  
Buton 3: Activate random voice samples  
Buton 4: Activate random FM modulation on sequenced patern

Lead is played on Calf Monosynth  
Voice samples are from Reitanna Seishin on freesound: [https://freesound.org/people/Reitanna/](https://freesound.org/people/Reitanna/)
