BasicsbeginnerArduino Uno
KY-040 Rotary Encoder
Read a KY-040 rotary encoder with an Arduino Uno. Turn the knob to move a counter (CLK/DT quadrature) and press the shaft (SW) to reset it. Open the Serial Monitor to watch the position.
What you'll simulate
- ✓Real Arduino Uno emulation — cycle-accurate, no hardware needed
- ✓1 interactive component on the canvas
- ✓Serial Monitor included — see output in real time