{"product_id":"ky-040-rotary-encoder-module-knob-cap-5v-arduino-r3","title":"KY-040 Rotary Encoder Module with Knob Cap 5V – 1 to 8 PCS","description":"\u003ch2\u003eKY-040 360° Rotary Encoder Module with Knob Cap\u003c\/h2\u003e\n\u003cp\u003eLevel up your electronics projects with the \u003cstrong\u003eKY-040 Rotary Encoder Module\u003c\/strong\u003e — a versatile, 5V-compatible sensor switch module perfect for makers, hobbyists, and engineers. Available in packs of 1 to 8 pieces, this module provides smooth 360-degree rotary input and a tactile push-button click, making it ideal for menu navigation, volume control, motor speed adjustment, and more on your development board builds.\u003c\/p\u003e\n\n\u003cp\u003eMade in Mainland China.\u003c\/p\u003e\n\n\u003ch3\u003eKey Features\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFull 360° Rotation:\u003c\/strong\u003e Continuous rotary input with no mechanical stop — perfect for infinite scroll and dial-style controls\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003e5V Compatible:\u003c\/strong\u003e Works seamlessly with Arduino R3, Raspberry Pi, and other common development boards\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilt-in Push Button:\u003c\/strong\u003e Integrated switch activates on knob press for multi-function control\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKnob Cap Included:\u003c\/strong\u003e Ergonomic knob cap included for comfortable and precise hand operation\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEasy Plug-and-Play Wiring:\u003c\/strong\u003e Standard 5-pin header makes wiring and prototyping fast and straightforward\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFlexible Pack Sizes:\u003c\/strong\u003e Choose from 1 to 8 modules to suit your project scale or stock your parts drawer\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBreadboard \u0026amp; PCB Friendly:\u003c\/strong\u003e Compact SMD design fits cleanly into development setups\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSpecifications\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eModule Type:\u003c\/strong\u003e KY-040 Rotary Encoder\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOperating Voltage:\u003c\/strong\u003e 5V DC\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRotation:\u003c\/strong\u003e 360° continuous (no end stop)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput:\u003c\/strong\u003e Digital pulse (A, B channels) + push-button (SW)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePackage:\u003c\/strong\u003e SMD\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCondition:\u003c\/strong\u003e New\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCountry of Origin:\u003c\/strong\u003e Mainland China\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eCompatible With\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eArduino Uno R3 \/ Mega \/ Nano\u003c\/li\u003e\n  \u003cli\u003eRaspberry Pi (all models)\u003c\/li\u003e\n  \u003cli\u003eESP8266 \/ ESP32 boards\u003c\/li\u003e\n  \u003cli\u003eSTM32 and other microcontroller development boards\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWhat's in the Box?\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eKY-040 Rotary Encoder Module(s) — quantity as selected (1–8 PCS)\u003c\/li\u003e\n  \u003cli\u003eKnob cap(s) included\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eRelated Products You May Like\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/electromagnetic-induction-tester-coil-motherboard-fault-detector\"\u003eElectromagnetic Induction Tester – Coil \u0026amp; Circuit Fault Detector\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/air-compressor-pressure-gauge-0-10-0-12-0-25-bar-hydraulic-diy\"\u003eAir Compressor Pressure Gauge 0-10\/0-12\/0-25 Bar | DIY Tool\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eLearn more: \u003ca href=\"https:\/\/www.osha.gov\/hand-power-tools\" target=\"_blank\" rel=\"noopener\"\u003eOSHA guidance on hand and power tools\u003c\/a\u003e\u003c\/p\u003e\n\u003ch3\u003eFrequently Asked Questions\u003c\/h3\u003e\n\u003ch4\u003eQ: Is the KY-040 rotary encoder module compatible with Arduino R3 boards?\u003c\/h4\u003e\n\u003cp\u003eA: Yes! The KY-040 rotary encoder module is fully compatible with Arduino Uno R3 boards as well as other popular platforms including Arduino Mega, Nano, Raspberry Pi, ESP8266, ESP32, and most 5V microcontroller development boards. Simply connect the CLK, DT, SW, VCC (+), and GND pins and you're ready to code.\u003c\/p\u003e\n\u003ch4\u003eQ: What is the difference between a rotary encoder and a potentiometer?\u003c\/h4\u003e\n\u003cp\u003eA: Unlike a potentiometer, which has a fixed start and end point, the KY-040 rotary encoder rotates a full 360° continuously with no mechanical stop. It outputs digital pulses on two channels (A and B) to detect direction and speed, making it far more suitable for user-interface controls like menu navigation, parameter adjustment, and motor speed setting in your DIY electronics projects.\u003c\/p\u003e\n\u003ch4\u003eQ: How many modules do I receive, and do they all come with knob caps?\u003c\/h4\u003e\n\u003cp\u003eA: You can select a pack of 1 to 8 KY-040 rotary encoder modules. Each module in your selected pack comes with its own knob cap included, so you have everything you need to get started right away.\u003c\/p\u003e\n\u003cscript type=\"application\/ld+json\"\u003e{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Is the KY-040 rotary encoder module compatible with Arduino R3 boards?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes! The KY-040 rotary encoder module is fully compatible with Arduino Uno R3 boards as well as other popular platforms including Arduino Mega, Nano, Raspberry Pi, ESP8266, ESP32, and most 5V microcontroller development boards. Simply connect the CLK, DT, SW, VCC (+), and GND pins and you're ready to code.\"}}, {\"@type\": \"Question\", \"name\": \"What is the difference between a rotary encoder and a potentiometer?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Unlike a potentiometer, which has a fixed start and end point, the KY-040 rotary encoder rotates a full 360° continuously with no mechanical stop. It outputs digital pulses on two channels (A and B) to detect direction and speed, making it far more suitable for user-interface controls like menu navigation, parameter adjustment, and motor speed setting in your DIY electronics projects.\"}}, {\"@type\": \"Question\", \"name\": \"How many modules do I receive, and do they all come with knob caps?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"You can select a pack of 1 to 8 KY-040 rotary encoder modules. Each module in your selected pack comes with its own knob cap included, so you have everything you need to get started right away.\"}}]}\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:\/\/n8ande-60.myshopify.com\/\"}, {\"@type\": \"ListItem\", \"position\": 2, \"name\": \"Home page\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/collections\/frontpage\"}, {\"@type\": \"ListItem\", \"position\": 3, \"name\": \"KY-040 Rotary Encoder Module with Knob Cap 5V – 1 to 8 PCS\", \"item\": \"https:\/\/n8ande-60.myshopify.com\/products\/ky-040-rotary-encoder-module-knob-cap-5v-arduino-r3\"}]}\u003c\/script\u003e","brand":"Axl","offers":[{"title":"6 PCS","offer_id":44165983600727,"sku":"14:193#6 PCS","price":19.77,"currency_code":"USD","in_stock":true},{"title":"5 PCS","offer_id":44165983633495,"sku":"14:366#5 PCS","price":17.23,"currency_code":"USD","in_stock":true},{"title":"8 PCS","offer_id":44165983666263,"sku":"14:173#8 PCS","price":23.21,"currency_code":"USD","in_stock":true},{"title":"7 PCS","offer_id":44165983699031,"sku":"14:175#7 PCS","price":21.92,"currency_code":"USD","in_stock":true},{"title":"2 PCS","offer_id":44165983731799,"sku":"14:771#2 PCS","price":10.17,"currency_code":"USD","in_stock":true},{"title":"1 PCS","offer_id":44165983764567,"sku":"14:1254#1 PCS","price":8.09,"currency_code":"USD","in_stock":true},{"title":"4 PCS","offer_id":44165983797335,"sku":"14:496#4 PCS","price":14.72,"currency_code":"USD","in_stock":true},{"title":"3 PCS","offer_id":44165983830103,"sku":"14:1052#3 PCS","price":12.33,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/6008\/7383\/files\/S368d80cfa990413bb457e04c70dadfbb6.webp?v=1786728613","url":"https:\/\/axlcustomersupport.com\/products\/ky-040-rotary-encoder-module-knob-cap-5v-arduino-r3","provider":"Axl","version":"1.0","type":"link"}