{"product_id":"ky-040-rotary-encoder-module-hw-040","title":"KY-040 Rotary Encoder Module HW-040","description":"\u003cp\u003eThe KY-040 Rotary Encoder Module (HW-040) is a versatile input device for Arduino and microcontroller projects. It detects both clockwise and counter-clockwise rotation and includes a push-button switch when the knob is pressed. Perfect for menu navigation, volume control, and motor speed adjustment in DIY electronics projects.\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eModel: KY-040 \/ HW-040\u003c\/li\u003e\n\u003cli\u003eOperating Voltage: 3.3V – 5V\u003c\/li\u003e\n\u003cli\u003eOutput: Digital pulse (A, B channels) + SW (push button)\u003c\/li\u003e\n\u003cli\u003ePulses per Revolution: 20\u003c\/li\u003e\n\u003cli\u003ePins: CLK, DT, SW, VCC, GND\u003c\/li\u003e\n\u003cli\u003eCompatible with Arduino, Raspberry Pi, ESP32, STM32\u003c\/li\u003e\n\u003cli\u003eIncludes knurled aluminum knob cap\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Generic","offers":[{"title":"Default Title","offer_id":55821372358729,"sku":"KY-040-HW040","price":190.0,"currency_code":"PKR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0946\/9090\/2089\/files\/WhatsApp_Image_2026-07-16_at_8.51.19_PM.jpg?v=1784217385","url":"https:\/\/lahorestore.pk\/products\/ky-040-rotary-encoder-module-hw-040","provider":"Lahore Store","version":"1.0","type":"link"}