Shopping Cart

Your cart is empty.

Your cart is empty.

KY-040 Rotary Encoder Module 360 Degree Switch Encoders with Knob Cap Brick Sensor Modules (Pack of 6pcs)

Free shipping on orders over $29.99

$10.99

$ 4 .99 $4.99

In Stock

About this item

  • JTAREA KY-040 360 Degree Rotary Encoder Module with Knobs Cap.
  • STANDARD SPECIFICATION: Working voltage: 5V; One round number of pulse: 20.
  • EXCELLENT FEATURES: The rotary encoder can count the number of pulses output during forward and reverse rotation by rotating,and the number of rotations is not limited.
  • MULTIPURPOSE: The rotary encoder is a great device for stepper and servo motor control-you could also use it to control devices like digital potentiometers.
  • STURDY PACKAGING: 6Pcs rotary encoder comes in box-providing protection and easy storage.



Product Description

JT
rotary encoder with push button switch encoders module

KY-040 Rotary Encoder Module

-The rotary encoder can count the number of pulse output during rotation in the positive direction and reverse direction through the rotation and this rotation counts are not limited.

-With the key on the rotary encoder, you can reset to the initial state, that is, counting from 0.

rotary encoder with push button switch encoders module

Specification:

Product model: KY-040

Working voltage: 5V

One round number of pulse: 20

Diameter of knob cap: 14mm/0.55in

Height of knob cap: 18mm/ 0.70in

rotary encoder with push button switch encoders module

rotary encoder with push button switch encoders module

rotary encoder with push button switch encoders module


Customer
Reviewed in the United States on September 5, 2024
The KY-040 is a common rotary encoder. It is clicky, meaning discrete positions versus a smooth range like a potentiometer. It is also a relative encoder, so it cannot give you absolute position. The part from jsarea is robust and well made, though the supplied knobs do not fit very well. Fine with me, as I use them to encode mechanical angles not as knobs anyway. For the software side, be sure to ignore 99% of the examples out there that use this device, as they not only waste CPU cycles but they bounce a lot and miss position changes, especially when your loop is doing anything else as it throws the timing off. Use interrupt driven code (the pins are called CLOCK and DATA for a reason—when the CLK pin rises, simply read the DT pin for direction. Tie CLK to an interruptible GPIO pin and add some simple debouncing to the interrupt handler, and you’ve got rock solid performance. For an example, look for the bestov.io blog.
Spencer
Reviewed in the United States on July 29, 2024
Encoders are fun for making a knob control a project, or these could be useful to replace a broken knob on a 3d printer for example. They come with the caps to put on the encoders, and so far have worked fine. No complaints here