The adress of these encoders changed so I also had to modify CS_MENU_ENC_CS_Handler in cs_menu_enc.inc :
;; --------------------------------------------------------------------------
;; CS Encoder Handler
;; IN: encoder number (-1) in MIOS_PARAMETER1
;; incrementer in MIOS_PARAMETER2
;; NOTE: the menu encoder will not be counted as encoder #0 here to avoid
;; problems with the INCDEC_BUTTONS option
;; --------------------------------------------------------------------------
CS_MENU_ENC_CS_Handler
;; move incrementer to MIOS_PARAMETER3
movff MIOS_PARAMETER2, MIOS_PARAMETER3
movf MIOS_PARAMETER1, W
addlw 0x11
CS_MENU_ENC_CS_Cont
...
I had exactly the same problem with my Endorphin yesterday, and I would never expect this could be the reason. So strange! I have aluminum panel just barely bigger than encoder threaded part, and it must be touching it. I will make holes bigger and hope it will fix this strange problem.
Does anybody knows what is actually happening here? What if encoders are mounted to the metal front-panel? Is there any software solution for this?
Strange, just two of us experienced that problem. ???
I would think the metal part of the encoder would not be connected to the common pin, and so not connected to the circuit at all. Perhaps if it is, then touching it would be like touching the ground and causing some kind of disturbance in the ground, causing the shift registers connected to the SIDs to not output properly. I recall similar strange behaviour when the ground of the shift registers was a different ground to the PIC - it wouldn’t output properly because (I think) the RC signal was being lost.
Ill check if body of encoder is connected to the common pin, but I dont expect that also. Im using modified Voti encoders (detend removed) so it might happened the piece that used to touch the detends now touching back plate. Chances are low but still possible. I cannot be sure is this is the case, but I think better solution for me is to make panel holes wider than to open whole synth to reach the encoders. In the case of Endorphins multi panel construction it is last thing I want to do.
I recall similar strange behaviour when the ground of the shift registers was a different ground to the PIC - it wouldn’t output properly because (I think) the RC signal was being lost.
Didnt know DINs are also sensitive. I hate AINs! So fragile, so oversensitive. I ned to troubleshoot friends controller because some AINs are have range just from 0-96 or something. Pots are ok... working normal on other AIN pins but all ins of 2nd and 3rd multiplexers have that problem. After changing the AINx4 module problem remains. So, I gues problem is where from I took +/- from for pots. :-\ Yes, starlike pot connection… maybe it wasn`t that star-like. :-\
Just wrap sticky tape around the encoder bushing/thread. That should stop electrical contact with panel (at least to test if this is the cause of your problems.)
Ill try this. But last night, I have no problem suddenly. I tried shaking and pushing but wasnt able to provoke it again. In the time I didn`t know what could be the problem. I can do more sensible testing today, when I can concentrate on encoders. Thanks for the tip. It is easier to use the tape, or to take of the panel.