ENCODER BUG? Fysetc 12864 G32 MBL screen Builtin function
-
@dc42 Here is another example in my home menu. If the knob is turned so it lands between bumps in the encoder, it will actually somewhat oddly select 2 items at once. During this time the scope is flat-lined, so I can 100% confirm there is no noise with the switch in that position.
-
@leckietech those are still not normal encoder pulses. A normal encoder produces pulses with a mark:space ratio of around 1:1 and the two signals are 90deg out of phase. Those pulses are much shorter and overlap only slightly, which means the encoder needs to be polled much faster in order to detect all the states that it goes through.
My guess is that the combination of pulses that only overlap slightly coupled and a known issue with inefficiency of how the ST7567 display is updated are causing RRF to miss some state changes. The display update issue is scheduled to be fixed in RRF 3.4.
-
@dc42 Ok, well I already ordered a few encoders from bourns. Ill try that out and report back.
-
@dc42 I just finished installing the new encoder. annnnnnd... It works perfectly! The new bourns encoders use 4 pulses and found it corrects the overlap issue I pointed out as well with the Fysetc encoder. When you're right, you're right, thanks. You've saved me a lot of trouble.
-
@leckietech I'm glad that solved it. I'm surprised that nobody else has reported a similar issue.
-
@dc42 said in ENCODER BUG? Fysetc 12864 G32 MBL screen Builtin function:
@leckietech I'm glad that solved it. I'm surprised that nobody else has reported a similar issue.
With duet having such a slick web interface, its possible others may not be using this option to the extent I am for our farm with a large number of printers. Afterall, the equipped encoder from Fysetc is fully functional in the menus, the encoder just struggles with controlling Z steps which is why I thought it might have been firmware related. Its a fantastic inexpensive option that is very effective and flexible and I hope more features will be brought to supporting this device!
-
Could also be that there's just a bad batch of encoders that you got because you bought plenty at the same time. And hobbyists may just give up and buy another display with an encoder that works ...
-
@oliof yes I think it' a bad encoder. Not impossible to read those short pulses, but not handled by the code in RRF when there is movement going on.
-
@oliof I have 60 of them, a pretty big batch of bad encoders!
-
@leckietech if you send one of them to me I can take a closer look.
-
@dc42 I can do that, if you can PM me a shipping address, I will send a few of the encoders Ive changed out, tomorrow. Thanks!
-
@leckietech I would prefer to receive a complete unit with dodgy encoder too. My own Mini 12864 display does not have this problem. I will PM my shipping address.