Hello world! This is a example on how to use the KY-040 Rotary encoder.
Its very basic but if your 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.
Follow the next step for the Code Schematic and Parts List.
Step 1: Parts List.Parts List.
- Arduino uno I used the RobotDyn Uno, a chinese copy with 7 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.
Good luck!
Comments