Rotary encoder with switch

SKU
ROTARY-ENCODER
In stock
$2.49
-
+
Overview
Rotary encoder with switch

Rotary encoder with switch.

WIRING INFORMATION from Arduino.cc
===================
Connect CLK to Pin 2 on Arduino Board (CLK is Data Output 1 of KY-040)
Connect DT to Pin 3 on Arduino Board (DT is Data Output 2 of KY-040)
Connect SW to Pin 4 on Arduino Board (Switch - goes LOW when pressed)
Connect GND to ground
Connect + to +5V (this will pull up CLK and DT with 10 KiloOhm resistors)
Connect a 0,47ᄉ capacitor from ground to CLK (debouncing)
Connect a 0,47ᄉ capacitor from ground to DT (debouncing)
Connect a 10 KiloOhm resistor from +5V to SW (no integrated pullup for SW !!)
----------------------------------------------------------------------------

The KY040 has CLK, DT, SW, +, and GND. It is essentially a simple rotary encoder plus a push button switch and integrated pull-up resistors. The CLK is equivalent to A, DTA to B, and GND is C. SW is the push button switch and you provide a VCC signal so the integrated pull-up resistors will work.

Need a Knob?