Encoder Glitches

Hello, Organistas!

I have an OG Organelle which is a few years old now, and I’ve noticed that even since new, that rotating the encoder counter-clockwise to move the selector up sometimes moves the selector down - particularly when rotated quickly. Rotating the encoder clockwise to move the selector down usually works fine.

Has anyone else had this issue, or can suggest any fixes? Is it resolvable in software through some type of filtering (similar to a debounce algorithm)? Or is a new encoder the order of the day? I was hoping it might be resolvable through software, since I would assume having a faulty decoder from the factory is unlikely.

Any thoughts, tips or suggestions gratefully received!

Thanks!

Edit: I’ve found the relevant source code for the rotary encoder driver, and it looks like it might be a software, rather than a hardware, issue. Essentially it appears (from a cursory glance), that the encoder is periodically polled and uses combinatorial logic to decode it with no high-pass filter. To me this looks like, depending on the polling frequency of the encoder, the rotational speed, and amount of noise from the encoder, it might be easy for the rotation direction to be confused. I’d be keen to try some different algorithms, does anyone have any tips on cross-compiling the operating system on a Mac or Linux VM for the Organelle?

I can’t say ive seen any issues with the encoder that required filtering , unlike the pots/buttons which already are.

If your doing a small project like this, it be easier to compile on the organelle itself.

Note: I assume your planning on making changes to the ‘mother host’ , as there is no facility to flash the stm micro-controller

Thanks Mark.

I’m not sure where this particular file sits in the OS, but the file in question is

I will have to dig a little bit deeper to find out how to go about it. I don’t have a WiFi adaptor for my Organelle, so will try a USB-Ethernet adaptor and see how that goes in terms of getting SSH access.

In my case, the encoder glitching only really occurs when scrolling up (for example, through a long list of patches) very fast. Looks like C&G’s implementation is quite basic, but I think that if we can assume it’s been polled at a certain frequency then it should be possible to assume that very rapid changes scrolling direction shouldn’t be possible.

That’s for the organelle-m not the organelle-1

As I said the organelle-1 uses a micro-controller for interfacing to the encoder/screen/pots , the communicates this via serial to the SoC running Linux.

The organelle-m runs it all on the CM3

So for your organelle-1 you need to look at the serialmcu code
Important note : this code is in dev it’s not been released , you’d be better off looking at the released version for now.

Ethernet access works I use it all the time.
Or just connect an hdmi monitor and keyboard.

Sorry to bring up an old thread, but I seem to be having the same/similar issue with my (2023) organelle S.

It seems to happen intermittently whether I am moving it quickly or slowly, and while it’s not a huge issue, I am concerned about it getting worse (as it seems unlikely that is it a software issue as no one else seems to have mentioned it) over time.

Anyone encounter this before and have any luck just cleaning the encoder? I’m traveling at the moment, but may try that when I get home.

Does the motion and click of the encoder feel the same as it always has?

First step is email Critter and Guitari:

support@critterandguitari.com

Ask @oweno @chrisk for their advice and give as much info as possible with pics/video.

If you cannot wait because you have a show or something, you could try taking the cap off and putting a drop of some DeOxit D5 into the encoder.

Thanks, will do :+1:

Like i said, at the moment, doesnt seem like a huge deal (just a slight annoyance), but a little concerning as I’ve only had it a few months and its just sat indoors at my place.

Yeah doesn’t feel any different at all. I’ll take some video when i get back and reach out to support.

What version OS are you running? (It is listed on the Info menu) v4.2 had a update to improve the encoder performance and prevent glitches.

1 Like

Sorry, just seeing this- mine came with 4.2 already on it. Still having persistent encoder issues.

1 Like

I came here about this same issue, and interesting to see it might be a software problem (I assumed I was going to have to spray some Deoxit on it).

It’s marginally better when scrolling “1-by-1” rather than fast, but still misbehaves. It’s only scrolling which is the issue, and thankfully, doesn’t push-select anything by itself.

Hi @EasyToAssemble - have you tried Deoxit yet? It has worked for us.

Just to update: A bit of DeOxit d5 worked for me.

Just pulled the knob off, gave it a little bit, twisted the encoder a couple times, pressed it in a couple more, and now its scrolling great. Still seems to have a very occasional hiccup, but night and day difference from before- scrolling quickly back up a list actually works as intended now. I’ll give it another spritz this weekend to see if that rattles out any remaining gremlins.

Thanks for the update! For anyone else with encoder hiccups, here are instructions for applying contact cleaner like DeOxit:

  1. Shut down the Organelle and remove power/batteries.
  2. Have a paper towel ready to wipe up any excess contact cleaner.
  3. Gently pull the encoder’s knob straight up to remove the knob.
  4. Place 2-3 drops of contact cleaner like DeOxit into the grove of the encoder shaft. This grove is shown in the photo below with the pink arrow.
  5. Once applied, rotate the knob 10-15 times in both directions and allow to sit for a few minutes. Then rotate 10-15 times in both directions again.
  6. Wipe up any excess contact cleaner from the encoder shaft and/or Organelle enclosure.

2 Likes