{"product_id":"ky-040-rotary-encoder-module-360-degree-push-button-20-pulse-5v","title":"KY-040 Rotary Encoder Module 360° Push Button 20 Pulse 5V","description":"\n\u003ch2\u003eKY-040 360° Rotary Encoder Module with Push Button — 20 Pulse, 5V\u003c\/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eKY-040 Rotary Encoder Module\u003c\/strong\u003e is a compact, versatile input component ideal for DIY electronics projects, Arduino builds, and maker workbenches. Featuring full 360-degree rotation with 20 pulses per revolution and a built-in push button, this module gives you precise incremental control in a small, easy-to-wire package.\u003c\/p\u003e\n\n\u003ch3\u003eKey Features\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003e360° Continuous Rotation:\u003c\/strong\u003e Smooth, full-rotation encoding with no end-stop — ideal for menus, volume controls, and position tracking.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e20 Pulses Per Revolution:\u003c\/strong\u003e Provides reliable incremental steps for accurate input detection.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrated Push Button:\u003c\/strong\u003e Press the shaft to reset the count to zero or trigger a secondary action — no extra component needed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e5V Compatible:\u003c\/strong\u003e Works directly with Arduino, Raspberry Pi, and other 5V microcontroller platforms.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCompact Form Factor:\u003c\/strong\u003e Measures approximately 31 × 19 × 29 mm (1.22\" × 0.75\" × 1.14\") — fits easily on a breadboard or inside an enclosure.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePCB-Mounted:\u003c\/strong\u003e Built on a quality PCB with standard through-hole pin headers for simple plug-in wiring.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e3 Color Options:\u003c\/strong\u003e Choose the finish that suits your project aesthetic.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eModel\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eKY-040\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eOperating Voltage\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePulses Per Revolution\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e20\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eRotation\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e360° (full, continuous)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003ePush Button\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eYes (resets counter to 0)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eDimensions\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e~31 × 19 × 29 mm \/ 1.22\" × 0.75\" × 1.14\"\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003e\u003cstrong\u003eConstruction\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eElectronic components on PCB\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003ePerfect For\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eArduino \u0026amp; Raspberry Pi projects\u003c\/li\u003e\n  \u003cli\u003eDIY audio volume controls\u003c\/li\u003e\n  \u003cli\u003eMenu navigation in embedded systems\u003c\/li\u003e\n  \u003cli\u003eMotor speed or position tuning\u003c\/li\u003e\n  \u003cli\u003eCNC and robotics builds\u003c\/li\u003e\n  \u003cli\u003eMaker and electronics hobbyist prototyping\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eFor guidance on safe handling of electronic components and DIY electronics projects, visit the U.S. Consumer Product Safety Commission (CPSC).\u003c\/p\u003e\n\n\u003ch3\u003eFrequently Asked Questions\u003c\/h3\u003e\n\u003ch4\u003eQ: What does the KY-040 rotary encoder module do?\u003c\/h4\u003e\n\u003cp\u003eA: The KY-040 rotary encoder module converts rotational movement into digital pulses, outputting 20 incremental signals per full 360° turn. It also features a built-in push button that, when pressed, can reset the count back to zero or trigger a secondary function in your code — making it ideal for navigation, tuning, and control interfaces in DIY electronics projects.\u003c\/p\u003e\n\n\u003ch4\u003eQ: Is the KY-040 module compatible with Arduino and Raspberry Pi?\u003c\/h4\u003e\n\u003cp\u003eA: Yes. The KY-040 operates at 5V DC, making it directly compatible with Arduino boards, Raspberry Pi (with appropriate resistors or logic-level handling), and most other common 5V microcontroller development platforms. It uses a standard 5-pin interface (GND, +, SW, DT, CLK) that connects easily via breadboard or jumper wires.\u003c\/p\u003e\n\n\u003ch4\u003eQ: What is the KY-040 module made of and how big is it?\u003c\/h4\u003e\n\u003cp\u003eA: The module is constructed from quality electronic components mounted on a PCB (printed circuit board). It measures approximately 31 × 19 × 29 mm (1.22\" × 0.75\" × 1.14\"), making it a very compact addition to any electronics project or enclosure.\u003c\/p\u003e\n\n\u003ch4\u003eQ: How many pulses per revolution does the KY-040 encoder produce?\u003c\/h4\u003e\n\u003cp\u003eA: The KY-040 produces 20 pulses per full revolution, meaning each detent or step represents 1\/20th of a complete rotation. This gives you consistent, repeatable incremental input — perfect for menu selection, value adjustment, or position sensing.\u003c\/p\u003e\n\n\u003cscript type=\"application\/ld+json\"\u003e{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"What does the KY-040 rotary encoder module do?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The KY-040 rotary encoder module converts rotational movement into digital pulses, outputting 20 incremental signals per full 360° turn. It also features a built-in push button that, when pressed, can reset the count back to zero or trigger a secondary function in your code — making it ideal for navigation, tuning, and control interfaces in DIY electronics projects.\"}}, {\"@type\": \"Question\", \"name\": \"Is the KY-040 module compatible with Arduino and Raspberry Pi?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes. The KY-040 operates at 5V DC, making it directly compatible with Arduino boards, Raspberry Pi (with appropriate resistors or logic-level handling), and most other common 5V microcontroller development platforms. It uses a standard 5-pin interface (GND, +, SW, DT, CLK) that connects easily via breadboard or jumper wires.\"}}, {\"@type\": \"Question\", \"name\": \"What is the KY-040 module made of and how big is it?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The module is constructed from quality electronic components mounted on a PCB (printed circuit board). It measures approximately 31 × 19 × 29 mm (1.22\\\" × 0.75\\\" × 1.14\\\"), making it a very compact addition to any electronics project or enclosure.\"}}, {\"@type\": \"Question\", \"name\": \"How many pulses per revolution does the KY-040 encoder produce?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The KY-040 produces 20 pulses per full revolution, meaning each detent or step represents 1\/20th of a complete rotation. This gives you consistent, repeatable incremental input — perfect for menu selection, value adjustment, or position sensing.\"}}]}\u003c\/script\u003e\n\u003cscript type=\"application\/ld+json\"\u003e{\"@context\": \"https:\/\/schema.org\", \"@type\": \"BreadcrumbList\", \"itemListElement\": [{\"@type\": \"ListItem\", \"position\": 1, \"name\": \"Home\", \"item\": \"https:\/\/vpggdm-rp.myshopify.com\/\"}, {\"@type\": \"ListItem\", \"position\": 2, \"name\": \"Craft \u0026 DIY Supplies\", \"item\": \"https:\/\/vpggdm-rp.myshopify.com\/collections\/craft-diy-supplies\"}, {\"@type\": \"ListItem\", \"position\": 3, \"name\": \"KY-040 Rotary Encoder Module 360° Push Button 20 Pulse 5V\", \"item\": \"https:\/\/vpggdm-rp.myshopify.com\/products\/ky-040-rotary-encoder-module-360-degree-push-button-20-pulse-5v\"}]}\u003c\/script\u003e","brand":"Qme","offers":[{"title":"3Sets","offer_id":49621905342678,"sku":"14:29#3Sets","price":15.53,"currency_code":"USD","in_stock":true},{"title":"2Sets","offer_id":49621905375446,"sku":"14:691#2Sets","price":12.88,"currency_code":"USD","in_stock":true},{"title":"1Set","offer_id":49621905408214,"sku":"14:10#1Set","price":10.74,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0827\/5243\/8486\/files\/S209886ae520740ee882a72525167b833Y.webp?v=1785073956","url":"https:\/\/qmeboost.com\/products\/ky-040-rotary-encoder-module-360-degree-push-button-20-pulse-5v","provider":"Qme","version":"1.0","type":"link"}