¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Homebrew spectral analyzer


 

The number of pulses per revolution should not matter.

?

The encoder I use has a mechanical click for each step, one complete 360 revolution would result in 15 steps.? Think of the scroll wheel on your mouse ¨C it has mechanical clicks (at least all the ones I have used do).?

The EVQWK encoder provides quadrature pulses.

?

See this link for an explanation.

?

It looks as though your encoder is also quadrature however, but maybe optical?? Is the encoder connected to some other IC and the output from that used to signal to the simpleSA?? It could be that IC is increasing the resolution.

?

It may be there is some ¡°bounce¡± on the contacts (multiple changes of state) that could confuse.? Maybe add some capacitance to try and smooth out the pulses, though should not really be needed.

?

Also note that these particular input pins on the ESP32 do not have an internal pull up/down resistor ¨C have you included one?


Another option to try would be in encoderSA.h line 58 change bool fullQuad=false to bool fullQuad = true

Dave

Join [email protected] to automatically receive all group messages.