{"product_id":"ec11-rotary-encoder-push-switch-5pin-15mm-20mm-shaft-20-pulses-rev","title":"EC11 Rotary Encoder with Push Switch — 5-Pin, 15mm\/20mm Shaft, 20 Pulses\/Rev, Digital Pot","description":"\u003ch2\u003eEC11 Rotary Encoder with Push Switch — 5-Pin, 15mm\/20mm Shaft\u003c\/h2\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eEC11 rotary encoder\u003c\/strong\u003e is an incremental rotary encoder with integrated push switch — rotating the shaft generates quadrature pulse signals (A and B channels) that indicate direction and position, while pressing the shaft activates a momentary push switch. Unlike a potentiometer, the EC11 has no end stops and can rotate continuously in either direction, making it ideal for menu navigation, volume control, and parameter adjustment in microcontroller projects. 5-pin through-hole package (A, B, GND for encoder + SW, GND for switch).\u003c\/p\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eModel:\u003c\/strong\u003e EC11\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eType:\u003c\/strong\u003e Incremental rotary encoder with push switch\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePulses per Revolution:\u003c\/strong\u003e 20 (20 detents)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput:\u003c\/strong\u003e Quadrature (A + B channels) + push switch (SW)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eShaft Options:\u003c\/strong\u003e 15mm or 20mm (select version)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eShaft Type:\u003c\/strong\u003e Half-shaft (D-flat) or plum shaft (select version)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePins:\u003c\/strong\u003e 5 (CLK\/A, DT\/B, GND, SW, GND)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRotation:\u003c\/strong\u003e Continuous (no end stops)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDetents:\u003c\/strong\u003e 20 tactile clicks per revolution\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eArduino Wiring \u0026amp; Code\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCLK → D2 | DT → D3 | SW → D4 | GND → GND | + → 3.3V\/5V\u003c\/li\u003e\n  \u003cli\u003eUse Encoder library by Paul Stoffregen from Arduino Library Manager\u003c\/li\u003e\n  \u003cli\u003eRead direction: if CLK rises before DT → clockwise; DT before CLK → counter-clockwise\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eRotary Encoder vs Potentiometer\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRotary encoder (this):\u003c\/strong\u003e No end stops, infinite rotation, digital output — for menu navigation and parameter adjustment\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePotentiometer:\u003c\/strong\u003e Limited rotation (~300°), analog output — for continuous analog level control\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTypical Applications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eArduino menu navigation (scroll and select)\u003c\/li\u003e\n  \u003cli\u003eDigital volume control knob\u003c\/li\u003e\n  \u003cli\u003eStepper motor manual position control\u003c\/li\u003e\n  \u003cli\u003eParameter adjustment in embedded UI\u003c\/li\u003e\n  \u003cli\u003e3D printer control knob\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eEC11 rotary encoder with push switch — 5-pin, 20 pulses\/rev, 15mm\/20mm shaft for Arduino menu navigation, volume control, and digital potentiometer projects.\u003c\/p\u003e","brand":"Keszoox","offers":[{"title":"Half 20mm","offer_id":46991441363179,"sku":"14:94#Half 20mm","price":7.16,"currency_code":"USD","in_stock":true},{"title":"Half 15mm","offer_id":46991441395947,"sku":"14:29#Half 15mm","price":7.16,"currency_code":"USD","in_stock":true},{"title":"Plum 20mm","offer_id":46991441428715,"sku":"14:10#Plum 20mm","price":7.16,"currency_code":"USD","in_stock":true},{"title":"Plum 15mm","offer_id":46991441461483,"sku":"14:350852#Plum 15mm","price":7.16,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0677\/1005\/8731\/files\/ec11-rotary-encoder-push-switch-15-20mm-5pin.webp?v=1761807564","url":"https:\/\/keszoox.com\/products\/ec11-rotary-encoder-push-switch-5pin-15mm-20mm-shaft-20-pulses-rev","provider":"Keszoox","version":"1.0","type":"link"}