KY-040 Rotary Encoder
The advantage compared to a normal potentiometer is that the encoder can be turned endlessly in one direction. With a potentiometer, the end value is reached at some point. With this encoder module, it can also be distinguished whether it is turned left or right. In addition, the breakout board also has a button that is switched by pressing the encoder. This module is perfect for navigating menus, for example. It can also be used very well to control and move motors, similar to a handwheel on CNC machines. There is an Arduino library for reading the encoder, which you can find under "manage libraries" if you search for Encoder.
https://github.com/mathertel/RotaryEncoder
If you have any questions or problems with the control or suggestions for the product description, just write us an email or use the evaluation function. We are happy to help you.
Connections:
Module: => Arduino UNO:
CLK => Pin 5
DT =>Pin 6
SW Digital input (is ground upon actuation)
+ =>5V
GND =>GND
Technical Details
- Type: KY-040
- Operating voltage: 5V
- Resolution: 20 pulses per revolution
- Weight: 7g
Scope of delivery:
1x Encoder Module
KY-040 Rotary Encoder
- Brand: purecrea
- Product Code: 420154
- Availability: In Stock
-
CHF3,90
- Ex Tax: CHF3,61
Related Products
Tags: Encoder, Rotary encoder, Sensor, Analog, Breakout, Module, Display, Push button, Button