motor with encode A B RK 520 encoder motor one round turn equals to 44 encoded steps {{:motors:pasted:20220926-202712.png}} #include Encoder knobLeft(19, 16); void setup() { Serial.begin(115200); Serial.println("start"); } void loop() { auto a = knobLeft.read(); Serial.printf("%d, %d\n", a, a); } speed reduction {{:motors:pasted:20220926-232003.png}} PWM vs motor speed at 5V: {{:motors:pasted:20220926-233738.png}} {{:motors:pasted:20220926-234046.png}}