In the realization of a fully embedded module for real time sound analysis, I needed to integrate rotary knobs for the management of parameters.
For this, I used rotary encoders. This repository gathers several code tests for the use of these rotary encoders. Improvements should be made to better tolerate the electronic noise on the edge change.
Fig.1 Quadratic rotary encoders used.
Fig.2 Connection of the rotary encoders to the embedded module.
Fig.3 Respectively, right and left rotation of one of our encoders. rotatifs
Fig.4 Oscilloscope observation of noise on one of our rotary encoders on rising edge. un front montant