Introduction: Arduino - Rotary Encoder Simple Example KY-040
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.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Schematic Code & 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.