{"product_id":"ky-040-rotary-encoder-module-with-push-button-20-pulse-revolution-5v-for-arduino-menu-control-volume-motor-position","title":"KY-040 Rotary Encoder Module with Push Button 20 Pulse\/Revolution 5V for Arduino Menu Control Volume Motor Position","description":"\u003ch1\u003eSPECIFICATIONS\u003c\/h1\u003e\u003cp\u003e\u003cspan\u003eBrand Name\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNONE\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eChoice\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eyes\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eCondition\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eNew\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eHigh-concerned chemical\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003enone\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eOrigin\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eMainland China\u003c\/span\u003e\u003c\/p\u003e\u003cp\u003e\u003cspan\u003eType\u003c\/span\u003e: \u003cspan style=\"color:#333\"\u003eVoltage Regulator\u003c\/span\u003e\u003c\/p\u003e\u003cdiv class=\"detailmodule_html\"\u003e\u003cdiv class=\"detail-desc-decorate-richtext\"\u003e\n\u003cdiv\u003ep{margin-block-start: 0; margin-block-end: 0}\u003c\/div\u003e\n\u003cp style=\"font-size:16px;font-weight:bold;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003e🚀 Precise Digital Control at Your Fingertips!\u003c\/p\u003e\n\u003cp style=\"font-size:13px;font-weight:normal;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003eUpgrade from simple potentiometers to high-precision digital rotary encoders! The KY-040 module combines 360° infinite rotation with a push-button function, delivering 20 pulses per revolution. It’s the perfect choice for menu navigation, parameter adjustment, and motor control in Arduino, Raspberry Pi, and other microcontroller projects\u003c\/p\u003e\n\u003cp style=\"font-size:16px;font-weight:bold;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003e✨ Key Features \u0026amp; Benefits\u003c\/p\u003e\n\u003cp style=\"font-size:13px;font-weight:normal;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003eInfinite Rotation \u0026amp; Extended Lifespan: No physical stops allow continuous 360° rotation, eliminating mechanical wear and ensuring a much longer life than standard potentiometers.\u003cbr\u003e\u003cbr\u003eHigh Precision \u0026amp; Bidirectional Detection: 20 clear pulses per revolution enable accurate detection of both rotation amount and direction (clockwise\/counterclockwise) for fine-grained control.\u003cbr\u003e\u003cbr\u003eIntegrated Push-Button Function: The shaft can be pressed as a digital switch, combining rotation and click actions in one component to simplify UI design for selection confirmation or reset.\u003cbr\u003e\u003cbr\u003ePlug-and-Play Integration: The module includes built-in pull-up resistors and debounce capacitors for clean digital signals. Simply connect the CLK, DT, and SW pins to your microcontroller’s digital pins for quick setup.\u003c\/p\u003e\n\u003cp style=\"font-size:16px;font-weight:bold;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003e📝 Product Description\u003c\/p\u003e\n\u003cp style=\"font-size:13px;font-weight:normal;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003eThe KY-040 Rotary Encoder Module elevates your projects from analog to precise digital control. Ideal for volume adjustment, menu selection, motor positioning, parameter setting, and various interactive applications, it’s a must-have for makers, electronics enthusiasts, and educational experiments.\u003c\/p\u003e\n\u003cp style=\"font-size:16px;font-weight:bold;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003e⚠️ Important Notes \/ How to Use (Key to Preventing Negative Reviews!)\u003c\/p\u003e\n\u003cp style=\"font-size:13px;font-weight:normal;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003eVoltage Compatibility Warning: This module is designed for 5V operation. Do NOT connect directly to 3.3V systems (e.g., ESP32, ESP8266) to avoid damaging GPIO pins! Use a logic level converter if interfacing with 3.3V devices.\u003cbr\u003e\u003cbr\u003eSignal Decoding Required: Outputs quadrature encoder signals (CLK\/DT). You must use a library or custom code to decode direction and pulse count—it does NOT output an analog value or absolute position directly.\u003cbr\u003e\u003cbr\u003eSoftware Debouncing Essential: Although basic hardware debouncing is included, mechanical encoders inherently have contact bounce. Implement a software debounce algorithm in your code for reliable readings.\u003cbr\u003e\u003cbr\u003eNo Memory Function: This is an incremental encoder. It does NOT retain position after power loss. You must implement pulse counting and storage in your code if position memory is needed.\u003cbr\u003e\u003c\/p\u003e\n\u003cp style=\"font-size:16px;font-weight:bold;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003e📋 Specifications\u003cbr\u003e\u003c\/p\u003e\n\u003cp style=\"font-size:13px;font-weight:normal;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003eModel: KY-040\u003cbr\u003e\u003cbr\u003eOperating Voltage: 5V DC\u003cbr\u003e\u003cbr\u003eResolution: 20 Pulses Per Revolution (20 PPR)\u003cbr\u003e\u003cbr\u003eRotation: 360°, Infinite\u003cbr\u003e\u003cbr\u003eBuilt-in Switch: Push Button (press the shaft)\u003cbr\u003e\u003cbr\u003eOutput Signals: CLK (Clock), DT (Data), SW (Switch)\u003cbr\u003e\u003cbr\u003eInterface: 5-pin (GND, +, SW, DT, CLK)\u003cbr\u003e\u003cbr\u003eModule Size: 31×19×29mm\u003c\/p\u003e\n\u003cp style=\"font-size:16px;font-weight:bold;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003e📦 Package Includes\u003c\/p\u003e\n\u003cp style=\"font-size:13px;font-weight:normal;text-align:left;color:rgb(67, 70, 73)\" class=\"word-break white-space mt-10\" align=\"left\"\u003e1 × KY-040 Rotary Encoder Module\u003cbr\u003e1 × Knob Cap\u003c\/p\u003e\n\u003cdiv\u003e\n\u003cimg style=\"width:100%;height:auto\" width=\"100%\" height=\"auto\" src=\"https:\/\/ae01.alicdn.com\/kf\/S09c877c5f64b4ca2bc02b65e523da4dcM.jpg\" slate-data-type=\"image\"\u003e\u003cimg style=\"width:100%;height:auto\" width=\"100%\" height=\"auto\" src=\"https:\/\/ae01.alicdn.com\/kf\/S43f2326c1dee4265975d5ec230f56e902.jpg\" slate-data-type=\"image\"\u003e\u003cimg style=\"width:100%;height:auto\" width=\"100%\" height=\"auto\" src=\"https:\/\/ae01.alicdn.com\/kf\/S54e8bbc6edd34bc499a9ce726426cbc37.jpg\" slate-data-type=\"image\"\u003e\u003cimg style=\"width:100%;height:auto\" width=\"100%\" height=\"auto\" src=\"https:\/\/ae01.alicdn.com\/kf\/S23743e6f93144428a5fcb587165e82c4x.jpg\" slate-data-type=\"image\"\u003e\u003cimg style=\"width:100%;height:auto\" width=\"100%\" height=\"auto\" src=\"https:\/\/ae01.alicdn.com\/kf\/S9f53b555264e46aaa168efc3546c6b98Y.jpg\" slate-data-type=\"image\"\u003e\u003cimg style=\"width:100%;height:auto\" width=\"100%\" height=\"auto\" src=\"https:\/\/ae01.alicdn.com\/kf\/Sea28456b0f534dfdb1e7af73a6714977A.jpg\" slate-data-type=\"image\"\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"Yoeruyo","offers":[{"title":"1pcs KY-040","offer_id":55421248667947,"sku":"14:1202#1pcs KY-040","price":13.77,"currency_code":"USD","in_stock":true},{"title":"5pcs KY-040","offer_id":55421248700715,"sku":"14:351074#5pcs KY-040","price":43.83,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1000\/5744\/8747\/files\/S8779376e39a04f4c81008b33afa120eeN.webp?v=1788512965","url":"https:\/\/yoeruyo.com\/products\/ky-040-rotary-encoder-module-with-push-button-20-pulse-revolution-5v-for-arduino-menu-control-volume-motor-position","provider":"Yoeruyo","version":"1.0","type":"link"}