Projek yang menggunakan komponen ini

ESP32 Smart Lamp with Rotary Encoder Menu (KY-040 + OLED + NeoPixel Ring)
One knob, five settings! Turn the KY-040 rotary encoder to scroll the menu on the 0.96 inch OLED, press it to edit the color, brightness, effect, sleep timer or warm-cool white. The 24-LED NeoPixel ring shows every change instantly. Settings live in the ESP32 flash, so after a power cut the lamp comes back exactly as you left it. Interrupt-based encoder reading and a menu UI in one project.

Raspberry Pi Pico Timelapse Camera Slider (NEMA 17 + A4988 + KY-040 + OLED)
Build your own slider for cinematic sliding shots! The Raspberry Pi Pico turns a NEMA 17 stepper very slowly and smoothly through an A4988 driver, and the carriage carries a phone or camera along a rail. With a KY-040 encoder you pick the mode, distance, time, direction and frame count from a menu. In VIDEO mode the carriage eases in and out; in TIMELAPSE mode it stops at every frame and waits for the shake to settle. The OLED shows progress and time left.

Arduino Countdown Socket Timer (KY-040 Rotary Encoder + I2C LCD + Relay)
Pick a time, press, and let the timer do the rest! The KY-040 rotary encoder sets anything from 5 seconds to 12 hours, and turning fast jumps in 10-minute steps. The relay has three modes: off when time is up, on when time is up, or an on/off cycle. The I2C LCD shows the time left, beeps warn you in the last seconds, the last setting is kept in EEPROM and the relay always starts safely off after a power cut.

ESP32 Hangman Game (OLED + KY-040 Rotary Encoder + Buzzer)
The classic notebook game hangman on an ESP32 and a 0.96 inch OLED! Turning the KY-040 rotary encoder slides the alphabet strip, pressing it guesses the selected letter. A correct letter flies into place and the green LED lights up; a wrong one adds a piece to the gallows while the red LED and the buzzer complain. Turkish and English words, three categories, a best streak and a two-player mode.

Arduino 8-Step Drum Machine (74HC595 + 8 LEDs + KY-040 Encoder)
An 80s drum machine on your desk! The 8-step loop has three tracks: KICK, SNARE and HAT. Eight LEDs driven by a 74HC595 show the selected track, with a playhead running across them. Turn the KY-040 encoder to pick a step and press it to add a hit; a potentiometer sets the tempo from 60 to 180 BPM. One buzzer plays all three drum sounds, and there are presets, swing and EEPROM saving too.

Raspberry Pi Pico Number Puzzle: Crack the 4-Digit Code (KY-040 + TM1637 + 2 LEDs + Buzzer)
The Pico picks a secret 4-digit number with no repeated digits, and you have to find it. Turn the KY-040 knob to pick a digit and press to move on; the TM1637 display answers with a clue like "+2 −1": 2 digits in the right place, 1 digit in the number but in the wrong place. A green and a red LED blink out the plus and the minus while the buzzer plays along. You get 10 tries, and with puzzle numbers P 01–P 99 you can race a friend on the same number.

A Menu That Never Skips: Rotary Encoder with Interrupts (Arduino + KY-040 + I2C LCD)
Both pins of the KY-040 rotary encoder are read with interrupts, and you build a turn-and-press settings menu on an I2C LCD: brightness, volume and timer. Even with a slow 50 ms job in the loop, not a single step is lost. In the Step test, spin the encoder fast: in the video the interrupt counted 50 steps, the loop only 10. Covers direction decoding with a state table and debouncing.

Enigma Cipher Machine: 3-Rotor Encryption (Arduino + KY-040 + I2C LCD)
Pick a letter with the KY-040 encoder and press: the encrypted letter appears on the I2C LCD and three rotors move one step, so the same letter turns into a different one on every press. Type the ciphertext again with the same key and the plain text returns: in the video, with key AAA, UNO became ZQN, and typing ZQN gave UNO again. Rotor tables, the double step, the reflector and a self test that runs 26 keys at power-up are in this project.

