15PCS KY-040 Rotary Encoder Module Kit with Knob Caps – Arduino

15PCS KY-040 Rotary Encoder Module Kit with Knob Caps – Arduino

Default Title
Sale price  $60.08 USD Regular price  $74.59 USD
Skip to product information
15PCS KY-040 Rotary Encoder Module Kit with Knob Caps – Arduino

15PCS KY-040 Rotary Encoder Module Kit with Knob Caps – Arduino

Sale price  $60.08 USD Regular price  $74.59 USD
Default TitleDefault Title

15PCS KY-040 360° Rotary Encoder Module with Knob Cap Kit

Level up your Arduino and electronics DIY projects with this versatile KY-040 Rotary Encoder Module Kit. This pack of 15 modules gives you everything you need to add intuitive rotational input and switching functionality to your development boards, microcontroller projects, and electronic prototypes. Each module features a smooth 360° continuous rotation with a built-in push-button switch — perfect for menu navigation, volume control, motor speed adjustment, and more.

Key Features

  • 360° Full Rotation: Continuous rotary encoding with no mechanical stop — ideal for precise input control in any direction
  • Built-In Push Switch: Each encoder doubles as a clickable button, adding an extra input channel to your project
  • Plug-and-Play Design: 5-pin header for easy connection to Arduino, Raspberry Pi, STM32, and other popular development boards
  • Knob Caps Included: Comes with matching knob caps for a clean, professional finish on your builds
  • Quantity of 15: Great value multipack — stock up for multiple projects, classrooms, or maker workshops
  • SMD Package: Compact surface-mount design for neat, space-efficient circuit board integration
  • Wide Compatibility: Works seamlessly with Arduino IDE, standard encoder libraries, and virtually any 5V microcontroller platform
  • Condition: Brand new modules, tested and ready to use

Typical Use Cases

  • DIY volume or brightness control knobs
  • Menu navigation in LCD/OLED display projects
  • Motor speed and direction control
  • Custom game controllers and input devices
  • Educational electronics and STEM learning kits

Specifications

Model KY-040
Rotation 360° continuous
Output Digital pulse (A/B phase + SW)
Pins 5 (CLK, DT, SW, VCC, GND)
Operating Voltage 5V DC
Package Type SMD
Quantity 15 modules + knob caps
Condition New
Origin Made in China

Related Products You May Like

Learn more: OSHA guidance on hand and power tools

Frequently Asked Questions

Q: Is the KY-040 rotary encoder module compatible with Arduino Uno and Nano?

A: Yes! The KY-040 rotary encoder module is fully compatible with Arduino Uno, Nano, Mega, and most other Arduino boards. Simply connect CLK and DT to any digital pins and SW to another digital pin, then use a standard encoder library to read rotation and button presses in your sketch.

Q: What is the difference between the CLK, DT, and SW pins on the KY-040 module?

A: CLK (clock) and DT (data) are the two quadrature output signals used to determine the direction and steps of rotation. SW is the push-button switch output that goes LOW when the knob is pressed. VCC connects to 5V and GND to ground on your development board.

Q: Do the knob caps fit securely on the KY-040 encoder shaft?

A: Yes, the included knob caps are designed to fit the standard D-shaft of the KY-040 encoder, providing a firm and comfortable grip for user interaction in your DIY electronics projects.

Q: Can I use these modules with Raspberry Pi or STM32 boards?

A: Absolutely. The KY-040 rotary encoder module works with any 3.3V or 5V microcontroller platform, including Raspberry Pi, STM32, ESP32, and ESP8266, making it one of the most versatile input modules for electronic development projects.

You may also like