# Starting my zynthian build: alternative LCD, DAC, encoders

**URL:** <https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874>\
**Category:** Building Zynthian\
**Created:** [May 10, 2018, 3:15pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874 "2018-05-10T15:15:31Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [October 2, 2018, 3:22pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/41 "2018-10-02T15:22:40Z")

</div>

Please tell us if you figured it out. I can send a picture in about a week.

---

<div class="post-metadata">

**Author:** ![jonathaslacerda](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jonathaslacerda/32/1370_2.png) [@jonathaslacerda](https://discourse.zynthian.org/u/jonathaslacerda)\
**Post date:** [October 2, 2018, 7:11pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/42 "2018-10-02T19:11:29Z")

</div>

I’ve had connected the audioinjector and all-in-one board with the ribbon cable, but I need to connect the encoders and don’t know the equivalence between the KY-040 and 4-pin JST connectors from all-in-one board.

Today I received the audio jacks and I’ll to solder at night. Once I have all hardware working, will start to project the box.

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [October 25, 2018, 4:51pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/43 "2018-10-25T16:51:49Z")

</div>

My Motor 61 has just turned up! We shall see. It was very cheap.

---

<div class="post-metadata">

**Author:** ![jonathaslacerda](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jonathaslacerda/32/1370_2.png) [@jonathaslacerda](https://discourse.zynthian.org/u/jonathaslacerda)\
**Post date:** [October 25, 2018, 5:28pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/44 "2018-10-25T17:28:42Z")

</div>

while that, I’ve not yet connected the encoders on zynthian all-in-one board ☹

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [October 25, 2018, 5:31pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/45 "2018-10-25T17:31:21Z")

</div>

I’m going to see if I can work out how to use the encoders and pads on the motor

---

<div class="post-metadata">

**Author:** ![jonathaslacerda](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jonathaslacerda/32/1370_2.png) [@jonathaslacerda](https://discourse.zynthian.org/u/jonathaslacerda)\
**Post date:** [October 25, 2018, 5:33pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/46 "2018-10-25T17:33:27Z")

</div>

my dream: to setup the faders with the setbfree drawbars and get some automation 😍

---

<div class="post-metadata">

**Author:** ![wyleu](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/wyleu/32/514_2.png) [@wyleu](https://discourse.zynthian.org/u/wyleu)\
**Post date:** [October 25, 2018, 5:58pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/47 "2018-10-25T17:58:56Z")

</div>

Which firmware are you running… ?  
It shipped with 1.081 latter versions are available on the Behringer site .

You need a PC to load them.

1.091 Loaded.

What a strange machine!  
It has a 64 Presets but I challenge you to move easily between them!  
To display a list it’s into the Global preset button …  
The ‘home’ screen is really good at telling you what it’s just sent which I really like, but Preset selection requires you to Push the Data Encoder and you feel that you are turning the knob. A bit disconcerting.

A lot of the menu driving is via the push on the Data Encoder to the right of the screen. Sadly there’s no comfortable position ( perhaps cos I’m a leftie ) to place your hand and you are reshaping your hand to go between the data encoder and the Back and Fwd buttons. So changing parameters are rather long involved menu wanders. At least they have gone for button a function otherwise you’d be rarely visiting some bits.

So I will probably be largely ignoring the Presets on it which means I’m limited to 8 sounds allocated to the Touch pads. Very odd and there’s worse the Patch pads will allow you to set MSB LSB Bank but won’t store it through Power Off. ( Ouch!) .

Now some of this shouldn’t be a problem for the zynth.  
Run the Motor in one preset, with 8 Pads allocated to zynth snapshots ( Pre-load?)

More as dig in.

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [October 26, 2018, 7:54am UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/48 "2018-10-26T07:54:53Z")

</div>

Sorry @jonathaslacerda, but I have to disappoint you:

IMHO setBfree cannot assign MIDI-CCs to drawbars. So I made a fork and mapped the drawbars in LV2 (and called the whole [setBfreak](https://github.com/dcoredump/setBfreak)).

Unfortunately the drawbars are internally executed as integer values (0…7). You can only make whole jumps, which leads to ugly, step-like distortions when moving the drawbars during playing. You can only use the drawbars when no sound is being produced. The whole thing would have to be converted to floats deep in the engine - this is an extremely complicated task.

Regards, Holger

---

<div class="post-metadata">

**Author:** ![Baggypants](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/baggypants/32/1911_2.png) [@Baggypants](https://discourse.zynthian.org/u/Baggypants)\
**Post date:** [October 26, 2018, 2:21pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/49 "2018-10-26T14:21:55Z")

</div>

setBFree set’s the MIDI cc in the config file.  
e.g. from [https://github.com/dcoredump/setBfreak/tree/master/cfg/](https://github.com/dcoredump/setBfreak/tree/master/cfg/) K2500.cfg

```auto
midi.controller.upper.20=upper.drawbar16
midi.controller.upper.22=upper.drawbar513
midi.controller.upper.23=upper.drawbar8
midi.controller.upper.24=upper.drawbar4
midi.controller.upper.25=upper.drawbar223
midi.controller.upper.26=upper.drawbar2
midi.controller.upper.27=upper.drawbar135
midi.controller.upper.28=upper.drawbar113
midi.controller.upper.1=upper.drawbar1

```

‘upper’ refers to the midi channel the number is the midi cc.

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [October 26, 2018, 2:42pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/50 "2018-10-26T14:42:32Z")

</div>

Hey, that’s cool! But how does it sound when using the controllers?

---

<div class="post-metadata">

**Author:** ![jonathaslacerda](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jonathaslacerda/32/1370_2.png) [@jonathaslacerda](https://discourse.zynthian.org/u/jonathaslacerda)\
**Post date:** [October 26, 2018, 2:45pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/51 "2018-10-26T14:45:12Z")

</div>

## ☹ that’s a sad news ☹

Edit:

> [@Baggypants](#):
>
> setBFree set’s the MIDI cc in the config file.  
> e.g. from [setBfreak/cfg at master · dcoredump/setBfreak · GitHub](https://github.com/dcoredump/setBfreak/tree/master/cfg/) K2500.cfg
> 
> ```auto
> midi.controller.upper.20=upper.drawbar16
> midi.controller.upper.22=upper.drawbar513
> midi.controller.upper.23=upper.drawbar8
> midi.controller.upper.24=upper.drawbar4
> midi.controller.upper.25=upper.drawbar223
> midi.controller.upper.26=upper.drawbar2
> midi.controller.upper.27=upper.drawbar135
> midi.controller.upper.28=upper.drawbar113
> midi.controller.upper.1=upper.drawbar1
> 
> ```
> 
> ‘upper’ refers to the midi channel the number is the midi cc

That’s a hope?

---

<div class="post-metadata">

**Author:** ![Baggypants](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/baggypants/32/1911_2.png) [@Baggypants](https://discourse.zynthian.org/u/Baggypants)\
**Post date:** [October 26, 2018, 3:32pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/52 "2018-10-26T15:32:03Z")

</div>

The 0-7 discreet values are pretty close to how a real Hammond B3/C3/A100 would work as the physical drawbars are notched. I used setBfree for a couple of years at our church with an Evolution MK-449 and an old netbook, and didn’t really notice vast distortions.

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [October 26, 2018, 5:47pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/53 "2018-10-26T17:47:26Z")

</div>

> [@Baggypants](#):
>
> The 0-7 discreet values are pretty close to how a real Hammond B3/C3/A100 would work as the physical drawbars are notched. I used setBfree for a couple of years at our church with an Evolution MK-449 and an old netbook, and didn’t really notice vast distortions.

Many thanks for this information! Perhaps I have done something wrong in my LV2 additions for the drawbars. I think I have to take a deeper look at this, hopefully to fix it.

Regards, Holger

---

<div class="post-metadata">

**Author:** ![Baggypants](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/baggypants/32/1911_2.png) [@Baggypants](https://discourse.zynthian.org/u/Baggypants)\
**Post date:** [October 26, 2018, 9:43pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/54 "2018-10-26T21:43:32Z")

</div>

Here’s a quick and dirty example of messing about with drawbars

> **[setBfree Drawbar Manipulations - Clyp](https://clyp.it/sixzng14)**
>
> \#setbfree

Also it’s worth noting the zynthian-ui supports midi learn and you can trivially map any cc control on to any synth param (including setBfree drawbars). Swipe right on the control in the box you want to map and you will see a green ??? appear. Then move the controller you want to map.

---

<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:** [October 27, 2018, 10:18am UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/55 "2018-10-27T10:18:09Z")

</div>

Hi @Baggypants!  
Thanks for the little demo! It’s linked on the wiki now 😉

Regarding the setBfree, i never had problems with the drawbars and CC, but i don’t use the LV2 plugin. Zynthian setBfree engine uses the standalone version, that has pre-assigned CC to every drawbar on each manual & pedals.

As @Baggypants explained above:

> [@Baggypants](#):
>
> setBFree set’s the MIDI cc in the config file.  
> e.g. from [setBfreak/cfg at master · dcoredump/setBfreak · GitHub](https://github.com/dcoredump/setBfreak/tree/master/cfg/) K2500.cfg

and i will add that CC values are assigned like that:

- 127-120 =\> 0
- 119-104 =\> 1
- 103-88 =\> 2
- 87-70 =\> 3
- 71-54 =\> 4
- 55-40 =\> 5
- 39-24 =\> 6
- 23-8 =\> 7
- 7-0 =\> 8

As you can see, it’s a kind of “reversed” assign, probably thought for working right with normal faders from any MIDI controller. When you “pull the fader”, CC value goes up, and when you push the fader, then goes down. In such a way, the player can manage the faders like drawbars.

Of course, i reversed that in the Zynthian UI, so you can rotate the encoders in the normal way: clockwise for “pulling” the drawbar and counter-clockwise for pushing it. However, assigned MIDI CCs maintain the original fader-reversed way.

Regarding the supossed “distortion” that Holger comments, i never noted that in the standalone version, so probably it’s only present in the LV2 version.

So, @jonathaslacerda, i’m pretty sure you can get your dreams become a reality 😉

Kind Regards,

---

<div class="post-metadata">

**Author:** ![jonathaslacerda](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jonathaslacerda/32/1370_2.png) [@jonathaslacerda](https://discourse.zynthian.org/u/jonathaslacerda)\
**Post date:** [October 27, 2018, 12:50pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/56 "2018-10-27T12:50:26Z")

</div>

this way I fall in love with setbfree again hahaha  
thx, folks

---

<div class="post-metadata">

**Author:** ![jonathaslacerda](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jonathaslacerda/32/1370_2.png) [@jonathaslacerda](https://discourse.zynthian.org/u/jonathaslacerda)\
**Post date:** [October 28, 2018, 7:49pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/57 "2018-10-28T19:49:55Z")

</div>

today I’m trying to connect the encoders on the all in one board, but I don’t know what wires I need to connect on board. I’m ignoring the + pin, but, what the equivalence between CLK, DT, SW, GND and PIN 1, 2, 3, 4 (from left to right) of the CTRL-1 connector?

---

<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:** [October 28, 2018, 9:17pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/58 "2018-10-28T21:17:23Z")

</div>

Hi @jonathaslacerda!

This is the assignment used by CTRL pins in the All-In-One circuit:

- pin 1: GND
- pin 2: SW (switch)
- pin 3: Encoder B
- pin 4: Encoder A

I would try to put CLK & DT to pin 3 & 4. If the encoder works reversed, simply change to 4 & 3 😉

Of course, you also can tweak the wiring layout pin assignment in the webconf tool. The only fixed pin is GND (pin 1). The other three doesn’t matter, as you can re-assign it by software 😉

Good luck!

---

<div class="post-metadata">

**Author:** ![jonathaslacerda](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jonathaslacerda/32/1370_2.png) [@jonathaslacerda](https://discourse.zynthian.org/u/jonathaslacerda)\
**Post date:** [October 30, 2018, 12:15pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/59 "2018-10-30T12:15:21Z")

</div>

Thanks!

I’ve connected today all the 4 encoders. All are working, BUT with strange behavior. My wiring webconf:

 ![wiring](https://discourse.zynthian.org/uploads/default/original/2X/4/49a6863a3296af78065af2330bd3afce3a3456e3.jpeg)

Why doesn’t exists configuration for encoder C and D at webconf?

---

<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:** [October 30, 2018, 12:46pm UTC](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874/60 "2018-10-30T12:46:56Z")

</div>

> [@jonathaslacerda](#):
>
> All are working, BUT with strange behavior.

What is the strange behavior?

> [@jonathaslacerda](#):
>
> Why doesn’t exists configuration for encoder C and D at webconf?

It’s not encoder A & B, it’s pin A & B for the 4 encoders 😉

Regards,

[Previous page](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874.md?page=2)

[Next page](https://discourse.zynthian.org/t/starting-my-zynthian-build-alternative-lcd-dac-encoders/1874.md?page=4)
