Codey OnlineLibreria di componenti Arduino ed ESP32 › Rotary Encoder module
Rotary Encoder module
Sensori

Rotary Encoder module

Un modulo rotary encoder converte la rotazione meccanica in impulsi elettrici usando la quadratura (due segnali sfasati, di solito A e B) per determinare sia il numero di passi sia il senso di rotazione. Si interfaccia comunemente con un Arduino/ESP32 tramite ingressi digitali (spesso usando interrupt per una risposta rapida). Molti moduli encoder includono anche un pulsante momentaneo che può essere letto come ingresso aggiuntivo.

Larghezza: 34.6 mm

Pinout — Rotary Encoder module

Pin Segnale Descrizione
CLK digital Rotary encoder phase A pulse output for counting steps and direction.
DT digital Rotary encoder phase B pulse output, phase-shifted from CLK for direction sensing.
SW digital Momentary push-button switch output, typically read as a digital input.
+ power Positive supply input for the encoder module, commonly connected to 5V or 3.3V.
GND ground Ground reference for power and all encoder output signals.

Componenti correlati

18650 Battery Shield with USB-C Charger and 5V Boost Converter

18650 Battery Shield with USB-C Charger and 5V Boost Converter

2.4 inch OLED Display I2C 3.3V

2.4 inch OLED Display I2C 3.3V

3.5 inch TFT LCD Shield

3.5 inch TFT LCD Shield

50kg Load Cell Weight Sensor

50kg Load Cell Weight Sensor

Crea il tuo progetto Arduino o ESP32 con l'AI

Descrivi cosa vuoi realizzare. Codey Online scrive il codice, disegna lo schema di collegamento, lo compila e programma la tua scheda direttamente dal browser.

Inizia gratis