Starting my zynthian build: alternative LCD, DAC, encoders


#61

All works, but doesn’t with the expected behavior. The first encoder just works when I use the second. The second just alternate between the Layer List and Admin screens. The third, alternate between Save Snapshot and Load Snapshot screens…

Oh! I get it!

And now I’ve observed other behavior: after a time, all the encoders stops work


#62

You have crossed the SW pin with some A or B pins. Please, check carefully your phisical wiring.

Also, you could try tweaking the webconf wiring-layout values :wink:

Regards,


#63

A simple doubt: whe you says pin 1, it’s from right to left or left to right?


#64

Pin 1 is always from left to right :wink:


#65

what is the default and official Wiring config for all-in-one board at webconf?


#66

The official wiring layout is MPC23017_ENCODERS for Kit v2 (All-In-One circuit) and PROTOTYPE-4 for Kit v1 (2InOne circuit).


#67

and about the values of the A/B/Switch GPIO-pins?


#68

When you select a wiring layout, these values are adjusted accordingly. You can modify the values if you want, but in such a case it’s recommended to use the “CUSTOM” wiring layout, that’s empty for that purpose. If your wiring layout can be interesting for other people, we could add it to the list :wink:

Regards,


#69

Perhaps my board or my encoders are defective :frowning: I’ve tested all possibilities and doesn’t work properly. Now have just the enc 4 wired at board. Left, Right and button have only 1 behavior: Right.


#70

Sticking with the Motor 61 theme. This keyboard doesn’t clear down notes clearly. I can frequently trick it into holding a note by syncopated playing.

I have the Roland A-88 via USB and a Nord Modular G2 via MIDI Input on the same patch and I don’t get the effect with that.
That’s a bit of a problem … :disappointed_relieved:

Let’s see what Behringer say.


#71

All works, but doesn’t with the expected behavior. The first encoder
just works when I use the second. The second just alternate between
the Layer List and > Admin screens. The third, alternate between Save

Remove on KY-040 encoders resistor R3 (10 kohm), as it interferes with other pullups (R1 and R2). Desolder it or just scratch all resistive layer away (usually green or black color) until white ceramic becomes visible.


#72

what pin wiring between all in one module to waveshare 3,5 lcd a


Failed starting software [solved]
Tedy's Thread
#73

Please search this forum for waveshare. There are some ppl that solved it


#74

Tomorrow I’ll try this solution and report asap


#75

After desolder the R3 from encoder 4, the “select” function works as expected, but the scroll function doesn’t work :frowning:

I’ve wired just the encoder 4 to all-in-one board. What is the next step? My config web conf values are the same from this reply: Starting my zynthian build: alternative LCD, DAC, encoders


#76

Are you absolutely sure the encoder board has no shorts or dry joints and everything is in the correct place?
Do you have access to a multi meter and can check the expected responses as you use the encoders and switches?
Do you have a magnifying glass to examine the solder joints and check fro hairline shorts between tracks and dry joints on pins?
If you have these sorts of errors no amount of software configuration will sort the issue out for you.

You need to be sure that the correct response is present at the main chips pins and that the correct pins are wired back to the correct pins on the Pi.


#77

I’ve checked all solder joints and don’t found any shorts or issue. I’ll make a simple video with the solder side view


#78

Somewhere on this forum Jofemodo described a procedure to see if the I/o chip on the encoder board was present have you tried that?


#79

After desolder the R3 from encoder 4, the “select” function works as expected,
but the scroll function doesn’t work :frowning:

I don’t have All in one board, but same type encoders as you have - KY-040. After removing R3 on all encoder boards i got my homemade board to work, but reacting to encoder movement and selecting with knobs leaves room to improvement. I don’t have here same type encoders as Jofomodo uses, so maybe this is an another issue, where KY-040 encoders behave differently. I have some ideas, but first i must test here.

Alternative way is wiring all encoder boards Vcc pin to +5V. MCP23017 have internal 100k pullups, but this may be not enough. At least recommended pullup on TTL logic are somewhere 5…10k range. This is a probable reason, why these 10k resistors on encoder boards interfere with MCP23017 pins, if encoder Vcc pin left unconnected.

Update: removing all resistors on encoder boards helped my setup, now encoders and switches work as expected. One problem remains - i have feeling that in zyncoder library (zyncoder.c) not all input pullups on MCP23017 are enabled, but this is another issue to be doublechecked.


#80

Well I can’t duplicate the key holding so we will assume it’s ok for now.

Behringer were pretty good from the support point of view but it would have cost if it wasn’t regarded as broken and the amounts were probably heading for the overall cost of the device. I’d rather go and see Kraftwerk at Jodrell Bank . . . Bluedot . . .July 2019

With many external controllers particularly if they are laid out in ranks (Motor61 encoders) the presence of the volume modifier in position top/left makes for a fairly wierd mapping and you can map multiple controllers to the same MIDI controlled source so you loose one in 4 encoders.

I don’t know how much this is relevant but it’s certainly a fair way down the path of easy multiple encoder mapping.