Arduino Rotary encoder KY-040

Hello world! This is a example on how to use the KY-040 Arduino Rotary encoder.
Its very basic but if you are new to arduino or could not find any code, then you have something to start with.
because there is little documentation about the Keyes sensor kit.

Arduino Rotary encoder

Parts list:
Arduino uno I used the RobotDyn Uno, a chinese copy with 8 analog pins.
Rotary encoder KY-040.
RGB Led KY-016 (don’t need this can use any leds).
Set of Jumper wires MM/FF/MF.


Danny van den Brande

Programmer, Game Designer, 3D Designer, Web Designer, Graphic Designer. Jup this website looks crappy.. :) But enjoy the projects! Everything you need is here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.