{"product_id":"ky-040-rotary-encoder-module","title":"KY-040 Rotary Encoder Module with Push Button","description":"\u003cp\u003eAdd rotary and push-button control to your Arduino project with the \u003cstrong\u003eKY-040 rotary encoder module\u003c\/strong\u003e. Turn the shaft clockwise or anticlockwise to adjust values, and use the built-in button for a software-defined action such as selecting a menu item.\u003c\/p\u003e\r\n\u003ch3\u003eApplications\u003c\/h3\u003e\r\n\u003cul\u003e\r\n\u003cli\u003eMenu navigation and setting adjustments\u003c\/li\u003e\r\n\u003cli\u003eDigital counters and user controls\u003c\/li\u003e\r\n\u003cli\u003eArduino learning, robotics and DIY electronics projects\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\u003ch3\u003eFeatures\u003c\/h3\u003e\r\n\u003cul\u003e\r\n\u003cli\u003eIncremental rotation sensing in both directions\u003c\/li\u003e\r\n\u003cli\u003eContinuous rotation without a fixed end stop\u003c\/li\u003e\r\n\u003cli\u003eIntegrated momentary push button\u003c\/li\u003e\r\n\u003cli\u003eFive labelled connection pins and two PCB mounting holes\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\u003ch3\u003eTechnical specifications\u003c\/h3\u003e\r\n\u003cul\u003e\r\n\u003cli\u003eModel: KY-040\u003c\/li\u003e\r\n\u003cli\u003eProduct code: KY-040-NZ\u003c\/li\u003e\r\n\u003cli\u003eEncoder type: Incremental\u003c\/li\u003e\r\n\u003cli\u003eResolution: 20 cycles per revolution\u003c\/li\u003e\r\n\u003cli\u003eWorking voltage: 5V\u003c\/li\u003e\r\n\u003cli\u003eDimensions: Approximately 32 x 19 x 30mm\u003c\/li\u003e\r\n\u003cli\u003eModule weight: Approximately 10g\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\u003ch3\u003ePin connections\u003c\/h3\u003e\r\n\u003cul\u003e\r\n\u003cli\u003e\n\u003cstrong\u003eCLK:\u003c\/strong\u003e First rotation signal\u003c\/li\u003e\r\n\u003cli\u003e\n\u003cstrong\u003eDT:\u003c\/strong\u003e Second rotation signal; read with CLK to determine direction\u003c\/li\u003e\r\n\u003cli\u003e\n\u003cstrong\u003eSW:\u003c\/strong\u003e Push-button signal; connects to ground when pressed\u003c\/li\u003e\r\n\u003cli\u003e\n\u003cstrong\u003e+:\u003c\/strong\u003e Power supply\u003c\/li\u003e\r\n\u003cli\u003e\n\u003cstrong\u003eGND:\u003c\/strong\u003e Ground\u003c\/li\u003e\r\n\u003c\/ul\u003e\r\n\u003cp\u003eRequires a compatible microcontroller, connecting wires and suitable code. Button actions and counting behaviour are controlled by your program. Configure a pull-up for SW and debounce the inputs as needed.\u003c\/p\u003e\r\n\u003cp\u003e\u003cstrong\u003ePackage includes:\u003c\/strong\u003e 1 x KY-040 rotary encoder module. Microcontroller and connecting wires are supplied separately.\u003c\/p\u003e\r\n\u003cp\u003e\u003ca href=\"https:\/\/lastminuteengineers.com\/rotary-encoder-arduino-tutorial\/\" target=\"_blank\"\u003eArduino wiring and example-code guide\u003c\/a\u003e\u003c\/p\u003e","brand":"Techexpress NZ","offers":[{"title":"Default","offer_id":43322739425378,"sku":"KY-040-NZ","price":4.99,"currency_code":"NZD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1907\/5887\/files\/KY-040-NZ-03-shaft-detail-c97b6be04c_TTG3N2E1CDFM.png?v=1789096501","url":"https:\/\/www.techexpress.co.nz\/products\/ky-040-rotary-encoder-module","provider":"Techexpress NZ","version":"1.0","type":"link"}